Searched refs:vdec_pdata (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c31 switch (dev->vdec_pdata->hw_arch) {
37 mtk_v4l2_vdec_err(ctx, "hw arch %d not supported", dev->vdec_pdata->hw_arch);
169 if (dev->vdec_pdata->is_subdev_supported)
213 if (ctx->dev->vdec_pdata->is_subdev_supported) {
232 ret = dev->vdec_pdata->ctrls_setup(ctx);
269 ctx->dev->vdec_pdata->init_vdec_params(ctx);
374 dev->vdec_pdata = of_device_get_match_data(&pdev->dev);
397 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) {
460 if (dev->vdec_pdata->is_subdev_supported) {
481 if (dev->vdec_pdata
[all...]
H A Dmtk_vcodec_dec_pm.c115 if (vdec_dev->vdec_pdata->is_subdev_supported) {
133 if (vdec_dev->vdec_pdata->is_subdev_supported) {
180 if (vdec_dev->vdec_pdata->is_subdev_supported) {
236 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) &&
256 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) &&
H A Dvdec_drv_if.c19 enum mtk_vdec_hw_arch hw_arch = ctx->dev->vdec_pdata->hw_arch;
24 if (!ctx->dev->vdec_pdata->is_subdev_supported) {
H A Dmtk_vcodec_dec.c38 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
154 INIT_WORK(&ctx->decode_work, ctx->dev->vdec_pdata->worker);
164 q_data->fmt = ctx->dev->vdec_pdata->default_out_fmt;
176 q_data->fmt = ctx->dev->vdec_pdata->default_cap_fmt;
228 if (ctx->dev->vdec_pdata->uses_stateless_api)
310 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
328 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
424 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
550 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
582 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
[all...]
H A Dmtk_vcodec_dec_drv.h236 * @vdec_pdata: decoder IC-specific data
277 const struct mtk_vcodec_dec_pdata *vdec_pdata; member in struct:mtk_vcodec_dec_dev
H A Dvdec_vpu_if.c161 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) {
218 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) {
H A Dmtk_vcodec_dec_stateless.c375 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) ||
463 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
743 const struct mtk_vcodec_dec_pdata *pdata = dev->vdec_pdata;
839 if (!ctx->dev->vdec_pdata->is_subdev_supported)
/linux-master/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_util.c133 if (vdec_dev->vdec_pdata->is_subdev_supported) {
156 if (vdec_dev->vdec_pdata->is_subdev_supported) {
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c470 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx);
536 ctx->dev->vdec_pdata->cap_to_disp(ctx, !!err, lat_buf->src_buf_req);
726 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx);
813 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE)
H A Dvdec_hevc_req_multi_if.c806 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx);
964 ctx->dev->vdec_pdata->cap_to_disp(ctx, !!err, lat_buf->src_buf_req);
1059 if (!h_vdec || inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE)
H A Dvdec_vp9_req_lat_if.c1922 if (instance->ctx->dev->vdec_pdata->hw_arch != MTK_VDEC_PURE_SINGLE_CORE)
1991 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx);
2121 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE)
2149 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx);
2190 ctx->dev->vdec_pdata->cap_to_disp(ctx, 0, lat_buf->src_buf_req);
2200 ctx->dev->vdec_pdata->cap_to_disp(ctx, 1, lat_buf->src_buf_req);
H A Dvdec_h264_req_if.c349 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx);
H A Dvdec_vp8_req_if.c336 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx);
H A Dvdec_av1_req_lat_if.c2158 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx);
2198 ctx->dev->vdec_pdata->cap_to_disp(ctx, 0, lat_buf->src_buf_req);
2207 ctx->dev->vdec_pdata->cap_to_disp(ctx, 1, lat_buf->src_buf_req);

Completed in 313 milliseconds