1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BUG 3DTAB crops to 25% instead of 50% height

Discussion in 'Bug Reports' started by Robin Koehler, 19 September 2020.

  1. Robin Koehler

    Robin Koehler New Member

    Messages:
    10
    Hi team,

    Just installed Hyperion NG today, what an improvement from the old version! Thank you for your great work and for sharing it so generously.

    I am running alpha 7 on a Pi4 with UTV007 USB capture.

    When selecting the 3DTAB option for over/under 3D input, the output image gets cropped to 25% height (a quarter of the original input) instead of 50% for the full "top" part of the 3D image.

    Manually setting a crop bottom value in the 240 range for the 480p input produces the desired result.

    Best wishes,

    Robin
     
  2. Robin Koehler

    Robin Koehler New Member

    Messages:
    10
    Just as a follow-up: would it be as easy as changing this one line in the ImageResampler.cpp?

    Original:

    libsrc/utils/ImageResampler.cpp
    51 case VideoMode::VIDEO_3DSBS:
    52 cropRight = width >> 1;
    53 break;
    54 case VideoMode::VIDEO_3DTAB:
    55 cropBottom = width >> 1;
    56 break;

    Line 55 changed:

    libsrc/utils/ImageResampler.cpp
    51 case VideoMode::VIDEO_3DSBS:
    52 cropRight = width >> 1;
    53 break;
    54 case VideoMode::VIDEO_3DTAB:
    55 cropBottom = height >> 1;
    56 break;

    Sorry if this is dumb, I'm a noob with all this. Tried to find the ImageResampler.cpp file to test and change myself, but have been unsuccessful in locating it.
     
  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266