Home
last modified time | relevance | path

Searched refs:sizeimage (Results 1 – 25 of 225) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c100 unsigned int sizeimage = pix_fmt->sizeimage; in cedrus_prepare_format() local
116 sizeimage = max_t(u32, SZ_1K, sizeimage); in cedrus_prepare_format()
127 sizeimage = bytesperline * height; in cedrus_prepare_format()
130 sizeimage += bytesperline * height / 2; in cedrus_prepare_format()
142 sizeimage = bytesperline * height; in cedrus_prepare_format()
145 sizeimage += bytesperline * height / 2; in cedrus_prepare_format()
154 pix_fmt->sizeimage = sizeimage; in cedrus_prepare_format()
400 if (sizes[0] < pix_fmt->sizeimage) in cedrus_queue_setup()
403 sizes[0] = pix_fmt->sizeimage; in cedrus_queue_setup()
449 if (vb2_plane_size(vb, 0) < pix_fmt->sizeimage) in cedrus_buf_prepare()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/gl860/
Dgl860.c226 .sizeimage = 640 * 480,
232 .sizeimage = 800 * 598,
238 .sizeimage = 1280 * 1024,
244 .sizeimage = 1600 * 1198,
253 .sizeimage = 640 * 480,
259 .sizeimage = 800 * 600,
265 .sizeimage = 1280 * 960,
271 .sizeimage = 1600 * 1200,
280 .sizeimage = 640 * 480,
286 .sizeimage = 800 * 600,
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c267 pix->plane_fmt[i].sizeimage = pix->height / in video_mbus_to_pix_mp()
340 if (sizes[i] < format->plane_fmt[i].sizeimage) in video_queue_setup()
349 sizes[i] = format->plane_fmt[i].sizeimage; in video_queue_setup()
393 if (format->plane_fmt[i].sizeimage > vb2_plane_size(vb, i)) in video_buf_prepare()
396 vb2_set_plane_payload(vb, i, format->plane_fmt[i].sizeimage); in video_buf_prepare()
660 u32 sizeimage[3] = { 0 }; in __video_try_fmt() local
672 sizeimage[i] = clamp_t(u32, p->sizeimage, in __video_try_fmt()
699 pix_mp->plane_fmt[i].sizeimage = pix_mp->height / in __video_try_fmt()
716 p->sizeimage = clamp_t(u32, p->sizeimage, in __video_try_fmt()
719 lines = p->sizeimage / p->bytesperline; in __video_try_fmt()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec.c580 q_data->sizeimage[0] = DFT_CFG_WIDTH * DFT_CFG_HEIGHT; in mtk_vcodec_dec_set_default_params()
599 q_data->sizeimage[0] = q_data->coded_width * q_data->coded_height; in mtk_vcodec_dec_set_default_params()
601 q_data->sizeimage[1] = q_data->sizeimage[0] / 2; in mtk_vcodec_dec_set_default_params()
706 pix_fmt_mp->plane_fmt[0].sizeimage = in vidioc_try_fmt()
711 pix_fmt_mp->plane_fmt[1].sizeimage = in vidioc_try_fmt()
753 if (pix_fmt_mp->plane_fmt[0].sizeimage == 0) { in vidioc_try_fmt_vid_out_mplane()
886 q_data->sizeimage[0] = pix_mp->plane_fmt[0].sizeimage; in vidioc_vdec_s_fmt()
1015 q_data->sizeimage[0] = ctx->picinfo.fb_sz[0]; in vidioc_vdec_g_fmt()
1016 q_data->sizeimage[1] = ctx->picinfo.fb_sz[1]; in vidioc_vdec_g_fmt()
1039 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage[0]; in vidioc_vdec_g_fmt()
[all …]
Dmtk_vcodec_enc.c295 pix_fmt_mp->plane_fmt[0].sizeimage, in vidioc_try_fmt()
296 pix_fmt_mp->plane_fmt[1].sizeimage); in vidioc_try_fmt()
299 pix_fmt_mp->plane_fmt[0].sizeimage = in vidioc_try_fmt()
305 pix_fmt_mp->plane_fmt[1].sizeimage = in vidioc_try_fmt()
308 pix_fmt_mp->plane_fmt[2].sizeimage = 0; in vidioc_try_fmt()
313 pix_fmt_mp->plane_fmt[1].sizeimage = in vidioc_try_fmt()
314 pix_fmt_mp->plane_fmt[2].sizeimage = in vidioc_try_fmt()
428 q_data->sizeimage[i] = plane_fmt->sizeimage; in vidioc_venc_s_fmt_cap()
506 q_data->sizeimage[i] = plane_fmt->sizeimage; in vidioc_venc_s_fmt_out()
534 pix->plane_fmt[i].sizeimage = q_data->sizeimage[i]; in vidioc_venc_g_fmt()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dvicam.c45 .sizeimage = 256 * 122,
50 .sizeimage = 256 * 200,
54 .sizeimage = 256 * 240,
59 .sizeimage = 512 * 122,
64 .sizeimage = 512 * 244,
174 frame_sz = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].sizeimage + in vicam_dostream()
Dov534_9.c57 .sizeimage = 320 * 240 * 3 / 8 + 590,
62 .sizeimage = 640 * 480 * 3 / 8 + 590,
67 .sizeimage = 800 * 600 * 3 / 8 + 590,
72 .sizeimage = 1024 * 768 * 3 / 8 + 590,
77 .sizeimage = 1280 * 1024 * 3 / 8 + 590,
84 .sizeimage = 640 * 480,
92 .sizeimage = 2592 * 1680,
110 .sizeimage = 0x800 * 0x600,
114 .sizeimage = 1600 * 1200,
118 .sizeimage = 1024 * 768,
[all …]
Dspca505.c30 .sizeimage = 160 * 120 * 3 / 2,
35 .sizeimage = 176 * 144 * 3 / 2,
40 .sizeimage = 320 * 240 * 3 / 2,
45 .sizeimage = 352 * 288 * 3 / 2,
50 .sizeimage = 640 * 480 * 3 / 2,
Dsn9c20x.c167 .sizeimage = 160 * 120 * 4 / 8 + 590,
172 .sizeimage = 160 * 120,
177 .sizeimage = 240 * 120,
182 .sizeimage = 320 * 240 * 4 / 8 + 590,
187 .sizeimage = 320 * 240 ,
192 .sizeimage = 480 * 240 ,
197 .sizeimage = 640 * 480 * 4 / 8 + 590,
202 .sizeimage = 640 * 480,
207 .sizeimage = 960 * 480,
215 .sizeimage = 160 * 120 * 4 / 8 + 590,
[all …]
Dkinect.c68 .sizeimage = 640 * 480 * 10 / 8,
76 .sizeimage = 640 * 480,
81 .sizeimage = 640 * 480 * 2,
86 .sizeimage = 1280 * 1024,
91 .sizeimage = 640 * 488 * 10 / 8,
96 .sizeimage = 1280 * 1024 * 10 / 8,
Dspca561.c47 .sizeimage = 160 * 120,
52 .sizeimage = 176 * 144,
57 .sizeimage = 320 * 240 * 4 / 8,
62 .sizeimage = 352 * 288 * 4 / 8,
70 .sizeimage = 160 * 120,
75 .sizeimage = 176 * 144,
80 .sizeimage = 320 * 240,
85 .sizeimage = 352 * 288,
Dov519.c241 .sizeimage = 320 * 240 * 3 / 8 + 590,
246 .sizeimage = 640 * 480 * 3 / 8 + 590,
253 .sizeimage = 160 * 120 * 3 / 8 + 590,
258 .sizeimage = 176 * 144 * 3 / 8 + 590,
263 .sizeimage = 320 * 240 * 3 / 8 + 590,
268 .sizeimage = 352 * 288 * 3 / 8 + 590,
282 .sizeimage = 320 * 240 * 3,
287 .sizeimage = 640 * 480 * 2,
294 .sizeimage = 70000,
299 .sizeimage = 70000,
[all …]
Dsonixb.c122 .sizeimage = 160 * 120,
127 .sizeimage = 160 * 120 * 5 / 4,
132 .sizeimage = 320 * 240 * 5 / 4,
137 .sizeimage = 640 * 480 * 5 / 4,
144 .sizeimage = 160 * 120,
149 .sizeimage = 160 * 120 * 5 / 4,
154 .sizeimage = 176 * 144,
159 .sizeimage = 176 * 144 * 5 / 4,
164 .sizeimage = 320 * 240 * 5 / 4,
169 .sizeimage = 352 * 288 * 5 / 4,
[all …]
Dspca508.c34 .sizeimage = 160 * 120 * 3 / 2,
39 .sizeimage = 176 * 144 * 3 / 2,
44 .sizeimage = 320 * 240 * 3 / 2,
49 .sizeimage = 352 * 288 * 3 / 2,
Dtouptek.c162 .sizeimage = 800 * 600,
168 .sizeimage = 1600 * 1200,
174 .sizeimage = 3264 * 2448,
560 if (sd->this_f + len == gspca_dev->pixfmt.sizeimage) { in sd_pkt_scan()
563 sd->this_f, gspca_dev->pixfmt.sizeimage, len); in sd_pkt_scan()
568 sd->this_f, gspca_dev->pixfmt.sizeimage, len); in sd_pkt_scan()
Dsq905.c84 .sizeimage = 160 * 120,
89 .sizeimage = 320 * 240,
94 .sizeimage = 640 * 480,
217 frame_sz = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].sizeimage in sq905_dostream()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c103 format->sizeimage = format->bytesperline * format->height; in vimc_cap_try_fmt_vid_cap()
301 return sizes[0] < vcap->format.sizeimage ? -EINVAL : 0; in vimc_cap_queue_setup()
304 sizes[0] = vcap->format.sizeimage; in vimc_cap_queue_setup()
312 unsigned long size = vcap->format.sizeimage; in vimc_cap_buffer_prepare()
387 memcpy(vbuf, frame, vcap->format.sizeimage); in vimc_cap_process_frame()
391 vcap->format.sizeimage); in vimc_cap_process_frame()
450 vcap->format.sizeimage = vcap->format.bytesperline * in vimc_cap_add()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpif_capture.c80 vb2_set_plane_payload(vb, 0, common->fmt.fmt.pix.sizeimage); in vpif_buffer_prepare()
115 unsigned size = common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup()
525 common->fmt.fmt.pix.sizeimage = common->height * common->width * 2; in vpif_update_std_info()
559 unsigned int hpitch, sizeimage; in vpif_calculate_offsets() local
575 sizeimage = common->fmt.fmt.pix.sizeimage; in vpif_calculate_offsets()
584 common->ctop_off = sizeimage / 2; in vpif_calculate_offsets()
585 common->cbtm_off = sizeimage / 2 + hpitch; in vpif_calculate_offsets()
589 common->ybtm_off = sizeimage / 4; in vpif_calculate_offsets()
590 common->ctop_off = sizeimage / 2; in vpif_calculate_offsets()
591 common->cbtm_off = common->ctop_off + sizeimage / 4; in vpif_calculate_offsets()
[all …]
Dvpif_display.c79 vb2_set_plane_payload(vb, 0, common->fmt.fmt.pix.sizeimage); in vpif_buffer_prepare()
117 unsigned size = common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup()
481 common->fmt.fmt.pix.sizeimage = common->height * common->width * 2; in vpif_update_resolution()
506 unsigned int hpitch, sizeimage; in vpif_calculate_offsets() local
517 sizeimage = common->fmt.fmt.pix.sizeimage; in vpif_calculate_offsets()
524 common->ctop_off = sizeimage / 2; in vpif_calculate_offsets()
525 common->cbtm_off = sizeimage / 2 + hpitch; in vpif_calculate_offsets()
528 common->ybtm_off = sizeimage / 4; in vpif_calculate_offsets()
529 common->ctop_off = sizeimage / 2; in vpif_calculate_offsets()
530 common->cbtm_off = common->ctop_off + sizeimage / 4; in vpif_calculate_offsets()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_rotate.c178 unsigned int height, width, alignment, sizeimage, size, bpl; in rotate_prepare_format() local
195 sizeimage = 0; in rotate_prepare_format()
203 sizeimage += size; in rotate_prepare_format()
209 pix_fmt->sizeimage = sizeimage; in rotate_prepare_format()
437 if (sizes[0] < pix_fmt->sizeimage) in rotate_queue_setup()
440 sizes[0] = pix_fmt->sizeimage; in rotate_queue_setup()
458 if (vb2_plane_size(vb, 0) < pix_fmt->sizeimage) in rotate_buf_prepare()
461 vb2_set_plane_payload(vb, 0, pix_fmt->sizeimage); in rotate_buf_prepare()
589 fmt.sizeimage != ctx->dst_fmt.sizeimage) { in rotate_s_ctrl()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dimx-vdoa.c88 unsigned int sizeimage; member
260 src_q_data->sizeimage = in vdoa_context_configure()
270 dst_q_data->sizeimage = dst_q_data->bytesperline * height; in vdoa_context_configure()
275 dst_q_data->sizeimage = in vdoa_context_configure()
/kernel/linux/linux-5.10/drivers/media/platform/
Dmx2_emmaprp.c168 unsigned int sizeimage; member
446 f->fmt.pix.sizeimage = q_data->sizeimage; in vidioc_g_fmt()
492 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in vidioc_try_fmt()
558 q_data->sizeimage = q_data->width * q_data->height * 3 / 2; in vidioc_s_fmt()
560 q_data->sizeimage = q_data->width * q_data->height * 2; in vidioc_s_fmt()
656 if (vb2_plane_size(vb, 0) < q_data->sizeimage) { in emmaprp_buf_prepare()
660 (long)q_data->sizeimage); in emmaprp_buf_prepare()
664 vb2_set_plane_payload(vb, 0, q_data->sizeimage); in emmaprp_buf_prepare()
Dm2m-deinterlace.c62 unsigned int sizeimage; member
506 f->fmt.pix.sizeimage = q_data->sizeimage; in vidioc_g_fmt()
534 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in vidioc_try_fmt()
612 q_data->sizeimage = (q_data->width * q_data->height * 3) / 2; in vidioc_s_fmt()
617 q_data->sizeimage = q_data->width * q_data->height * 2; in vidioc_s_fmt()
768 if (vb2_plane_size(vb, 0) < q_data->sizeimage) { in deinterlace_buf_prepare()
770 __func__, vb2_plane_size(vb, 0), (long)q_data->sizeimage); in deinterlace_buf_prepare()
774 vb2_set_plane_payload(vb, 0, q_data->sizeimage); in deinterlace_buf_prepare()
813 q_data[V4L2_M2M_SRC].sizeimage = (640 * 480 * 3) / 2; in queue_init()
832 q_data[V4L2_M2M_DST].sizeimage = (640 * 480 * 3) / 2; in queue_init()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_dma.c61 if (sizes[i] < csi->fmt.plane_fmt[i].sizeimage) in sun4i_csi_queue_setup()
68 sizes[i] = csi->fmt.plane_fmt[i].sizeimage; in sun4i_csi_queue_setup()
79 unsigned long size = csi->fmt.plane_fmt[i].sizeimage; in sun4i_csi_buffer_prepare()
104 addr += csi->fmt.plane_fmt[plane].sizeimage; in sun4i_csi_setup_scratch_buffer()
257 csi->scratch.size += csi->fmt.plane_fmt[i].sizeimage; in sun4i_csi_start_streaming()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c86 unsigned int sizeimage; member
333 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage); in device_process()
541 q_dst->sizeimage = q_dst->coded_width * q_dst->coded_height * in update_capture_data_from_header()
790 pix->sizeimage = q_data->sizeimage; in vidioc_g_fmt()
809 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage; in vidioc_g_fmt()
861 pix->sizeimage = pix->width * pix->height * in vidioc_try_fmt()
864 pix->sizeimage += sizeof(struct fwht_cframe_hdr); in vidioc_try_fmt()
885 plane->sizeimage = pix_mp->width * pix_mp->height * in vidioc_try_fmt()
888 plane->sizeimage += sizeof(struct fwht_cframe_hdr); in vidioc_try_fmt()
1015 q_data->sizeimage = pix->sizeimage; in vidioc_s_fmt()
[all …]

123456789