Home
last modified time | relevance | path

Searched refs:bit_depth (Results 1 – 25 of 33) sorted by relevance

12

/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_vdpu382.c446 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in h265d_refine_rcb_size() local
492 rcb_bits = width * ( 4 + 6 * bit_depth); in h265d_refine_rcb_size()
494 rcb_bits = width * ( 2 + 6 * bit_depth); in h265d_refine_rcb_size()
497 rcb_bits = width * ( 4 + 8 * bit_depth); in h265d_refine_rcb_size()
499 rcb_bits = width * ( 2 + 8 * bit_depth); in h265d_refine_rcb_size()
501 rcb_bits += (tile_col_cut_num * (bit_depth == 8 ? 256 : 192)) + ext_align_size; in h265d_refine_rcb_size()
506 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size()
508 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size()
510 rcb_bits += (tile_col_cut_num * (bit_depth == 8 ? 160 : 128)) + ext_align_size; in h265d_refine_rcb_size()
515 rcb_bits = width * (chroma_fmt_idc - 1) * 2 * bit_depth; in h265d_refine_rcb_size()
[all …]
H A Dhal_h265d_vdpu34x.c675 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in h265d_refine_rcb_size() local
720 rcb_bits = width * ( 4 + 6 * bit_depth); in h265d_refine_rcb_size()
722 rcb_bits = width * ( 2 + 6 * bit_depth); in h265d_refine_rcb_size()
725 rcb_bits = width * ( 4 + 8 * bit_depth); in h265d_refine_rcb_size()
727 rcb_bits = width * ( 2 + 8 * bit_depth); in h265d_refine_rcb_size()
729 rcb_bits += (tile_col_cut_num * (bit_depth == 8 ? 256 : 192)) + ext_align_size; in h265d_refine_rcb_size()
734 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size()
736 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size()
738 rcb_bits += (tile_col_cut_num * (bit_depth == 8 ? 160 : 128)) + ext_align_size; in h265d_refine_rcb_size()
743 rcb_bits = width * (chroma_fmt_idc - 1) * 2 * bit_depth; in h265d_refine_rcb_size()
[all …]
H A Dhal_h265d_ctx.h78 RK_U8 bit_depth; member
H A Dhal_h265d_vdpu384a.c652 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in h265d_refine_rcb_size() local
689 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2); in h265d_refine_rcb_size()
699 rcb_bits = (MPP_ALIGN(width, 64) * (1.2 * bit_depth + 0.5) * (8 + 5 * row_uv_para)); in h265d_refine_rcb_size()
713 …rcb_bits = (MPP_ALIGN(height, 64) * (1.6 * bit_depth + 0.5) * (16.5 + 5.5 * col_uv_para)) + ext_co… in h265d_refine_rcb_size()
729 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in hal_h265d_rcb_info_update() local
735 reg_ctx->bit_depth != bit_depth || in hal_h265d_rcb_info_update()
759 reg_ctx->bit_depth = bit_depth; in hal_h265d_rcb_info_update()
H A Dhal_h265d_vdpu383.c656 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in h265d_refine_rcb_size() local
693 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2); in h265d_refine_rcb_size()
703 rcb_bits = (MPP_ALIGN(width, 64) * (1.6 * bit_depth + 0.5) * (8 + 5 * row_uv_para)); in h265d_refine_rcb_size()
717 …rcb_bits = (MPP_ALIGN(height, 64) * (1.6 * bit_depth + 0.5) * (16.5 + 5 * col_uv_para)) + ext_col_… in h265d_refine_rcb_size()
733 RK_U8 bit_depth = MPP_MAX(pp->bit_depth_luma_minus8, pp->bit_depth_chroma_minus8) + 8; in hal_h265d_rcb_info_update() local
739 reg_ctx->bit_depth != bit_depth || in hal_h265d_rcb_info_update()
762 reg_ctx->bit_depth = bit_depth; in hal_h265d_rcb_info_update()
/rockchip-linux_mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_vdpu34x.c71 RK_U32 bit_depth; member
280 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in vp9d_refine_rcb_size() local
312 rcb_bits = width * (1 + 16 * bit_depth) + num_tiles * 192 * bit_depth + ext_align_size; in vp9d_refine_rcb_size()
318 rcb_bits = 8 * width * bit_depth + ext_align_size; in vp9d_refine_rcb_size()
324 rcb_bits = height * (4 + 24 * bit_depth); in vp9d_refine_rcb_size()
326 rcb_bits = height * (4 + 16 * bit_depth); in vp9d_refine_rcb_size()
337 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in hal_vp9d_rcb_info_update() local
342 hw_ctx->bit_depth != bit_depth || in hal_vp9d_rcb_info_update()
374 hw_ctx->bit_depth = bit_depth; in hal_vp9d_rcb_info_update()
415 RK_U8 bit_depth = 0; in hal_vp9d_vdpu34x_gen_regs() local
[all …]
H A Dhal_vp9d_vdpu382.c71 RK_U32 bit_depth; member
281 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in vp9d_refine_rcb_size() local
319 rcb_bits = width * (0.5 + 16 * bit_depth) + num_tiles_col * 192 * bit_depth + ext_align_size; in vp9d_refine_rcb_size()
327 rcb_bits = 8 * width * bit_depth + ext_align_size; in vp9d_refine_rcb_size()
335 rcb_bits = height * (4 + 24 * bit_depth); in vp9d_refine_rcb_size()
337 rcb_bits = height * (4 + 16 * bit_depth); in vp9d_refine_rcb_size()
349 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in hal_vp9d_rcb_info_update() local
354 hw_ctx->bit_depth != bit_depth || in hal_vp9d_rcb_info_update()
386 hw_ctx->bit_depth = bit_depth; in hal_vp9d_rcb_info_update()
428 RK_U8 bit_depth = 0; in hal_vp9d_vdpu382_gen_regs() local
[all …]
H A Dhal_vp9d_vdpu383.c65 RK_U32 bit_depth; member
386 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in vp9d_refine_rcb_size() local
411 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2); in vp9d_refine_rcb_size()
424 rcb_bits = (RK_U32)(MPP_ALIGN(width, 64) * (41 * bit_depth + 13)); in vp9d_refine_rcb_size()
435 rcb_bits = (RK_U32)(MPP_ALIGN(height, 64) * (42 * bit_depth + 13)) + ext_col_align_size; in vp9d_refine_rcb_size()
449 RK_U32 bit_depth = pic_param->BitDepthMinus8Luma + 8; in hal_vp9d_rcb_info_update() local
455 hw_ctx->bit_depth != bit_depth || in hal_vp9d_rcb_info_update()
488 hw_ctx->bit_depth = bit_depth; in hal_vp9d_rcb_info_update()
686 RK_U8 bit_depth = 0; in hal_vp9d_vdpu383_gen_regs() local
850 bit_depth = pic_param->BitDepthMinus8Luma + 8; in hal_vp9d_vdpu383_gen_regs()
[all …]
H A Dhal_vp9d_rkv.c250 RK_U8 bit_depth = 0; in hal_vp9d_rkv_gen_regs() local
309 bit_depth = pic_param->BitDepthMinus8Luma + 8; in hal_vp9d_rkv_gen_regs()
372 y_hor_virstride = (vp9_hor_align((ref_frame_width_y * bit_depth) >> 3) >> 4); in hal_vp9d_rkv_gen_regs()
373 uv_hor_virstride = (vp9_hor_align((ref_frame_width_y * bit_depth) >> 3) >> 4); in hal_vp9d_rkv_gen_regs()
/rockchip-linux_mpp/mpp/codec/dec/h265/
H A Dh265d_ps.c681 if (openhevc_sps->bit_depth != sps->bit_depth) { in compare_sps()
1496 READ_UE(gb, &sps->bit_depth); in mpp_hevc_decode_nal_sps()
1498 sps->bit_depth = sps->bit_depth + 8; in mpp_hevc_decode_nal_sps()
1502 if (bit_depth_chroma != sps->bit_depth) { in mpp_hevc_decode_nal_sps()
1506 sps->bit_depth, bit_depth_chroma); in mpp_hevc_decode_nal_sps()
1516 switch (sps->bit_depth) { in mpp_hevc_decode_nal_sps()
1521 sps->bit_depth); in mpp_hevc_decode_nal_sps()
1527 switch (sps->bit_depth) { in mpp_hevc_decode_nal_sps()
1532 sps->bit_depth); in mpp_hevc_decode_nal_sps()
1539 switch (sps->bit_depth) { in mpp_hevc_decode_nal_sps()
[all …]
H A Dh265d_parser2_syntax.c78 ((sps->bit_depth - 8) << 3) | in fill_picture_parameters()
79 ((sps->bit_depth - 8) << 6) | in fill_picture_parameters()
110 … ((sps->pcm_enabled_flag ? (sps->pcm.bit_depth - 1) : 0) << 4) | in fill_picture_parameters()
H A Dh265d_parser.h213 RK_S32 bit_depth; member
246 RK_U8 bit_depth; member
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_parser.c90 uint8_t bit_depth = 8;; in get_pixel_format() local
95 bit_depth = seq->color_config.twelve_bit ? 12 : 10; in get_pixel_format()
97 bit_depth = seq->color_config.high_bitdepth ? 10 : 8; in get_pixel_format()
111 if (bit_depth == 8) in get_pixel_format()
119 if (bit_depth == 8) in get_pixel_format()
121 else if (bit_depth == 10) { in get_pixel_format()
142 s->bit_depth = bit_depth; in get_pixel_format()
693 .bit_depth = s->bit_depth, in update_reference_list()
768 mpp_frame_set_hor_stride(frame->f, MPP_ALIGN(s->frame_width * s->bit_depth / 8, 8)); in get_current_frame()
790 if (s->bit_depth == 10) { in get_current_frame()
H A Dav1d_parser2_syntax.c37 pp->bitdepth = h->bit_depth; in av1d_fill_picparams()
164 pp->frame_ref_state[i].bit_depth = h->ref_s[i].bit_depth ; in av1d_fill_picparams()
H A Dav1d_parser.h107 RK_S32 bit_depth; member
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu34x.c155 RK_U32 bit_depth; member
800 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in h264d_refine_rcb_size() local
832 rcb_bits = width * (2 + (mbaff ? 12 : 6) * bit_depth); in h264d_refine_rcb_size()
838 rcb_bits = (chroma_format_idc > 1) ? (2 * width * bit_depth) : 0; in h264d_refine_rcb_size()
850 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in hal_h264d_rcb_info_update() local
856 if ( ctx->bit_depth != bit_depth || in hal_h264d_rcb_info_update()
880 ctx->bit_depth = bit_depth; in hal_h264d_rcb_info_update()
H A Dhal_h264d_vdpu384a.c89 RK_U32 bit_depth; member
682 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in h264d_refine_rcb_size() local
705 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2) * (mbaff ? 2 : 1); in h264d_refine_rcb_size()
729 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in hal_h264d_rcb_info_update() local
735 if ( ctx->bit_depth != bit_depth || in hal_h264d_rcb_info_update()
756 ctx->bit_depth = bit_depth; in hal_h264d_rcb_info_update()
H A Dhal_h264d_vdpu382.c159 RK_U32 bit_depth; member
829 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in h264d_refine_rcb_size() local
867 rcb_bits = width * (2 + (mbaff ? 12 : 6) * bit_depth); in h264d_refine_rcb_size()
875 rcb_bits = (chroma_format_idc > 1) ? (2 * width * bit_depth) : 0; in h264d_refine_rcb_size()
888 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in hal_h264d_rcb_info_update() local
894 if ( ctx->bit_depth != bit_depth || in hal_h264d_rcb_info_update()
914 ctx->bit_depth = bit_depth; in hal_h264d_rcb_info_update()
H A Dhal_h264d_vdpu383.c102 RK_U32 bit_depth; member
731 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in h264d_refine_rcb_size() local
754 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2) * (mbaff ? 2 : 1); in h264d_refine_rcb_size()
778 RK_U32 bit_depth = p_hal->pp->bit_depth_luma_minus8 + 8; in hal_h264d_rcb_info_update() local
784 if ( ctx->bit_depth != bit_depth || in hal_h264d_rcb_info_update()
804 ctx->bit_depth = bit_depth; in hal_h264d_rcb_info_update()
/rockchip-linux_mpp/mpp/hal/rkdec/avs2d/
H A Dhal_avs2d_vdpu382.c289 RK_U8 bit_depth = syntax->pp.bit_depth_chroma_minus8 + 8; in avs2d_refine_rcb_size() local
327 rcb_bits = width * ( 4 + 8 * bit_depth); in avs2d_refine_rcb_size()
329 rcb_bits = width * ( 2 + 8 * bit_depth); in avs2d_refine_rcb_size()
336 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in avs2d_refine_rcb_size()
338 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in avs2d_refine_rcb_size()
344 rcb_bits = width * 4 * bit_depth; in avs2d_refine_rcb_size()
/rockchip-linux_mpp/mpp/hal/vpu/jpegd/
H A Dhal_jpegd_rkv_reg.h79 RK_U32 bit_depth : 1; member
/rockchip-linux_mpp/mpp/codec/dec/avs2/
H A Davs2d_ps.c326 vsh->bit_depth = 6 + (vsh->encoding_precision << 1); in avs2d_parse_sequence_header()
681 if (ph->picture_qp > (63 + 8 * (vsh->bit_depth - 8))) { in parse_picture_header_intra()
780 if (ph->picture_qp > (63 + 8 * (vsh->bit_depth - 8))) { in parse_picture_header_inter()
H A Davs2d_parse.c375 pp->bit_depth_luma_minus8 = vsh->bit_depth - 8; in avs2d_fill_parameters()
376 pp->bit_depth_chroma_minus8 = vsh->bit_depth - 8; in avs2d_fill_parameters()
H A Davs2d_global.h193 RK_U8 bit_depth; member
/rockchip-linux_mpp/mpp/common/
H A Dav1d_syntax.h239 RK_S32 bit_depth; // RefBitDepth member

12