/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_enc.c | 272 return &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_venc_get_q_data() 274 return &ctx->q_data[MTK_Q_DATA_DST]; in mtk_venc_get_q_data() 379 struct mtk_q_data *q_data_src = &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_venc_set_param() 428 struct mtk_q_data *q_data; in vidioc_venc_s_fmt_cap() local 443 q_data = mtk_venc_get_q_data(ctx, f->type); in vidioc_venc_s_fmt_cap() 444 if (!q_data) { in vidioc_venc_s_fmt_cap() 455 q_data->fmt = fmt; in vidioc_venc_s_fmt_cap() 456 ret = vidioc_try_fmt(f, q_data->fmt); in vidioc_venc_s_fmt_cap() 460 q_data->coded_width = f->fmt.pix_mp.width; in vidioc_venc_s_fmt_cap() 461 q_data->coded_height = f->fmt.pix_mp.height; in vidioc_venc_s_fmt_cap() [all …]
|
D | mtk_vcodec_drv.h | 236 struct mtk_q_data q_data[2]; member
|
/drivers/media/platform/ti-vpe/ |
D | vpe.c | 385 struct vpe_q_data q_data[2]; /* src & dst queue data */ member 414 return &ctx->q_data[Q_DATA_SRC]; in get_q_data() 417 return &ctx->q_data[Q_DATA_DST]; in get_q_data() 633 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_us_coefficients() 660 struct vpe_fmt *fmt = ctx->q_data[Q_DATA_SRC].fmt; in set_cfg_and_line_modes() 726 enum v4l2_colorspace clrspc = ctx->q_data[Q_DATA_DST].colorspace; in set_dst_registers() 727 struct vpe_fmt *fmt = ctx->q_data[Q_DATA_DST].fmt; in set_dst_registers() 755 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_dei_regs() 807 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_srcdst_params() 808 struct vpe_q_data *d_q_data = &ctx->q_data[Q_DATA_DST]; in set_srcdst_params() [all …]
|
/drivers/media/platform/ |
D | vim2m.c | 179 struct vim2m_q_data q_data[2]; member 192 return &ctx->q_data[V4L2_M2M_SRC]; in get_q_data() 194 return &ctx->q_data[V4L2_M2M_DST]; in get_q_data() 207 struct vim2m_q_data *q_data; in device_process() local 213 q_data = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in device_process() 215 width = q_data->width; in device_process() 216 height = q_data->height; in device_process() 217 bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in device_process() 233 tile_w = (width * (q_data[V4L2_M2M_DST].fmt->depth >> 3)) in device_process() 240 in_vb->sequence = q_data->sequence++; in device_process() [all …]
|
D | m2m-deinterlace.c | 95 static struct deinterlace_q_data q_data[2]; variable 101 return &q_data[V4L2_M2M_SRC]; in get_q_data() 103 return &q_data[V4L2_M2M_DST]; in get_q_data() 515 struct deinterlace_q_data *q_data; in vidioc_g_fmt() local 521 q_data = get_q_data(f->type); in vidioc_g_fmt() 523 f->fmt.pix.width = q_data->width; in vidioc_g_fmt() 524 f->fmt.pix.height = q_data->height; in vidioc_g_fmt() 525 f->fmt.pix.field = q_data->field; in vidioc_g_fmt() 526 f->fmt.pix.pixelformat = q_data->fmt->fourcc; in vidioc_g_fmt() 528 switch (q_data->fmt->fourcc) { in vidioc_g_fmt() [all …]
|
D | mx2_emmaprp.c | 220 struct emmaprp_q_data q_data[2]; member 229 return &(ctx->q_data[V4L2_M2M_SRC]); in get_q_data() 231 return &(ctx->q_data[V4L2_M2M_DST]); in get_q_data() 454 struct emmaprp_q_data *q_data; in vidioc_g_fmt() local 460 q_data = get_q_data(ctx, f->type); in vidioc_g_fmt() 462 f->fmt.pix.width = q_data->width; in vidioc_g_fmt() 463 f->fmt.pix.height = q_data->height; in vidioc_g_fmt() 465 f->fmt.pix.pixelformat = q_data->fmt->fourcc; in vidioc_g_fmt() 467 f->fmt.pix.bytesperline = q_data->width * 3 / 2; in vidioc_g_fmt() 469 f->fmt.pix.bytesperline = q_data->width * 2; in vidioc_g_fmt() [all …]
|
D | rcar_jpu.c | 859 struct jpu_q_data *q_data; in jpu_s_fmt() local 875 q_data = jpu_get_q_data(ctx, f->type); in jpu_s_fmt() 877 q_data->format = f->fmt.pix_mp; in jpu_s_fmt() 878 q_data->fmtinfo = fmtinfo; in jpu_s_fmt() 885 struct jpu_q_data *q_data; in jpu_g_fmt() local 891 q_data = jpu_get_q_data(ctx, f->type); in jpu_g_fmt() 892 f->fmt.pix_mp = q_data->format; in jpu_g_fmt() 1020 struct jpu_q_data *q_data; in jpu_queue_setup() local 1023 q_data = jpu_get_q_data(ctx, vq->type); in jpu_queue_setup() 1026 if (*nplanes != q_data->format.num_planes) in jpu_queue_setup() [all …]
|
/drivers/media/platform/coda/ |
D | coda-common.c | 86 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, in coda_write_base() argument 92 switch (q_data->fourcc) { in coda_write_base() 96 base_cb = base_y + q_data->bytesperline * q_data->height; in coda_write_base() 97 base_cr = base_cb + q_data->bytesperline * q_data->height / 4; in coda_write_base() 101 base_cr = base_y + q_data->bytesperline * q_data->height; in coda_write_base() 102 base_cb = base_cr + q_data->bytesperline * q_data->height / 4; in coda_write_base() 105 base_cb = base_y + q_data->bytesperline * q_data->height; in coda_write_base() 106 base_cr = base_cb + q_data->bytesperline * q_data->height / 2; in coda_write_base() 371 struct coda_q_data *q_data; in coda_g_fmt() local 374 q_data = get_q_data(ctx, f->type); in coda_g_fmt() [all …]
|
D | coda.h | 202 struct coda_q_data q_data[2]; member 245 void coda_write_base(struct coda_ctx *ctx, struct coda_q_data *q_data, 268 return &(ctx->q_data[V4L2_M2M_SRC]); in get_q_data() 270 return &(ctx->q_data[V4L2_M2M_DST]); in get_q_data()
|
D | coda-bit.c | 347 struct coda_q_data *q_data, u32 fourcc) in coda_alloc_framebuffers() argument 357 width = round_up(q_data->width, 16); in coda_alloc_framebuffers() 358 height = round_up(q_data->height, 16); in coda_alloc_framebuffers() 360 width = round_up(q_data->width, 8); in coda_alloc_framebuffers() 361 height = q_data->height; in coda_alloc_framebuffers() 436 struct coda_q_data *q_data) in coda_alloc_context_buffers() argument 452 if (!ctx->slicebuf.vaddr && q_data->fourcc == V4L2_PIX_FMT_H264) { in coda_alloc_context_buffers() 454 size = (DIV_ROUND_UP(q_data->width, 16) * in coda_alloc_context_buffers() 455 DIV_ROUND_UP(q_data->height, 16)) * 3200 / 8 + 512; in coda_alloc_context_buffers() 472 q_data->fourcc == V4L2_PIX_FMT_H264) in coda_alloc_context_buffers() [all …]
|
/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 1334 struct s5p_jpeg_q_data *q_data = NULL; in s5p_jpeg_g_fmt() local 1345 q_data = get_q_data(ct, f->type); in s5p_jpeg_g_fmt() 1346 BUG_ON(q_data == NULL); in s5p_jpeg_g_fmt() 1348 pix->width = q_data->w; in s5p_jpeg_g_fmt() 1349 pix->height = q_data->h; in s5p_jpeg_g_fmt() 1351 pix->pixelformat = q_data->fmt->fourcc; in s5p_jpeg_g_fmt() 1353 if (q_data->fmt->fourcc != V4L2_PIX_FMT_JPEG) { in s5p_jpeg_g_fmt() 1354 u32 bpl = q_data->w; in s5p_jpeg_g_fmt() 1356 if (q_data->fmt->colplanes == 1) in s5p_jpeg_g_fmt() 1357 bpl = (bpl * q_data->fmt->depth) >> 3; in s5p_jpeg_g_fmt() [all …]
|
/drivers/media/tuners/ |
D | e4000.c | 116 u8 buf[5], i_data[4], q_data[4]; in e4000_set_params() local 245 q_data[i] = (((buf[2] >> 4) & 0x3) << 6) | (buf[1] & 0x3f); in e4000_set_params() 248 swap(q_data[2], q_data[3]); in e4000_set_params() 251 ret = regmap_bulk_write(dev->regmap, 0x50, q_data, 4); in e4000_set_params()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 299 } q_data; member
|
D | bnx2x_sriov.c | 1426 bnx2x_vf_sp(bp, vf, q_data), in bnx2x_vfq_init() 1427 bnx2x_vf_sp_map(bp, vf, q_data), in bnx2x_vfq_init()
|