imx vpu wrapper VpuEncOpenParam

cancel
Showing results for 
Search instead for 
Did you mean: 

imx vpu wrapper VpuEncOpenParam

138 Views
TDKamil
Contributor II

in VpuEncOpenParam structure there are new fields:

int nFullRange;
int nColorConversionType;
int nStreamSliceCount;

However I cannot find any information about how to use this.
Is there any documentation available?
0 Kudos
3 Replies

107 Views
TDKamil
Contributor II

Thank you. Whats the difference between 

vpu_wrapper_hantro_VCencoder.c and
vpu_wrapper_hantro_encoder.c
?
Which one should be used for imx8m mini application?
0 Kudos

117 Views
TDKamil
Contributor II

My kernel is 5.4.24 (from SOMLabs, NXP partner) and I still cannot find those fields  (nFullRange, nColorConversionType, nStreamSliceCount) in any documentation.
However when i migrated from 4.14.98 (8mminilpd4-evk) to the 5.4.24 (VisionSOM-8Mmini) with same settings of VPU wrapper (recompiled with proper SDK) the output from video encoder seems broken. It was working perfectly on old kernel. I still can grab video but it seems like there are some changes with VPU wrapper or h264 encoder.

Regards

0 Kudos

126 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello TDKamil,

 

You can find all the VPU parameter in the iMX_VPU application Programing document in your yocto documents folder. You can download the documents from:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Regards

 

0 Kudos