Hello.
Please help me about the vaidity of the Jetson MM API sample software result.
My environment is below.
HW: Jetson Xavier NX
OS: Jetpack 4.6
I’m trying to video convert from NV12 to ABGR32 using “jetson_multimedia_api/samples/07_video_convert”.
The output is different from what I expected.
Below are the executed commands, input, expected and actual output values.
[bt601 limited -> BGRA]
- command: ./video_convert ./128.raw 1920 1080 NV12 ./output/128_601lim_BGRA.raw 1920 1080 ABGR32
- input: bt601 limited(Y=128, U=128, V=128)
- actually output: BGRA(B=142, G=142, R=142)
- expected output: BGRA(B=130, G=130, R=130)
[bt601 full -> BGRA]
- command: ./video_convert ./16.raw 1920 1080 NV12_ER ./output/16_601full_BGRA.raw 1920 1080 ABGR32
- input: bt601 full(Y=16, U=128, V=128)
- actually output: BGRA(B=0, G=0, R=0)
- expected output: BGRA(B=16, G=16, R=16)
- command: ./video_convert ./128.raw 1920 1080 NV12_ER ./output/128_601full_BGRA.raw 1920 1080 ABGR32
- input: bt601 full(Y=128, U=128, V=128)
- actually output: BGRA(B=142, G=142, R=142)
- expected output: BGRA(B=128, G=128, R=128)
- command: ./video_convert ./235.raw 1920 1080 NV12_ER ./output/235_601full_BGRA.raw 1920 1080 ABGR32
- input: bt601 full(Y=235, U=128, V=128)
- actually output: BGRA(B=255, G=255, R=255)
- expected output: BGRA(B=235, G=235, R=235)
[bt709 limited -> BGRA]
- command: ./video_convert ./128.raw 1920 1080 NV12_709 ./output/128_709lim_BGRA.raw 1920 1080 ABGR32
- input: bt709 limited(Y=128, U=128, V=128)
- actually output: BGRA(B=142, G=142, R=142)
- expected output: BGRA(B=130, G=130, R=130)
[bt709 full -> BGRA]
- command: ./video_convert ./16.raw 1920 1080 NV12_709_ER ./output/16_709full_BGRA.raw 1920 1080 ABGR32
- input: bt709 full(Y=16, U=128, V=128)
- actually output: BGRA(B=31, G=31, R=31)
- expected output: BGRA(B=16, G=16, R=16)
- command: ./video_convert ./128.raw 1920 1080 NV12_709_ER ./output/128_709full_BGRA.raw 1920 1080 ABGR32
- input: bt709 full(Y=128, U=128, V=128)
- actually output: BGRA(B=140, G=140, R=140)
- expected output: BGRA(B=128, G=128, R=128)
- command: ./video_convert ./235.raw 1920 1080 NV12_709_ER ./output/235_709full_BGRA.raw 1920 1080 ABGR32
- input: bt709 full(Y=235, U=128, V=128)
- actually output: BGRA(B=238, G=238, R=238)
- expected output: BGRA(B=235, G=235, R=235)