Hi Igor,
Thanks for your support.
I tried out the VPU H.264 unit test. I am seeing ~30fps for encoding 1920*1080 frame. But for decoding it is showing fps as ~6fps. It takes about 162ms for decoding a single frame. That is way too slow. What could be the issue?
root@imx6qsabreauto:/unit_tests# ./mxc_vpu_test.out -E "-i /home/root/converted.yuv -f 2 -a 25 -o te...
[INFO] VPU test program built on Jun 19 2017 11:13:06
[INFO] Product Info: i.MX6Q/D/S
[INFO] VPU firmware version: 3.1.1_r46072
[INFO] VPU library version: 5.4.35
[INFO] Format: STD_AVC
[INFO] AVC
[INFO] Input file "/home/root/converted.yuv" opened.
[INFO] Output file "test1.h264" opened.
[INFO] Capture/Encode fps will be 25
[INFO] ringBufferEnable 0, chromaInterleave 1, mapType 0, linear2TiledEnable 0
[INFO] Finished encoding: 1 frames
[INFO] enc fps = 44.92
[INFO] total fps= 30.77
root@imx6qsabreauto:/unit_tests# ./mxc_vpu_test.out -D "-i test1.h264 -f 2 -a 25 -o test1.yuv -w 1920 -h 1080"
[INFO] VPU test program built on Jun 19 2017 11:13:06
[INFO] Product Info: i.MX6Q/D/S
[INFO] VPU firmware version: 3.1.1_r46072
[INFO] VPU library version: 5.4.35
[INFO] Format: STD_AVC
[INFO] AVC
[INFO] Input file "test1.h264" opened.
[INFO] Output file "test1.yuv" opened.
[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
[INFO] H.264 Profile: 66 Level: 40 Interlace: 0
[INFO] sar_width: 65535, sar_height: 65535
[INFO] Decoder: width = 1920, height = 1088, frameRateRes = 4294967295, frameRateDiv = 4294967295, count = 3
[INFO] CROP left/top/right/bottom 0 0 1920 1080
[INFO]
1 frames took 162439 microseconds[INFO] dec fps = 64.28
[INFO]
total fps= 6.16
Thanks & Regards
Anoop