Home
last modified time | relevance | path

Searched refs:q_data_cap (Results 1 – 2 of 2) sorted by relevance

/drivers/media/platform/imx-jpeg/
Dmxc-jpeg.c807 struct mxc_jpeg_q_data *q_data_cap; in mxc_jpeg_config_dec_desc() local
825 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_config_dec_desc()
826 desc->imgsize = q_data_cap->w_adjusted << 16 | q_data_cap->h_adjusted; in mxc_jpeg_config_dec_desc()
827 img_fmt = mxc_jpeg_fourcc_to_imgfmt(q_data_cap->fmt->fourcc); in mxc_jpeg_config_dec_desc()
830 desc->line_pitch = q_data_cap->bytesperline[0]; in mxc_jpeg_config_dec_desc()
929 struct mxc_jpeg_q_data *q_data_cap; in mxc_jpeg_source_change() local
934 q_data_cap = mxc_jpeg_get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in mxc_jpeg_source_change()
935 if (q_data_cap->fmt != jpeg_src_buf->fmt || in mxc_jpeg_source_change()
936 q_data_cap->w != jpeg_src_buf->w || in mxc_jpeg_source_change()
937 q_data_cap->h != jpeg_src_buf->h) { in mxc_jpeg_source_change()
[all …]
/drivers/media/test-drivers/vicodec/
Dvicodec-core.c1064 struct vicodec_q_data *q_data_cap; in vidioc_s_fmt_vid_out() local
1072 q_data_cap = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in vidioc_s_fmt_vid_out()
1100 if (vb2_is_busy(vq_cap) && size > q_data_cap->sizeimage) in vidioc_s_fmt_vid_out()
1109 q_data_cap->coded_width = coded_w; in vidioc_s_fmt_vid_out()
1110 q_data_cap->coded_height = coded_h; in vidioc_s_fmt_vid_out()
1111 q_data_cap->sizeimage = size; in vidioc_s_fmt_vid_out()