|
3588进行h.264解码,码流图像是1024*768 ,解码后图像格式是YUV420sp,输出帧的buf申请空间是1920*1200大小。希望mpp解码后的1024*768图像能按hor_stride=1920换行来放置。但实际上MPP解码函数总是连续放置像素,即1024像素后,不换行,继续在同行的1025,1026等连续放置。 我的解码器帧MPPFrame的参数设置是:width=1024 ; heigth=768; hor_stride=1920; ver_stride=1200 .但hor_stride参数似乎不起作用。 解码器总按图像的大小连续在buf内放置。
1)MPP能实现hor_stride,ver_stride二维排列放置像素吗?
2)怎么设置解码器的width, heigth, hor_stride,ver_stride参数或其它参数能做到上面功能?
|
|