Freescale / libimxvpuapi

i.MX VPU API Library
GNU Lesser General Public License v2.1
88 stars 54 forks source link

imxvpuapi/imxvpuapi_vpulib.c: Output AUD NALs manually #8

Closed willnewton closed 8 years ago

willnewton commented 8 years ago

The hardware generation of AUD NAL units used previously causes incorrect sequences to be output, for example:

SPS PPS AUD VCL AUD VCL AUD VCL ...

Rather than:

AUD SPS PPS VCL AUD VCL AUD VCL ...

This patch generates the simple AUD NAL units in software and ensures that the sequence output is correct.

Signed-off-by: Will Newton will.newton@gmail.com