Hello,
I try the h264 "Low Latency API" get to work.
For this I use the apps from the directories of codecs DVSDK 4.00.00.22.
I've changed here from the following default parameters.
SliceSize = 2
outputDataMode = 0
sliceFormat = 1
In TestAppDecoder_ih264_arm926.c has been changed:
params.inputDataMode = IH264VDEC_TI_SLICEMODE;
The application h264venc-r now encoded in individual slices. But when I use the file created with h264vdec-r I get the following:
Starting Decode on ARM968...
FRAME LEVEL DECODE TIME = 57631, C 57631, A 57631.000000, M 57631
Error code [Control Frame] 224
bytesConsumed returned incorrect value
returned value = 3580, consumed value = 2387
Error code [Decoded Frame 1] 224 Erroneous Mbs in curr frame: 373
FRAME LEVEL DECODE TIME = 2686, C 60317, A 30158.500000, M 57631
Error code [Control Frame] 2216
bytesConsumed returned incorrect value
returned value = 2613, consumed value = 1193
Error code [Decoded Frame 2] 2216 Erroneous Mbs in curr frame: 396
Luma data doesnot match
-------------- SUMMARY --------------------
End Input file /tmp/colorful_toys_cif_5frms_420p.264
Compliance test FAIL.
Total number of Frames = 2
Bit Rate at 30 frames/Sec = 1976 Kbps
Width and Height = 352, 288
-------------- END --------------------
I have tested various parameters but without success.
What must be configured so that the decoder works?