Our product currently uses an i.MX27 and I take advantage of the H.264 slicereport generated by the VPU. We are now moving to an i.MX6 and I see from the VPU API manual for the i.MX6 that slicereport is no longer supported. Can the VPU on the i.MX6 provide this map in another way or do I now have to parse the resulting bitstream manually to produce a map?
已解决! 转到解答。
Nevermind, found it. The slice report is available on the i.MX6 but is enabled and reported differently.
For i.MX27:
Enabled: using vpu_EncOpen() by setting sliceReport in EncOpenParam struct
Reported: by vpu_EncGetOutputInfo() in pSliceInfo in EncOutputInfo struct
For i.MX6
Enabled: by sending ENC_SET_REPORT_SLICEINFO command
Reported: by vpu_EncGetOutputInfo() in sliceInfo in EncOutputInfo struct
Nevermind, found it. The slice report is available on the i.MX6 but is enabled and reported differently.
For i.MX27:
Enabled: using vpu_EncOpen() by setting sliceReport in EncOpenParam struct
Reported: by vpu_EncGetOutputInfo() in pSliceInfo in EncOutputInfo struct
For i.MX6
Enabled: by sending ENC_SET_REPORT_SLICEINFO command
Reported: by vpu_EncGetOutputInfo() in sliceInfo in EncOutputInfo struct