Home
last modified time | relevance | path

Searched refs:pic_h (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_if.c225 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in get_pic_info()
233 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in get_pic_info()
239 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in get_pic_info()
249 ctx->last_decoded_picinfo.pic_h, in get_pic_info()
250 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in get_pic_info()
H A Dvdec_vp8_req_if.c124 data[1] = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info()
129 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp8_slice_get_pic_info()
134 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info()
140 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_vp8_slice_get_pic_info()
H A Dvdec_vp9_if.c147 unsigned int pic_h; member
380 (vsi->pic_h > max_pic_h)) { in vp9_alloc_work_buf()
381 mtk_vdec_err(inst->ctx, "Invalid w/h %d/%d", vsi->pic_w, vsi->pic_h); in vp9_alloc_work_buf()
387 vsi->pic_h, vsi->buf_w, vsi->buf_h); in vp9_alloc_work_buf()
592 vsi->pic_w, vsi->pic_h); in vp9_decode_end_proc()
700 pic->pic_h = inst->vsi->pic_h; in get_pic_info()
705 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
976 cr->height = inst->vsi->pic_h; in get_crop_info()
H A Dvdec_h264_req_multi_if.c350 data[1] = ctx->picinfo.pic_h; in vdec_h264_slice_get_pic_info()
355 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_h264_slice_get_pic_info()
362 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_h264_slice_get_pic_info()
368 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in vdec_h264_slice_get_pic_info()
378 ctx->last_decoded_picinfo.pic_h, in vdec_h264_slice_get_pic_info()
379 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_h264_slice_get_pic_info()
389 cr->height = inst->ctx->picinfo.pic_h; in vdec_h264_slice_get_crop_info()
H A Dvdec_hevc_req_multi_if.c685 data[1] = ctx->picinfo.pic_h; in vdec_hevc_slice_get_pic_info()
690 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_hevc_slice_get_pic_info()
697 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vdec_hevc_slice_get_pic_info()
703 ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h) { in vdec_hevc_slice_get_pic_info()
713 ctx->last_decoded_picinfo.pic_h, in vdec_hevc_slice_get_pic_info()
714 ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_hevc_slice_get_pic_info()
724 cr->height = inst->ctx->picinfo.pic_h; in vdec_hevc_slice_get_crop_info()
H A Dvdec_vp8_if.c285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
555 cr->height = inst->vsi->pic.pic_h; in get_crop_info()
H A Dvdec_h264_if.c247 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
H A Dvdec_av1_req_lat_if.c1979 mtk_vdec_debug(ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_av1_slice_get_pic_info()
1982 data[1] = ctx->picinfo.pic_h; in vdec_av1_slice_get_pic_info()
1987 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, VCODEC_DEC_ALIGNED_64); in vdec_av1_slice_get_pic_info()
2007 cr->height = ctx->picinfo.pic_h; in vdec_av1_slice_get_crop_info()
H A Dvdec_vp9_req_lat_if.c1938 mtk_vdec_debug(instance->ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h); in vdec_vp9_slice_get_pic_info()
1941 data[1] = ctx->picinfo.pic_h; in vdec_vp9_slice_get_pic_info()
1946 ctx->picinfo.buf_h = ALIGN(ctx->picinfo.pic_h, 64); in vdec_vp9_slice_get_pic_info()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_vp8_if.c68 u32 pic_h; member
254 ac_tag[8] = inst->vsi->config.pic_h; in vp8_enc_compose_one_frame()
255 ac_tag[9] = inst->vsi->config.pic_h >> 8; in vp8_enc_compose_one_frame()
387 inst->vsi->config.pic_h = enc_prm->height; in vp8_enc_set_param()
H A Dvenc_h264_if.c85 u32 pic_h; member
156 u32 pic_h; member
715 inst->vsi->config.pic_h = enc_prm->height; in h264_enc_set_vsi_configs()
734 inst->vsi_34->config.pic_h = enc_prm->height; in h264_enc_set_vsi_34_configs()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateful.c245 ctx->last_decoded_picinfo.pic_h == 0 || in mtk_vdec_pic_info_update()
257 ctx->last_decoded_picinfo.pic_h == ctx->picinfo.pic_h) in mtk_vdec_pic_info_update()
262 ctx->last_decoded_picinfo.pic_h, ctx->picinfo.pic_w, in mtk_vdec_pic_info_update()
263 ctx->picinfo.pic_h, ctx->last_decoded_picinfo.buf_w, in mtk_vdec_pic_info_update()
513 ctx->picinfo.pic_h, dst_q_data->sizeimage[0], dst_q_data->sizeimage[1]); in vb2ops_vdec_stateful_buf_queue()
H A Dmtk_vcodec_dec.c383 s->r.height = ctx->picinfo.pic_h; in vidioc_vdec_g_selection()
429 s->r.height = ctx->picinfo.pic_h; in vidioc_vdec_s_selection()
523 ctx->picinfo.pic_h = pix_mp->height; in vidioc_vdec_s_fmt()
560 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vidioc_vdec_s_fmt()
886 ctx->last_decoded_picinfo.pic_h, in vb2ops_vdec_stop_streaming()
887 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in vb2ops_vdec_stop_streaming()
924 (ctx->last_decoded_picinfo.pic_h != ctx->picinfo.pic_h)) in m2mops_vdec_job_ready()
H A Dmtk_vcodec_dec_drv.h69 unsigned int pic_h; member
H A Dmtk_vcodec_dec_stateless.c420 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vcodec_get_pic_info()
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_hw.h29 u32 pic_h; member
H A Dmtk_jpeg_dec_parse.c92 param->pic_h = word; in mtk_jpeg_do_parse()
H A Dmtk_jpeg_dec_hw.c106 param->mcu_h = (param->pic_h + (1 << factor_h) - 1) >> factor_h; in mtk_jpeg_calc_mcu()
108 param->unit_num = ((param->pic_w + 7) >> 3) * ((param->pic_h + 7) >> 3); in mtk_jpeg_calc_mcu()
H A Dmtk_jpeg_core.c740 q_data->pix_mp.height != param->pic_h) { in mtk_jpeg_check_resolution_change()
765 q_data->pix_mp.height = param->pic_h; in mtk_jpeg_set_queue_data()
786 param->pic_w, param->pic_h, in mtk_jpeg_set_queue_data()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c126 ctx->picinfo.pic_w, ctx->picinfo.pic_h, in mtk_vdec_dbgfs_read()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch30422 +# uint16_t pic_h;
31317 + uint16_t pic_h;
31767 + st->height = c->pic_h;
36415 + y->pic_h = pic_height_y;