Lines Matching refs:q_data

848 	struct jpu_q_data *q_data;  in jpu_s_fmt()  local
864 q_data = jpu_get_q_data(ctx, f->type); in jpu_s_fmt()
866 q_data->format = f->fmt.pix_mp; in jpu_s_fmt()
867 q_data->fmtinfo = fmtinfo; in jpu_s_fmt()
874 struct jpu_q_data *q_data; in jpu_g_fmt() local
880 q_data = jpu_get_q_data(ctx, f->type); in jpu_g_fmt()
881 f->fmt.pix_mp = q_data->format; in jpu_g_fmt()
1009 struct jpu_q_data *q_data; in jpu_queue_setup() local
1012 q_data = jpu_get_q_data(ctx, vq->type); in jpu_queue_setup()
1015 if (*nplanes != q_data->format.num_planes) in jpu_queue_setup()
1019 unsigned int q_size = q_data->format.plane_fmt[i].sizeimage; in jpu_queue_setup()
1027 *nplanes = q_data->format.num_planes; in jpu_queue_setup()
1030 sizes[i] = q_data->format.plane_fmt[i].sizeimage; in jpu_queue_setup()
1039 struct jpu_q_data *q_data; in jpu_buf_prepare() local
1042 q_data = jpu_get_q_data(ctx, vb->vb2_queue->type); in jpu_buf_prepare()
1054 for (i = 0; i < q_data->format.num_planes; i++) { in jpu_buf_prepare()
1055 unsigned long size = q_data->format.plane_fmt[i].sizeimage; in jpu_buf_prepare()
1079 struct jpu_q_data *q_data, adjust; in jpu_buf_queue() local
1091 q_data = &ctx->out_q; in jpu_buf_queue()
1093 adjust = *q_data; in jpu_buf_queue()
1100 if (adjust.format.width != q_data->format.width || in jpu_buf_queue()
1101 adjust.format.height != q_data->format.height) in jpu_buf_queue()
1126 struct jpu_q_data *q_data = &ctx->out_q; in jpu_buf_finish() local
1141 cpu_to_be16(q_data->format.height); in jpu_buf_finish()
1143 cpu_to_be16(q_data->format.width); in jpu_buf_finish()
1144 *(buffer + JPU_JPEG_SUBS_OFFSET) = q_data->fmtinfo->subsampling; in jpu_buf_finish()
1150 struct jpu_q_data *q_data = jpu_get_q_data(ctx, vq->type); in jpu_start_streaming() local
1152 q_data->sequence = 0; in jpu_start_streaming()
1352 struct jpu_q_data *q_data; in jpu_device_run() local
1373 q_data = &ctx->out_q; in jpu_device_run()
1376 q_data = &ctx->cap_q; in jpu_device_run()
1379 w = q_data->format.width; in jpu_device_run()
1380 h = q_data->format.height; in jpu_device_run()
1381 bpl = q_data->format.plane_fmt[0].bytesperline; in jpu_device_run()
1382 num_planes = q_data->fmtinfo->num_planes; in jpu_device_run()
1383 subsampling = q_data->fmtinfo->subsampling; in jpu_device_run()
1458 if (q_data->fmtinfo->num_planes > 1) in jpu_device_run()