Home
last modified time | relevance | path

Searched refs:chroma_format_idc (Results 1 – 25 of 40) sorted by relevance

12

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_sps.c176 cur_sps->chroma_format_idc = 1; in parser_sps()
214 READ_UE(p_bitctx, &cur_sps->chroma_format_idc); in parser_sps()
215 if (cur_sps->chroma_format_idc > 2) { in parser_sps()
216 H264D_ERR("ERROR: Not support chroma_format_idc=%d.", cur_sps->chroma_format_idc); in parser_sps()
390 p_Vid->yuv_format = sps->chroma_format_idc; in update_video_pars()
407 crop_left = SubWidthC [sps->chroma_format_idc] * sps->frame_crop_left_offset; in update_video_pars()
408 crop_right = SubWidthC [sps->chroma_format_idc] * sps->frame_crop_right_offset; in update_video_pars()
409 …crop_top = SubHeightC[sps->chroma_format_idc] * ( 2 - sps->frame_mbs_only_flag ) * sps->frame_c… in update_video_pars()
410 …crop_bottom = SubHeightC[sps->chroma_format_idc] * ( 2 - sps->frame_mbs_only_flag ) * sps->frame_c… in update_video_pars()
H A Dh264d_scalist.c89 for (i = 6; i < ((sps->chroma_format_idc != H264_CHROMA_444) ? 8 : 12); ++i) { in set_sps_scanlist_matrix()
134 for (i = 6; i < ((sps->chroma_format_idc != H264_CHROMA_444) ? 8 : 12); ++i) { in set_pps_scanlist_matrix()
317 for (i = 0; i < ((sps->chroma_format_idc != H264_CHROMA_444) ? 2 : 6); ++i) { in parse_sps_scalinglists()
H A Dh264d_slice.c120 if (currSlice->active_sps->chroma_format_idc) { in pred_weight_table()
129 if (currSlice->active_sps->chroma_format_idc) { in pred_weight_table()
147 if (currSlice->active_sps->chroma_format_idc) { in pred_weight_table()
278 ret |= (sps->chroma_format_idc == 3); in check_sps_pps()
H A Dh264d_fill.c86 for (i = 6; i < ((p_Vid->active_sps->chroma_format_idc != H264_CHROMA_444) ? 8 : 12); ++i) { in fill_scanlist()
140 pp->chroma_format_idc = p_Vid->active_sps->chroma_format_idc; in fill_picparams()
H A Dh264d_dpb.c819 fs->frame->chroma_format_idc = fs->top_field->chroma_format_idc; in dpb_combine_field_yuv()
956 fs->bottom_field->chroma_format_idc = p->chroma_format_idc; in write_unpaired_field()
969 fs->top_field->chroma_format_idc = p->chroma_format_idc; in write_unpaired_field()
1207 fs_top->chroma_format_idc = fs_btm->chroma_format_idc = frame->chroma_format_idc; in dpb_split_field()
H A Dh264d_pps.c49 for (i = 0; i < ((sps->chroma_format_idc != 3) ? 2 : 6); ++i) { in parse_pps_calingLists()
H A Dh264d_global.h332 RK_S32 chroma_format_idc; member
527 RK_S32 chroma_format_idc; // ue(v) member
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu34x.c157 RK_U32 chroma_format_idc; member
365 mpp_put_bits(&bp, pp->chroma_format_idc, 2); in prepare_spspps()
806 RK_U32 chroma_format_idc = p_hal->pp->chroma_format_idc; in h264d_refine_rcb_size() local
843 rcb_bits = (chroma_format_idc > 1) ? (2 * width * bit_depth) : 0; in h264d_refine_rcb_size()
856 RK_U32 chroma_format_idc = p_hal->pp->chroma_format_idc; in hal_h264d_rcb_info_update() local
862 ctx->chroma_format_idc != chroma_format_idc || in hal_h264d_rcb_info_update()
882 if (mbaff && 2 == chroma_format_idc) in hal_h264d_rcb_info_update()
889 ctx->chroma_format_idc = chroma_format_idc; in hal_h264d_rcb_info_update()
H A Dhal_h264d_vdpu382.c161 RK_U32 chroma_format_idc; member
371 mpp_put_bits(&bp, pp->chroma_format_idc, 2); in prepare_spspps()
843 RK_U32 chroma_format_idc = p_hal->pp->chroma_format_idc; in h264d_refine_rcb_size() local
876 rcb_bits = width * ((chroma_format_idc ? 1 : 0) + 1) * 11; in h264d_refine_rcb_size()
888 rcb_bits = (chroma_format_idc > 1) ? (2 * width * bit_depth) : 0; in h264d_refine_rcb_size()
902 RK_U32 chroma_format_idc = p_hal->pp->chroma_format_idc; in hal_h264d_rcb_info_update() local
908 ctx->chroma_format_idc != chroma_format_idc || in hal_h264d_rcb_info_update()
931 ctx->chroma_format_idc = chroma_format_idc; in hal_h264d_rcb_info_update()
H A Dhal_h264d_rkv_reg.c266 mpp_put_bits(&bp, pp->chroma_format_idc, 2); in prepare_spspps()
462 if (pp->chroma_format_idc == 0) { //!< Y400 in set_registers()
464 } else if (pp->chroma_format_idc == 1) { //!< Y420 in set_registers()
466 } else if (pp->chroma_format_idc == 2) { //!< Y422 in set_registers()
/OK3568_Linux_fs/external/mpp/mpp/common/
H A Davs2d_syntax.h25 RK_U32 chroma_format_idc : 2; member
H A Dh264d_syntax.h51 RK_U16 chroma_format_idc : 2; member
338 RK_U16 chroma_format_idc : 2; member
H A Dh265d_syntax.h76 USHORT chroma_format_idc : 2; member
H A Dh265e_syntax_new.h37 RK_U16 chroma_format_idc : 2; member
/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A Dhantro_g1_h264_dec.c82 if (sps->profile_idc >= 100 && sps->chroma_format_idc == 0) in set_params()
257 ctrls->sps->chroma_format_idc == 0) in set_buffers()
/OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/
H A Dnal-h264.h108 unsigned int chroma_format_idc; member
H A Dnal-h264.c622 rbsp_uev(rbsp, &sps->chroma_format_idc); in nal_h264_rbsp_sps()
624 if (sps->chroma_format_idc == 3) in nal_h264_rbsp_sps()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/
H A Dh264e_sps.h96 RK_S32 chroma_format_idc; member
H A Dh264e_sps.c161 sps->chroma_format_idc = H264_CHROMA_420; in h264e_sps_update()
300 mpp_writer_put_ue(bit, sps->chroma_format_idc); in h264e_sps_to_packet()
/OK3568_Linux_fs/kernel/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c664 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC); in assemble_hw_pps()
927 if (sps->chroma_format_idc == 0) in config_registers()
929 else if (sps->chroma_format_idc == 1) in config_registers()
931 else if (sps->chroma_format_idc == 2) in config_registers()
/OK3568_Linux_fs/kernel/include/media/
H A Dhevc-ctrls.h77 __u8 chroma_format_idc; member
H A Dh264-ctrls.h71 __u8 chroma_format_idc; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_ps.c646 if (openhevc_sps->chroma_format_idc != sps->chroma_format_idc) { in compare_sps()
1377 if (sps->chroma_format_idc == 3) { in scaling_list_data()
1452 READ_UE(gb, &sps->chroma_format_idc); in mpp_hevc_decode_nal_sps()
1453 if (sps->chroma_format_idc != 1) { in mpp_hevc_decode_nal_sps()
1459 if (sps->chroma_format_idc == 3) in mpp_hevc_decode_nal_sps()
1512 if (sps->chroma_format_idc == 1) { in mpp_hevc_decode_nal_sps()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_vdpu34x.c258 mpp_put_bits(&bp, dxva_cxt->pp.chroma_format_idc , 2); in hal_h265d_v345_output_pps_packet()
487 mpp_put_bits(&bp, dxva_cxt->pp.chroma_format_idc , 2); in hal_h265d_output_pps_packet()
682 RK_U32 chroma_fmt_idc = pp->chroma_format_idc;//0 400,1 4202 ,422,3 444 in h265d_refine_rcb_size()
772 RK_U32 chroma_fmt_idc = pp->chroma_format_idc;//0 400,1 4202 ,422,3 444 in hal_h265d_rcb_info_update()
H A Dhal_h265d_vdpu382.c262 mpp_put_bits(&bp, dxva_cxt->pp.chroma_format_idc , 2); in hal_h265d_v382_output_pps_packet()
464 RK_U32 chroma_fmt_idc = pp->chroma_format_idc;//0 400,1 420 ,2 422,3 444 in h265d_refine_rcb_size()
567 RK_U32 chroma_fmt_idc = pp->chroma_format_idc;//0 400,1 4202 ,422,3 444 in hal_h265d_rcb_info_update()

12