Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 30) sorted by relevance

12

/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_putbit.c31 bitbuf->range = 255; in vp8e_set_buffer()
42 RK_S32 split = 1 + ((bitbuf->range - 1) * prob >> 8); in vp8e_put_bool()
46 bitbuf->range -= split; in vp8e_put_bool()
48 bitbuf->range = split; in vp8e_put_bool()
51 while (bitbuf->range < 128) { in vp8e_put_bool()
59 bitbuf->range <<= 1; in vp8e_put_bool()
H A Dhal_vp8e_putbit.h29 RK_S32 range; member
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_enctropy.c246 RK_U32 range = cabac_ctx->m_range; in h265e_cabac_encodeBin() local
248 RK_U32 lps = g_lpsTable[state][((uint8_t)range >> 6)]; in h265e_cabac_encodeBin()
249 range -= lps; in h265e_cabac_encodeBin()
254 RK_S32 numBits = (RK_U32)(range - 256) >> 31; in h265e_cabac_encodeBin()
269 low += range; in h265e_cabac_encodeBin()
270 range = lps; in h265e_cabac_encodeBin()
273 cabac_ctx->m_range = (range << numBits); in h265e_cabac_encodeBin()
H A Dh265e_api.c140 prep->range = MPP_FRAME_RANGE_UNSPECIFIED; in h265e_init()
H A Dh265e_ps.c348 if (prep->range == MPP_FRAME_RANGE_JPEG) { in h265e_set_sps()
/rockchip-linux_mpp/mpp/codec/dec/vp8/
H A Dvp8d_parser.c42 bit_ctx->range = 255; in vp8hwdBoolStart()
64 RK_U32 range = bit_ctx->range; in vp8hwdDecodeBool() local
68 split = 1 + (((range - 1) * probability) >> 8); in vp8hwdDecodeBool()
70 range = split; in vp8hwdDecodeBool()
73 range = bit_ctx->range - split; in vp8hwdDecodeBool()
78 if (range >= 0x80) { in vp8hwdDecodeBool()
80 bit_ctx->range = range; in vp8hwdDecodeBool()
84 range += range; in vp8hwdDecodeBool()
98 } while (range < 0x80); in vp8hwdDecodeBool()
104 bit_ctx->range = range; in vp8hwdDecodeBool()
[all …]
H A Dvp8d_parser.h61 RK_U32 range; member
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_slice.c772 RK_S32 range; member
794 ctx->range = 0x01FE; in init_context()
838 RK_S32 shift = x264_cabac_renorm_shift[ctx->range >> 3]; in h264e_cabac_renorm()
840 ctx->range <<= shift; in h264e_cabac_renorm()
889 RK_S32 range_lps = h264e_cabac_range_lps[state >> 1][(ctx->range >> 6) - 4]; in h264e_cabac_write_skip_flag()
891 ctx->range -= range_lps; in h264e_cabac_write_skip_flag()
893 ctx->low += ctx->range; in h264e_cabac_write_skip_flag()
894 ctx->range = range_lps; in h264e_cabac_write_skip_flag()
904 ctx->range -= 2; in h264e_cabac_terminal()
911 ctx->low += ctx->range - 2; in h264e_cabac_flush()
H A Dh264e_sps.c225 if (prep->range == MPP_FRAME_RANGE_JPEG) { in h264e_sps_update()
H A Dh264e_api_v2.c157 prep->range = MPP_FRAME_RANGE_UNSPECIFIED; in init_h264e_cfg_set()
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu5xx_common.h102 const VepuRgb2YuvCfg* get_rgb2yuv_cfg(MppFrameColorRange range, MppFrameColorSpace color);
H A Dvepu5xx_common.c59 const VepuRgb2YuvCfg *get_rgb2yuv_cfg(MppFrameColorRange range, MppFrameColorSpace color) in get_rgb2yuv_cfg() argument
66 if (range == MPP_FRAME_RANGE_JPEG) { in get_rgb2yuv_cfg()
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vpu720.c363 ctx->fmt_cfg.src_range = (ctx->cfg->prep.range == MPP_FRAME_RANGE_UNSPECIFIED) ? in jpege_vpu720_setup_format()
364 MPP_FRAME_RANGE_JPEG : ctx->cfg->prep.range; in jpege_vpu720_setup_format()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_cfg.c117 …efix, s32, rk_s32, colorrange, FLAG_INCR, prep, range); \
118 …ALIAS(prefix, s32, rk_s32, range, FLAG_PREV, prep,
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_EN.md222 …olorRange | Represents the color space range of image data: <br>YUV full range:0 \~ 255(8bit) <br>…
277 <center>Figure 11 MPI interface range range</center>
605 |prep:color|S32|MppFrameColorSpace|Represents the color space range of input image data.|
606 |prep:range|S32|MppFrameColorRange|Indicates whether the input image is full range or limit range<b…
623 |h264:qp_init|S32|RK_S32|The valid range is [-6, 6].|
636 |h265:dblk_beta|S32|RK_S32|The valid range is [-12, 12].|
638 |h265:qp_max|S32|RK_S32|The valid range is [-12, 12].|
639 …2|RK_S32|Indicates the deblock_disable flag in the protocol syntax, and the valid range is [0, 2].|
H A DRockchip_Developer_Guide_MPP_CN.md233 | color_range | MppFrameColorRange | 表示图像数据彩色空间范围: YUV full range:0 \~ 255(8bit) YUV limit range:16…
661 | prep:range | S32 | MppFrameColorRange | 同prep:colorrange,用于前向兼容MPP…
/rockchip-linux_mpp/inc/
H A Drk_venc_cmd.h515 MppFrameColorRange range; member
/rockchip-linux_mpp/
H A DCHANGELOG.md320 - [vepu580]: fix incorrect color range problem
555 - [vdpu383]: spspps data not need copy all range ppsid
688 - [utils]: adjust format range constraint
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_enc_impl.c552 if (set->range >= MPP_FRAME_RANGE_NB || in proc_prep_cfg()
557 set->range, set->color, set->colorprim, set->colortrc); in proc_prep_cfg()
559 cfg->range, cfg->color, cfg->colorprim, cfg->colortrc); in proc_prep_cfg()
560 set->range = cfg->range; in proc_prep_cfg()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c733 regs->reg_base.src_fmt.src_range = (prep->range == MPP_FRAME_RANGE_JPEG) ? 1 : 0; in setup_vepu580_prep()
769 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu580_prep()
771 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu580_prep()
H A Dhal_h264e_vepu541.c496 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu541_prep()
498 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu541_prep()
H A Dhal_h264e_vepu540c.c488 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu540c_prep()
490 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu540c_prep()
H A Dhal_h264e_vepu510.c785 const VepuRgb2YuvCfg *cfg_coeffs = get_rgb2yuv_cfg(prep->range, prep->color); in setup_vepu510_prep()
787 hal_h264e_dbg_flow("input color range %d colorspace %d", prep->range, prep->color); in setup_vepu510_prep()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu540c.c825 … const VepuRgb2YuvCfg *cfg_coeffs = cfg_coeffs = get_rgb2yuv_cfg(prep_cfg->range, prep_cfg->color); in vepu540c_h265_set_pp_regs()
827 … hal_h265e_dbg_simple("input color range %d colorspace %d", prep_cfg->range, prep_cfg->color); in vepu540c_h265_set_pp_regs()
H A Dhal_h265e_vepu541.c1103 … const VepuRgb2YuvCfg *cfg_coeffs = cfg_coeffs = get_rgb2yuv_cfg(prep_cfg->range, prep_cfg->color); in vepu541_h265_set_pp_regs()
1105 … hal_h265e_dbg_simple("input color range %d colorspace %d", prep_cfg->range, prep_cfg->color); in vepu541_h265_set_pp_regs()

12