Skip to content

Commit 2d6bfe4

Browse files
authored
NV12 & NV16 10bit franme types aded (#3451)
1 parent 54f14c8 commit 2d6bfe4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/xma/include/app/xmabuffers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ typedef enum XmaFormatType
119119
XMA_RGB888_FMT_TYPE, /**< 4 */
120120
XMA_RGBP_FMT_TYPE, /**< 5 */
121121
XMA_VCU_NV12_FMT_TYPE, /**< 6 */
122+
XMA_VCU_NV16_FMT_TYPE,
123+
XMA_VCU_NV12_10LE32_FMT_TYPE,
124+
XMA_VCU_NV16_10LE32_FMT_TYPE,
122125
} XmaFormatType;
123126

124127
/**

src/xma/src/xmaapi/xmabuffer.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ xma_frame_planes_get(XmaFrameProperties *frame_props)
4646
{XMA_YUV444_FMT_TYPE, 3},
4747
{XMA_RGB888_FMT_TYPE, 1},
4848
{XMA_RGBP_FMT_TYPE, 3},
49-
{XMA_VCU_NV12_FMT_TYPE,2}
50-
49+
{XMA_VCU_NV12_FMT_TYPE, 2},
50+
{XMA_VCU_NV16_FMT_TYPE, 2},
51+
{XMA_VCU_NV12_10LE32_FMT_TYPE, 2},
52+
{XMA_VCU_NV16_10LE32_FMT_TYPE, 2},
5153
};
5254

5355
return frame_format_desc[frame_props->format].num_planes;

0 commit comments

Comments
 (0)