mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[mpp_dec]: fix hdr stream dump yuv error.
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com> Change-Id: Ibf13d81dfec194bb607a1fe881227951bb1509e0
This commit is contained in:
@@ -71,7 +71,7 @@ void dump_mpp_frame_to_file(MppFrame frame, FILE *fp)
|
||||
if (MPP_FRAME_FMT_IS_RGB(fmt) && MPP_FRAME_FMT_IS_LE(fmt)) {
|
||||
fmt &= MPP_FRAME_FMT_MASK;
|
||||
}
|
||||
switch (fmt) {
|
||||
switch (fmt & MPP_FRAME_FMT_MASK) {
|
||||
case MPP_FMT_YUV422SP : {
|
||||
/* YUV422SP -> YUV422P for better display */
|
||||
RK_U32 i, j;
|
||||
|
Reference in New Issue
Block a user