Lines Matching refs:q_data_dst
764 const struct coda_q_data *q_data_dst; in coda_try_fmt_vid_out() local
775 q_data_dst = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in coda_try_fmt_vid_out()
776 codec = coda_find_codec(dev, f->fmt.pix.pixelformat, q_data_dst->fourcc); in coda_try_fmt_vid_out()
1285 struct coda_q_data *q_data_dst; in coda_enum_framesizes() local
1293 q_data_dst = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in coda_enum_framesizes()
1295 q_data_dst->fourcc); in coda_enum_framesizes()
1971 struct coda_q_data *q_data_src, *q_data_dst; in coda_start_streaming() local
2023 q_data_dst = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in coda_start_streaming()
2024 q_data_dst->width = round_up(q_data_src->width, 16); in coda_start_streaming()
2025 q_data_dst->height = round_up(q_data_src->height, 16); in coda_start_streaming()
2026 q_data_dst->bytesperline = q_data_dst->width; in coda_start_streaming()
2029 q_data_dst->sizeimage = in coda_start_streaming()
2030 q_data_dst->bytesperline * in coda_start_streaming()
2031 q_data_dst->height * 3 / 2; in coda_start_streaming()
2032 if (q_data_dst->fourcc != V4L2_PIX_FMT_YUV420) in coda_start_streaming()
2033 q_data_dst->fourcc = V4L2_PIX_FMT_NV12; in coda_start_streaming()
2035 q_data_dst->sizeimage = in coda_start_streaming()
2036 q_data_dst->bytesperline * in coda_start_streaming()
2037 q_data_dst->height * 2; in coda_start_streaming()
2038 q_data_dst->fourcc = V4L2_PIX_FMT_YUV422P; in coda_start_streaming()
2040 q_data_dst->rect.left = 0; in coda_start_streaming()
2041 q_data_dst->rect.top = 0; in coda_start_streaming()
2042 q_data_dst->rect.width = q_data_src->width; in coda_start_streaming()
2043 q_data_dst->rect.height = q_data_src->height; in coda_start_streaming()
2054 q_data_dst = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in coda_start_streaming()
2055 if ((q_data_src->rect.width != q_data_dst->width && in coda_start_streaming()
2056 round_up(q_data_src->rect.width, 16) != q_data_dst->width) || in coda_start_streaming()
2057 (q_data_src->rect.height != q_data_dst->height && in coda_start_streaming()
2058 round_up(q_data_src->rect.height, 16) != q_data_dst->height)) { in coda_start_streaming()
2061 q_data_dst->width, q_data_dst->height); in coda_start_streaming()
2072 if (q_data_dst->fourcc == V4L2_PIX_FMT_JPEG) in coda_start_streaming()