rockchip-linux / mpp

Media Process Platform (MPP) module
466 stars 155 forks source link

MPP进行h264解码时,如何强行设置hor_stide进行64位对齐 #609

Open feng9201 opened 1 month ago

feng9201 commented 1 month ago
       场景:[Mpp decode] ->[ mppframe.fd==>eglImageKHR==>opengl texture ]->[ opengl render ]

当Mpp解码CIF格式(352*288)的h264流时,输出的hor_stride是352,导致在进行转换eglImageKHR时会报错,原因是未进行64位对齐。 尝试使用过 MPP_DEC_SET_FRAME_INFO信令,发现设置不上。