Skip to content

Commit

Permalink
NV12 get num of frame planes (#3444)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarabjeet Singh <[email protected]>
  • Loading branch information
sarab96 and Sarabjeet Singh authored May 22, 2020
1 parent 27024c8 commit 8b2acfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xma/src/xmaapi/xmabuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ xma_frame_planes_get(XmaFrameProperties *frame_props)
{XMA_YUV444_FMT_TYPE, 3},
{XMA_RGB888_FMT_TYPE, 1},
{XMA_RGBP_FMT_TYPE, 3},
{XMA_VCU_NV12_FMT_TYPE,2}

};

return frame_format_desc[frame_props->format].num_planes;
Expand Down

0 comments on commit 8b2acfb

Please sign in to comment.