| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_stream.c | 44 MPP_RET h265e_stream_init(H265eStream *s) in h265e_stream_init() 52 MPP_RET h265e_stream_deinit(H265eStream *s) in h265e_stream_deinit() 59 MPP_RET h265e_stream_reset(H265eStream *s) in h265e_stream_reset() 65 MPP_RET h265e_stream_realign(H265eStream *s) in h265e_stream_realign() 72 MPP_RET h265e_stream_write_with_log(H265eStream *s, in h265e_stream_write_with_log() 83 MPP_RET h265e_stream_write1_with_log(H265eStream *s, in h265e_stream_write1_with_log() 93 MPP_RET h265e_stream_write_ue_with_log(H265eStream *s, in h265e_stream_write_ue_with_log() 125 MPP_RET h265e_stream_write_se_with_log(H265eStream *s, in h265e_stream_write_se_with_log() 147 MPP_RET h265e_stream_write32(H265eStream *s, RK_U32 i_bits, in h265e_stream_write32() 165 MPP_RET h265e_stream_rbsp_trailing(H265eStream *s) in h265e_stream_rbsp_trailing() [all …]
|
| H A D | h265e_header_gen.c | 61 MppWriteCtx s; in h265e_nal_encode() local 130 static MPP_RET h265e_write_recovery_point(H265eStream * s, RK_U32 recovery_frame_cnt) in h265e_write_recovery_point() 139 static MPP_RET h265e_sei_write(H265eStream *s, RK_U8 uuid[16], const RK_U8 *payload, in h265e_sei_write() 232 void codeProfileTier(H265eStream *s, ProfileTierLevel* ptl) in codeProfileTier() 267 void codePTL(H265eStream *s, H265ePTL* ptl, RK_U32 profilePresentFlag, int maxNumSubLayersMinus1) in codePTL() 299 static MPP_RET h265e_vps_write(H265eVps *vps, H265eStream *s) in h265e_vps_write() 373 void codeVUI(H265eStream *s, H265eVuiInfo *vui) in codeVUI() 444 static MPP_RET h265e_sps_write(H265eSps *sps, H265eStream *s) in h265e_sps_write() 559 static MPP_RET h265e_pps_write(H265ePps *pps, H265eSps *sps, H265eStream *s) in h265e_pps_write() 642 H265eStream *s = &out->stream; in h265e_nal_start() local [all …]
|
| H A D | h265e_enctropy.c | 199 MppWriteCtx* s = cabac_ctx->m_bitIf; in h265e_cabac_writeOut() local 312 MppWriteCtx* s = cabac_ctx->m_bitIf; in h265e_cabac_finish() local 342 MppWriteCtx* s = cabac_ctx->m_bitIf; in h265e_cabac_flush() local
|
| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_refs.c | 37 void mpp_hevc_unref_frame(HEVCContext *s, HEVCFrame *frame, int flags) in mpp_hevc_unref_frame() 59 void mpp_hevc_clear_refs(HEVCContext *s) in mpp_hevc_clear_refs() 69 void mpp_hevc_flush_dpb(HEVCContext *s) in mpp_hevc_flush_dpb() 82 static HEVCFrame *alloc_frame(HEVCContext *s) in alloc_frame() 160 int mpp_hevc_set_new_ref(HEVCContext *s, MppFrame *mframe, int poc) in mpp_hevc_set_new_ref() 203 static HEVCFrame *find_ref_idx(HEVCContext *s, int poc) in find_ref_idx() 233 static HEVCFrame *generate_missing_ref(HEVCContext *s, int poc) in generate_missing_ref() 254 static int add_candidate_ref(HEVCContext *s, RefPicList *list, in add_candidate_ref() 281 RK_S32 mpp_hevc_frame_rps(HEVCContext *s) in mpp_hevc_frame_rps() 351 int mpp_hevc_compute_poc(HEVCContext *s, int poc_lsb) in mpp_hevc_compute_poc() [all …]
|
| H A D | h265d_parser.c | 184 SplitContext_t *s = NULL; in h265d_split_init() local 200 static void mpp_fetch_timestamp(SplitContext_t *s, RK_S32 off) in mpp_fetch_timestamp() 229 SplitContext_t *s = (SplitContext_t*)sc; in h265d_split_frame() local 292 SplitContext_t *s = (SplitContext_t*)sc; in h265d_split_reset() local 309 SplitContext_t *s = (SplitContext_t *)sc; in h265d_split_deinit() local 321 static RK_S32 pred_weight_table(HEVCContext *s, BitReadCtx_t *gb) in pred_weight_table() 424 static RK_S32 decode_lt_rps(HEVCContext *s, LongTermRPS *rps, BitReadCtx_t *gb) in decode_lt_rps() 488 static RK_S32 set_sps(HEVCContext *s, const HEVCSPS *sps) in set_sps() 708 static RK_S32 hls_slice_header(HEVCContext *s) in hls_slice_header() 1133 static RK_S32 hls_nal_unit(HEVCContext *s) in hls_nal_unit() [all …]
|
| H A D | h265d_sei.c | 58 static RK_S32 decode_nal_sei_frame_packing_arrangement(HEVCContext *s, BitReadCtx_t *gb) in decode_nal_sei_frame_packing_arrangement() 87 static RK_S32 decode_pic_timing(HEVCContext *s, BitReadCtx_t *gb) in decode_pic_timing() 120 static RK_S32 active_parameter_sets(HEVCContext *s, BitReadCtx_t *gb) in active_parameter_sets() 146 static RK_S32 mastering_display_colour_volume(HEVCContext *s, BitReadCtx_t *gb) in mastering_display_colour_volume() 185 static RK_S32 content_light_info(HEVCContext *s, BitReadCtx_t *gb) in content_light_info() 332 static RK_S32 vivid_display_info(HEVCContext *s, BitReadCtx_t *gb, RK_U32 size) in vivid_display_info() 339 static RK_S32 hdr10plus_dynamic_data(HEVCContext *s, BitReadCtx_t *gb, RK_U32 size) in hdr10plus_dynamic_data() 346 static RK_S32 user_data_registered_itu_t_t35(HEVCContext *s, BitReadCtx_t *gb, int size) in user_data_registered_itu_t_t35() 397 static RK_S32 decode_nal_sei_alternative_transfer(HEVCContext *s, BitReadCtx_t *gb) in decode_nal_sei_alternative_transfer() 411 MPP_RET decode_recovery_point(BitReadCtx_t *gb, HEVCContext *s) in decode_recovery_point() [all …]
|
| H A D | h265d_ps.c | 138 int mpp_hevc_decode_short_term_rps(HEVCContext *s, ShortTermRPS *rps, in mpp_hevc_decode_short_term_rps() 274 static RK_S32 decode_profile_tier_level(HEVCContext *s, PTLCommon *ptl) in decode_profile_tier_level() 315 static RK_S32 parse_ptl(HEVCContext *s, PTL *ptl, int max_num_sub_layers) in parse_ptl() 343 static RK_S32 decode_sublayer_hrd(HEVCContext *s, unsigned int nb_cpb, in decode_sublayer_hrd() 364 static RK_S32 decode_hrd(HEVCContext *s, int common_inf_present, in decode_hrd() 431 static RK_S32 parse_vps_extension (HEVCContext *s, HEVCVPS *vps) in parse_vps_extension() 1040 int mpp_hevc_decode_nal_vps(HEVCContext *s) in mpp_hevc_decode_nal_vps() 1179 static RK_S32 decode_vui(HEVCContext *s, HEVCSPS *sps) in decode_vui() 1339 static int scaling_list_data(HEVCContext *s, ScalingList *sl, HEVCSPS *sps) in scaling_list_data() 1413 RK_S32 mpp_hevc_decode_nal_sps(HEVCContext *s) in mpp_hevc_decode_nal_sps() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.c | 102 VP9ParseContext *s = (VP9ParseContext *)ctx->priv_data; in split_parse_frame() local 126 VP9ParseContext *s = (VP9ParseContext *)ctx->priv_data; in vp9d_split_frame() local 257 VP9Context *s = ctx->priv_data; in vp9_ref_frame() local 275 static void vp9_unref_frame( VP9Context *s, VP9Frame *f) in vp9_unref_frame() 302 static RK_S32 vp9_frame_free(VP9Context *s) in vp9_frame_free() 320 static RK_S32 vp9_frame_init(VP9Context *s) in vp9_frame_init() 349 VP9Context *s = mpp_calloc(VP9Context, 1); in vp9d_parser_init() local 376 VP9Context *s = vp9_ctx->priv_data; in vp9d_parser_deinit() local 386 VP9Context *s = ctx->priv_data; in vp9_alloc_frame() local 455 VP9Context *s = ctx->priv_data; in update_size() local [all …]
|
| H A D | vp9d_parser2_syntax.c | 29 static int vp9d_fill_segmentation(VP9Context *s, DXVA_segmentation_VP9 *seg) in vp9d_fill_segmentation() 73 VP9Context *s = ctx->priv_data; in vp9d_fill_picparams() local 185 VP9Context *s = ctx->priv_data; in vp9d_fill_counts() local
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser.c | 88 AV1Context *s = ctx->priv_data; in get_pixel_format() local 173 static void read_global_param(AV1Context *s, RK_S32 type, RK_S32 ref, RK_S32 idx) in read_global_param() 253 static RK_U8 get_shear_params_valid(AV1Context *s, RK_S32 idx) in get_shear_params_valid() 292 static void global_motion_params(AV1Context *s) in global_motion_params() 368 static void skip_mode_params(AV1Context *s) in skip_mode_params() 434 static void coded_lossless_param(AV1Context *s) in coded_lossless_param() 464 static void load_grain_params(AV1Context *s) in load_grain_params() 522 AV1Context *s = ctx->priv_data; in get_tiles_info() local 564 AV1Context *s = ctx->priv_data; in av1d_frame_unref() local 607 AV1Context *s = ctx->priv_data; in set_output_frame() local [all …]
|
| H A D | av1d_api.c | 144 AV1Context *s = (AV1Context *)av1_ctx->priv_data; in av1d_prepare() local
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpegd/ |
| H A D | hal_jpegd_rkv.c | 48 JpegdSyntax *s = syntax; in jpegd_write_rkv_qtbl() local 85 JpegdSyntax *s = jpegd_syntax; in jpegd_write_rkv_htbl() local 276 JpegdSyntax *s = syntax; in setup_output_fmt() local 361 JpegdSyntax *s = syntax; in jpegd_gen_regs() local 621 JpegdSyntax *s = (JpegdSyntax *)syn->dec.syntax.data; in hal_jpegd_rkv_gen_regs() local 779 JpegdSyntax *s = (JpegdSyntax *) task->dec.syntax.data; in hal_jpegd_rkv_wait() local
|
| H A D | hal_jpegd_vdpu1.c | 39 JpegdSyntax *s = syntax; in jpegd_write_code_word_number() local 160 JpegdSyntax *s = syntax; in jpegd_set_stream_offset() local 200 JpegdSyntax *s = syntax; in jpegd_set_chroma_table_id() local 251 JpegdSyntax *s = syntax; in jpegd_setup_pp() local 644 JpegdSyntax *s = syntax; in jpegd_gen_regs() local 1026 JpegdSyntax *s = (JpegdSyntax *)task->dec.syntax.data; in hal_jpegd_vdpu1_wait() local
|
| H A D | hal_jpegd_vdpu2.c | 70 JpegdSyntax *s = syntax; in jpegd_write_code_word_number() local 190 JpegdSyntax *s = syntax; in jpegd_set_chroma_table_id() local 238 JpegdSyntax *s = syntax; in jpegd_set_stream_offset() local 278 JpegdSyntax *s = syntax; in jpegd_setup_pp() local 637 JpegdSyntax *s = syntax; in jpegd_gen_regs() local
|
| H A D | hal_jpegd_common.c | 265 JpegdSyntax *s = syntax; in jpegd_write_qp_ac_dc_table() local 435 MPP_RET jpegd_setup_output_fmt(JpegdHalCtx *ctx, JpegdSyntax *s, RK_S32 output) in jpegd_setup_output_fmt()
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_slice.c | 186 void write_marking(MppWriteCtx *s, H264eMarkingInfo *marking) in write_marking() 545 void h264e_slice_write_header(H264eSlice *slice, MppWriteCtx *s) in h264e_slice_write_header() 733 MppWriteCtx *s = &stream; in h264e_slice_write() local 776 MppWriteCtx *s; member 786 static void init_context(H264eCabac *ctx, RK_S32 qp, RK_S32 model, MppWriteCtx *s) in init_context() 811 MppWriteCtx *s = ctx->s; in h264e_cabac_putbyte() local 934 MppWriteCtx *s = &stream; in h264e_slice_write_pskip() local 1098 MppWriteCtx *s = &stream; in h264e_slice_write_prefix_nal_unit_svc() local
|
| /rockchip-linux_mpp/utils/ |
| H A D | iniparser.c | 69 static char * xstrdup(const char * s) in xstrdup() 91 static unsigned strstrip(char * s) in strstrip() 296 void iniparser_dumpsection_ini(const dictionary * d, const char * s, FILE * f) in iniparser_dumpsection_ini() 330 int iniparser_getsecnkeys(const dictionary * d, const char * s) in iniparser_getsecnkeys() 372 const char ** iniparser_getseckeys(const dictionary * d, const char * s, const char ** keys) in iniparser_getseckeys()
|
| H A D | dictionary.c | 46 static char * xstrdup(const char * s) in xstrdup()
|
| /rockchip-linux_mpp/mpp/common/ |
| H A D | h265_syntax.h | 126 #define IS_IDR(s) (s->nal_unit_type == NAL_IDR_W_RADL || s->nal_unit_type == NAL_IDR_N_LP) argument 127 #define IS_BLA(s) (s->nal_unit_type == NAL_BLA_W_RADL || s->nal_unit_type == NAL_BLA_W_LP || \ argument 129 #define IS_IRAP(s) (s->nal_unit_type >= 16 && s->nal_unit_type <= 23) argument 130 #define IS_CRA(s) (s->nal_unit_type == NAL_CRA_NUT) argument
|
| /rockchip-linux_mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.c | 89 JpegdSyntax *s = ctx->syntax; in jpeg_judge_yuv_mode() local 578 JpegdSyntax *s = ctx->syntax; in jpegd_decode_dri() local 602 JpegdSyntax *s = ctx->syntax; in jpegd_setup_default_dht() local 1054 JpegdSyntax *s = ctx->syntax; in jpegd_allocate_frame() local
|
| /rockchip-linux_mpp/mpp/legacy/ |
| H A D | vpu_api.cpp | 270 VpuCodecContext *s = *ctx; in vpu_open_context() local 421 VpuCodecContext *s = *ctx; in vpu_close_context() local
|
| /rockchip-linux_mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu511.c | 749 H265eVepu511SclCfg *s = ®s->reg_scl; in vepu511_h265_set_scaling_list() local 995 H265eVepu511Param *s = ®s->reg_param; in vepu511_h265_set_me_regs() local 1222 H265eVepu511Frame *s = ®s->reg_frm; in vepu511_h265_set_vsp_filtering() local 1368 H265eVepu511Param *s = ®s->reg_param; in vepu511_h265_set_quant_regs() local 1434 H265eVepu511Sqi *s = ®s->reg_sqi; in vepu511_h265_set_atr_regs() local 1556 H265eVepu511Sqi *s = ®s->reg_sqi; in vepu511_h265_set_smear_regs() local 1686 H265eVepu511Sqi *s = ®s->reg_sqi; in vepu511_h265_set_anti_stripe_regs() local 2535 Vepu511RcRoi *s = ®s->reg_rc_roi; in vepu511_h265e_update_tune_stat() local
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_obj_macro.h | 112 #define FLAG_REC(s, x) ((x & 0xff) | ((s & 0xf) << 8) | (ELEM_FLAG_OFFSET << 12) | (1 << 16) | (0 … argument 113 #define FLAG_REC_INC(s) ((0 & 0xff) | ((s & 0xf) << 8) | (ELEM_FLAG_INCR << 12) | (1 << 16) | (0 … argument 114 #define FLAG_REPLAY(s) ((0 & 0xff) | ((s & 0xf) << 8) | (ELEM_FLAG_OFFSET << 12) | (0 << 16) | (1 … argument
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_enc_ref.c | 356 MppEncRefCfgImpl *s = (MppEncRefCfgImpl *)src; in mpp_enc_ref_cfg_copy() local
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_entropy.c | 38 RK_S32 u, s; in update_prob() local
|