I'm using L3.0.35_4.1.0_130816 bsp(i.mx6q), vpu document say that the H264 encoder accepts YUV 4:2:2 image, but I don't know how to configure the parameters, EncMjpgParam.Mjpg_sourceFormat specifies the input format for JPEG encoder, but for H264 encoder,which parameters should i use?
The reason why i want to use 4:2:2 format is that the low price usb camera support MJPEG format at 30fps, i decide to decode MJPEG first and get YUV422, and send to h264 encoder.
thanks in advance
which vpu document says that vpu only supports yuv422 for h264 encoding?
could you share with me? let me check it.
NOT "only supports yuv422 for h264 encoding?"
page 72:
"Before running a picture encoder operation, the host application should provide a 4:2:0 or 4:2:2 vertical formatted input YUV image with a pre-defined size for H.263, MPEG-4 and H.264"
"Source format-The VPU supports 4:2:2 vertical format source image. The source image is converted to 4:2:0 format
automatically"