mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[mpi_enc_util]: Add uv swap stride support
Change-Id: I6650d737e61beb91ad31f8979c5fdafe52156102 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -43,7 +43,8 @@ RK_S32 mpi_enc_width_default_stride(RK_S32 width, MppFrameFormat fmt)
|
||||
stride = MPP_ALIGN(width, 16);
|
||||
} break;
|
||||
case MPP_FMT_YUV422P:
|
||||
case MPP_FMT_YUV422SP: {
|
||||
case MPP_FMT_YUV422SP:
|
||||
case MPP_FMT_YUV422SP_VU: {
|
||||
/* NOTE: 422 need to align to 8 so chroma can align to 16 */
|
||||
stride = MPP_ALIGN(width, 8);
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user