Lines Matching refs:res
565 RK_S32 res; in read_colorspace_details() local
600 res = pix_fmt_for_ss[bits][s->ss_v][s->ss_h]; in read_colorspace_details()
601 if (res == MPP_FMT_YUV420SP || res < 0) { in read_colorspace_details()
602 mpp_err("YUV FMT %d not supported in profile %d\n", res, ctx->profile); in read_colorspace_details()
613 res = pix_fmt_for_ss[bits][1][1]; in read_colorspace_details()
617 return res; in read_colorspace_details()
634 RK_S32 c, i, j, k, l, m, n, max, size2, res, sharp; in decode_parser_header() local
1035 if ((res = update_size(ctx, w, h, fmt)) < 0) { in decode_parser_header()
1037 return res; in decode_parser_header()
1649 RK_S32 res, i, ref = 0; in vp9_parser_frame() local
1666 if ((res = decode_parser_header(ctx, data, size, &ref)) < 0) { in vp9_parser_frame()
1667 return res; in vp9_parser_frame()
1668 } else if (res == 0) { in vp9_parser_frame()
1687 data += res; in vp9_parser_frame()
1688 size -= res; in vp9_parser_frame()
1694 if ((res = vp9_ref_frame(ctx, &s->frames[REF_FRAME_MVPAIR], &s->frames[CUR_FRAME])) < 0) in vp9_parser_frame()
1695 return res; in vp9_parser_frame()
1701 if ((res = vp9_alloc_frame(ctx, &s->frames[CUR_FRAME])) < 0) in vp9_parser_frame()
1702 return res; in vp9_parser_frame()
1760 res = 0; in vp9_parser_frame()
1765 res = vp9_ref_frame(ctx, &s->refs[i], &s->frames[CUR_FRAME]); in vp9_parser_frame()
1770 if (res < 0) in vp9_parser_frame()