i.MX6 VPU: slicereport

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6 VPU: slicereport

Jump to solution
1,085 Views
donfreiling
Contributor III

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?

Labels (2)
Tags (1)
0 Kudos
1 Solution
680 Views
donfreiling
Contributor III

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

View solution in original post

0 Kudos
1 Reply
681 Views
donfreiling
Contributor III

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

0 Kudos