i.MX6 VPU: slicereport

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6 VPU: slicereport

跳至解决方案
1,087 次查看
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?

标签 (2)
标记 (1)
0 项奖励
1 解答
682 次查看
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 项奖励
1 回复
683 次查看
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 项奖励