Searched refs:mtk_vcodec_enc_ctx (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.h | 43 int mtk_venc_unlock(struct mtk_vcodec_enc_ctx *ctx); 44 int mtk_venc_lock(struct mtk_vcodec_enc_ctx *ctx); 47 void mtk_vcodec_enc_release(struct mtk_vcodec_enc_ctx *ctx); 48 int mtk_vcodec_enc_ctrls_setup(struct mtk_vcodec_enc_ctx *ctx); 49 void mtk_vcodec_enc_set_default_params(struct mtk_vcodec_enc_ctx *ctx);
|
H A D | mtk_vcodec_enc_drv.h | 128 struct mtk_vcodec_enc_ctx { struct 198 struct mtk_vcodec_enc_ctx *curr_ctx; 220 static inline struct mtk_vcodec_enc_ctx *fh_to_enc_ctx(struct v4l2_fh *fh) in fh_to_enc_ctx() 222 return container_of(fh, struct mtk_vcodec_enc_ctx, fh); in fh_to_enc_ctx() 225 static inline struct mtk_vcodec_enc_ctx *ctrl_to_enc_ctx(struct v4l2_ctrl *ctrl) in ctrl_to_enc_ctx() 227 return container_of(ctrl->handler, struct mtk_vcodec_enc_ctx, ctrl_hdl); in ctrl_to_enc_ctx() 232 wake_up_enc_ctx(struct mtk_vcodec_enc_ctx *ctx, unsigned int reason, unsigned int hw_id) in wake_up_enc_ctx()
|
H A D | mtk_vcodec_enc.c | 45 struct mtk_vcodec_enc_ctx *ctx = ctrl_to_enc_ctx(ctrl); in vidioc_venc_s_ctrl() 162 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(fh); in vidioc_enum_framesizes() 204 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(priv); in mtk_vcodec_enc_get_chip_name() 224 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(priv); in vidioc_venc_querycap() 237 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(priv); in vidioc_venc_s_parm() 260 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(priv); in vidioc_venc_g_parm() 274 static struct mtk_q_data *mtk_venc_get_q_data(struct mtk_vcodec_enc_ctx *ctx, in mtk_venc_get_q_data() 294 static int vidioc_try_fmt_out(struct mtk_vcodec_enc_ctx *ctx, struct v4l2_format *f, in vidioc_try_fmt_out() 367 static void mtk_venc_set_param(struct mtk_vcodec_enc_ctx *ctx, in mtk_venc_set_param() 417 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(priv); in vidioc_venc_s_fmt_cap() [all …]
|
H A D | venc_drv_if.h | 134 int venc_if_init(struct mtk_vcodec_enc_ctx *ctx, unsigned int fourcc); 141 int venc_if_deinit(struct mtk_vcodec_enc_ctx *ctx); 150 int venc_if_set_param(struct mtk_vcodec_enc_ctx *ctx, 163 int venc_if_encode(struct mtk_vcodec_enc_ctx *ctx,
|
H A D | venc_drv_if.c | 19 int venc_if_init(struct mtk_vcodec_enc_ctx *ctx, unsigned int fourcc) in venc_if_init() 41 int venc_if_set_param(struct mtk_vcodec_enc_ctx *ctx, in venc_if_set_param() 53 int venc_if_encode(struct mtk_vcodec_enc_ctx *ctx, in venc_if_encode() 85 int venc_if_deinit(struct mtk_vcodec_enc_ctx *ctx) in venc_if_deinit()
|
H A D | venc_drv_base.h | 22 int (*init)(struct mtk_vcodec_enc_ctx *ctx);
|
H A D | venc_vpu_if.h | 37 struct mtk_vcodec_enc_ctx *ctx;
|
H A D | mtk_vcodec_enc_drv.c | 86 struct mtk_vcodec_enc_ctx *ctx; in mtk_vcodec_enc_irq_handler() 117 struct mtk_vcodec_enc_ctx *ctx = NULL; in fops_vcodec_open() 206 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(file->private_data); in fops_vcodec_release()
|
H A D | venc_vpu_if.c | 47 struct mtk_vcodec_enc_ctx *ctx; in vpu_enc_check_ap_inst()
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_vp8_if.c | 131 struct mtk_vcodec_enc_ctx *ctx; 211 struct mtk_vcodec_enc_ctx *ctx = (struct mtk_vcodec_enc_ctx *)inst->ctx; in vp8_enc_wait_venc_done() 314 static int vp8_enc_init(struct mtk_vcodec_enc_ctx *ctx) in vp8_enc_init() 348 struct mtk_vcodec_enc_ctx *ctx = inst->ctx; in vp8_enc_encode()
|
H A D | venc_h264_if.c | 223 struct mtk_vcodec_enc_ctx *ctx; 412 struct mtk_vcodec_enc_ctx *ctx = (struct mtk_vcodec_enc_ctx *)inst->ctx; in h264_enc_wait_venc_done() 516 struct mtk_vcodec_enc_ctx *ctx = inst->ctx; in h264_encode_frame() 585 static int h264_enc_init(struct mtk_vcodec_enc_ctx *ctx) in h264_enc_init() 623 struct mtk_vcodec_enc_ctx *ctx = inst->ctx; in h264_enc_encode() 753 struct mtk_vcodec_enc_ctx *ctx = inst->ctx; in h264_enc_set_param()
|
/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_util.c | 55 struct mtk_vcodec_enc_ctx *enc_ctx = priv; in mtk_vcodec_mem_alloc() 88 struct mtk_vcodec_enc_ctx *enc_ctx = priv; in mtk_vcodec_mem_free()
|
H A D | mtk_vcodec_intr.h | 13 struct mtk_vcodec_enc_ctx;
|
H A D | mtk_vcodec_intr.c | 35 struct mtk_vcodec_enc_ctx *ctx; in mtk_vcodec_wait_for_done_ctx()
|
H A D | mtk_vcodec_fw_vpu.c | 64 struct mtk_vcodec_enc_ctx *ctx; in mtk_vcodec_vpu_reset_enc_handler()
|