| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_parser2_syntax.c | 53 static void fill_picture_parameters(const HEVCContext *h, in fill_picture_parameters() argument 56 const HEVCFrame *current_picture = h->ref; in fill_picture_parameters() 57 const HEVCPPS *pps = (HEVCPPS *)h->pps_list[h->sh.pps_id]; in fill_picture_parameters() 58 const HEVCSPS *sps = (HEVCSPS *)h->sps_list[pps->sps_id]; in fill_picture_parameters() 61 const ShortTermRPS *cur_src_rps = h->sh.short_term_rps; in fill_picture_parameters() 72 pp->pps_id = h->sh.pps_id; in fill_picture_parameters() 101 if (h->sh.short_term_ref_pic_set_sps_flag == 0 && h->sh.short_term_rps) { in fill_picture_parameters() 102 pp->ucNumDeltaPocsOfRefRpsIdx = h->sh.short_term_rps->rps_idx_num_delta_pocs; in fill_picture_parameters() 103 pp->wNumBitsForShortTermRPSInSlice = h->sh.short_term_ref_pic_set_size; in fill_picture_parameters() 143 pp->IdrPicFlag = (h->first_nal_type == 19 || h->first_nal_type == 20); in fill_picture_parameters() [all …]
|
| H A D | CMakeLists.txt | 5 h265d_defs.h 6 h265d_parser.h 7 h265d_codec.h
|
| /rockchip-linux_mpp/mpp/codec/dec/h264/ |
| H A D | CMakeLists.txt | 14 h264d_global.h 15 h264d_parse.h 16 h264d_slice.h 17 h264d_sps.h 18 h264d_pps.h 19 h264d_scalist.h 20 h264d_sei.h 21 h264d_dpb.h 22 h264d_init.h 23 h264d_fill.h
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser2_syntax.c | 17 AV1Context *h = ctx->priv_data; in av1d_fill_picparams() local 18 const AV1RawSequenceHeader *seq = h->sequence_header; in av1d_fill_picparams() 19 const AV1RawFrameHeader *frame_header = h->raw_frame_header; in av1d_fill_picparams() 20 const AV1RawFilmGrainParams *film_grain = &h->cur_frame.film_grain; in av1d_fill_picparams() 28 pp->width = h->frame_width; in av1d_fill_picparams() 29 pp->height = h->frame_height; in av1d_fill_picparams() 34 pp->CurrPic.Index7Bits = h->cur_frame.slot_index; in av1d_fill_picparams() 35 pp->CurrPicTextureIndex = h->cur_frame.slot_index; in av1d_fill_picparams() 37 pp->bitdepth = h->bit_depth; in av1d_fill_picparams() 39 pp->frame_header_size = h->frame_header_size; in av1d_fill_picparams() [all …]
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | CMakeLists.txt | 4 hal_vp8e_debug.h 5 hal_vp8e_table.h 6 hal_vp8e_entropy.h 7 hal_vp8e_putbit.h 8 hal_vp8e_base.h 9 hal_vp8e_vepu1_reg.h 10 hal_vp8e_vepu2_reg.h
|
| /rockchip-linux_mpp/mpp/hal/vpu/m2vd/ |
| H A D | CMakeLists.txt | 6 ../../inc/hal_m2vd_api.h 7 ../../../common/m2vd_syntax.h 12 hal_m2vd_base.h 13 hal_m2vd_vdpu1_reg.h 14 hal_m2vd_vdpu2_reg.h 15 hal_m2vd_vpu1.h 16 hal_m2vd_vpu2.h
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avsd/ |
| H A D | CMakeLists.txt | 9 hal_avsd_base.h 10 hal_avsd_vdpu1.h 11 hal_avsd_vdpu2.h 12 hal_avsd_plus.h 13 hal_avsd_vdpu1_reg.h 14 hal_avsd_vdpu2_reg.h 15 hal_avsd_plus_reg.h
|
| /rockchip-linux_mpp/ |
| H A D | .gitignore | 22 config.h 23 config.h.in 24 config.h-new 32 stamp-h 33 stamp-h.in 44 _stdint.h 56 *orc.h 79 /mpp/version.h
|
| H A D | Android.bp | 149 out: ["version.h"], 150 …dware/rockchip/libmpp; git log -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 151 …ockchip/libmpp; git log HEAD~0 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 152 …ockchip/libmpp; git log HEAD~1 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 153 …ockchip/libmpp; git log HEAD~2 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 154 …ockchip/libmpp; git log HEAD~3 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 155 …ockchip/libmpp; git log HEAD~4 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 156 …ockchip/libmpp; git log HEAD~5 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 157 …ockchip/libmpp; git log HEAD~6 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… 158 …ockchip/libmpp; git log HEAD~7 -1 --oneline --date=short --pretty=format:\"%h author: %<|(30)%an %… [all …]
|
| /rockchip-linux_mpp/mpp/hal/vpu/h263d/ |
| H A D | CMakeLists.txt | 5 hal_h263d_base.h 6 hal_h263d_vdpu1.h 7 hal_h263d_vdpu2.h 8 hal_h263d_vdpu1_reg.h 9 hal_h263d_vdpu2_reg.h
|
| /rockchip-linux_mpp/mpp/hal/vpu/mpg4d/ |
| H A D | CMakeLists.txt | 5 hal_m4vd_com.h 6 hal_m4vd_vdpu1.h 7 hal_m4vd_vdpu2.h 8 hal_m4vd_vdpu1_reg.h 9 hal_m4vd_vdpu2_reg.h
|
| /rockchip-linux_mpp/osal/inc/ |
| H A D | mpp_hash.h | 50 static inline void INIT_HLIST_NODE(struct hlist_node *h) in INIT_HLIST_NODE() argument 52 h->next = NULL; in INIT_HLIST_NODE() 53 h->pprev = NULL; in INIT_HLIST_NODE() 56 static inline int hlist_unhashed(const struct hlist_node *h) in hlist_unhashed() argument 58 return !h->pprev; in hlist_unhashed() 61 static inline int hlist_empty(const struct hlist_head *h) in hlist_empty() argument 63 return !READ_ONCE(h->first); in hlist_empty() 91 static inline void hlist_add_head(struct hlist_node *n, struct hlist_head *h) in hlist_add_head() argument 93 struct hlist_node *first = h->first; in hlist_add_head() 97 WRITE_ONCE(h->first, n); in hlist_add_head() [all …]
|
| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_syntax.c | 40 static void fill_picture_parameters(const H265eCtx *h, in fill_picture_parameters() argument 43 const H265ePps *pps = (H265ePps *)&h->pps; in fill_picture_parameters() 44 const H265eSps *sps = (H265eSps *)&h->sps; in fill_picture_parameters() 45 MppEncCfgSet *cfg = h->cfg; in fill_picture_parameters() 48 pp->pic_width = h->cfg->prep.width; in fill_picture_parameters() 49 pp->pic_height = h->cfg->prep.height; in fill_picture_parameters() 50 pp->hor_stride = h->cfg->prep.hor_stride; in fill_picture_parameters() 51 pp->ver_stride = h->cfg->prep.ver_stride; in fill_picture_parameters() 52 pp->pps_id = h->slice->m_ppsId; in fill_picture_parameters() 146 static void fill_slice_parameters( const H265eCtx *h, in fill_slice_parameters() argument [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 36 RK_S32 h; member 128 if (cfg->h < 4 || cfg->h > 1088) { in check_input_cmd() 129 mpp_err("invalid height %d\n", cfg->h); in check_input_cmd() 161 static inline size_t get_frm_size(RK_S32 fmt, int w, int h) in get_frm_size() argument 165 return w * h * 2; in get_frm_size() 167 return w * h * 3 / 2; in get_frm_size() 174 static void iep2_test_set_img(iep_com_ctx *ctx, int w, int h, in iep2_test_set_img() argument 177 RK_S32 y_size = w * h; in iep2_test_set_img() 199 size_t srcfrmsize = get_frm_size(cfg->src_fmt, cfg->w, cfg->h); in iep2_test() 200 size_t dstfrmsize = get_frm_size(cfg->dst_fmt, cfg->w, cfg->h); in iep2_test() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkenc/common/ |
| H A D | vepu510_common.c | 14 RK_S32 w, RK_S32 h) in vepu510_set_roi() argument 41 if (region->x + region->w > w || region->y + region->h > h) in vepu510_set_roi() 57 region->x, region->y, region->w, region->h, w, in vepu510_set_roi() 58 h); in vepu510_set_roi() 68 reg_regions->roi_pos_rb.roi_rb_y = MPP_ALIGN(region->y + region->h, 16) >> 4; in vepu510_set_roi()
|
| H A D | vepu541_common.c | 27 RK_S32 vepu541_get_roi_buf_size(RK_S32 w, RK_S32 h) in vepu541_get_roi_buf_size() argument 30 RK_S32 stride_v = MPP_ALIGN(h, 64) / 16; in vepu541_get_roi_buf_size() 37 MPP_RET vepu541_set_one_roi(void *buf, MppEncROIRegion *region, RK_S32 w, RK_S32 h) in vepu541_set_one_roi() argument 41 RK_S32 mb_h = MPP_ALIGN(h, 16) / 16; in vepu541_set_one_roi() 52 RK_S32 roi_height = (region->h + 15) / 16; in vepu541_set_one_roi() 91 MPP_RET vepu541_set_roi(void *buf, MppEncROICfg *roi, RK_S32 w, RK_S32 h) in vepu541_set_roi() argument 96 RK_S32 mb_h = MPP_ALIGN(h, 16) / 16; in vepu541_set_roi() 119 if (w <= 0 || h <= 0) { in vepu541_set_roi() 120 mpp_err_f("invalid size [%d:%d]\n", w, h); in vepu541_set_roi() 132 if (region->x + region->w > w || region->y + region->h > h) in vepu541_set_roi() [all …]
|
| H A D | vepu541_common.h | 105 RK_S32 vepu541_get_roi_buf_size(RK_S32 w, RK_S32 h); 106 MPP_RET vepu541_set_roi(void *buf, MppEncROICfg *roi, RK_S32 w, RK_S32 h); 107 MPP_RET vepu541_set_one_roi(void *buf, MppEncROIRegion *region, RK_S32 w, RK_S32 h);
|
| H A D | vepu511_common.c | 102 MPP_RET vepu511_set_roi(Vepu511RoiCfg *roi_reg_base, MppEncROICfg * roi, RK_S32 w, RK_S32 h) in vepu511_set_roi() argument 124 if (region->x + region->w > w || region->y + region->h > h) in vepu511_set_roi() 138 region->x, region->y, region->w, region->h, w, h); in vepu511_set_roi() 149 reg_regions->roi_pos_rb.roi_rb_y = MPP_ALIGN(region->y + region->h, 16) >> 4; in vepu511_set_roi()
|
| /rockchip-linux_mpp/mpp/codec/dec/m2v/ |
| H A D | CMakeLists.txt | 6 ../../inc/m2vd_api.h 14 m2vd_parser.h 15 m2vd_codec.h 16 m2vd_com.h
|
| /rockchip-linux_mpp/mpp/hal/rkenc/jpege/ |
| H A D | CMakeLists.txt | 8 hal_jpege_vepu540c_reg.h 9 hal_jpege_vepu511_reg.h 10 hal_jpege_vpu720_reg.h 11 hal_jpege_vpu720.h
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | CMakeLists.txt | 14 avs2d_global.h 15 avs2d_parse.h 16 avs2d_ps.h 17 avs2d_dpb.h
|
| /rockchip-linux_mpp/mpp/hal/rkenc/h265e/ |
| H A D | CMakeLists.txt | 10 hal_h265e_vepu541_reg.h 11 hal_h265e_vepu580_reg.h 12 hal_h265e_vepu510_reg.h 13 hal_h265e_vepu511_reg.h
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpp_enc_roi_utils.c | 128 RK_S32 h; member 189 static MPP_RET vepu54x_h265_set_roi(void *dst_buf, void *src_buf, RK_S32 w, RK_S32 h) in vepu54x_h265_set_roi() argument 194 RK_S32 mb_h = MPP_ALIGN(h, 64) / 64; in vepu54x_h265_set_roi() 227 RK_S32 mb_h = MPP_ALIGN(ctx->h, 16) / 16; in gen_vepu54x_roi() 247 if (ctx->w <= 0 || ctx->h <= 0) { in gen_vepu54x_roi() 248 mpp_err_f("invalid size [%d:%d]\n", ctx->w, ctx->h); in gen_vepu54x_roi() 255 if (region->x + region->w > ctx->w || region->y + region->h > ctx->h) in gen_vepu54x_roi() 268 region->x, region->y, region->w, region->h, ctx->w, ctx->h); in gen_vepu54x_roi() 281 RK_S32 roi_height = (region->h + 15) / 16; in gen_vepu54x_roi() 320 roi_height = (region->h + 64) / 64; in gen_vepu54x_roi() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | CMakeLists.txt | 6 ../../inc/vp8d_api.h 11 vp8d_parser.h 12 vp8d_codec.h
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8d/ |
| H A D | CMakeLists.txt | 6 ../../inc/hal_vp8d_api.h 7 ../../../common/vp8d_syntax.h 12 hal_vp8d_base.h
|