mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[utils]: read_image support YUV444SP, YUV444P
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com> Change-Id: I20f9b200134dac343c7e3e5da894689937afe2ca
This commit is contained in:
parent
5557255eac
commit
2de930d33c
1 changed files with 2 additions and 0 deletions
|
|
@ -595,6 +595,8 @@ MPP_RET read_image(RK_U8 *buf, FILE *fp, RK_U32 width, RK_U32 height,
|
|||
case MPP_FMT_YUV422_VYUY : {
|
||||
ret = read_with_pixel_width(buf_y, width, height, hor_stride, 2, fp);
|
||||
} break;
|
||||
case MPP_FMT_YUV444SP :
|
||||
case MPP_FMT_YUV444P :
|
||||
case MPP_FMT_RGB888 :
|
||||
case MPP_FMT_BGR888 : {
|
||||
ret = read_with_pixel_width(buf_y, width, height, hor_stride, 3, fp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue