Home
last modified time | relevance | path

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

12345678910

/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_dec.c165 q_data->sizeimage[1] = q_data->sizeimage[0] / 2; in mtk_vcodec_dec_set_default_params()
267 pix_fmt_mp->plane_fmt[0].sizeimage = in vidioc_try_fmt()
272 pix_fmt_mp->plane_fmt[1].sizeimage = in vidioc_try_fmt()
450 q_data->sizeimage[0] = pix_mp->plane_fmt[0].sizeimage; in vidioc_vdec_s_fmt()
651 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage[0]; in vidioc_vdec_g_fmt()
653 pix_mp->plane_fmt[1].sizeimage = q_data->sizeimage[1]; in vidioc_vdec_g_fmt()
665 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage[0]; in vidioc_vdec_g_fmt()
674 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage[0]; in vidioc_vdec_g_fmt()
676 pix_mp->plane_fmt[1].sizeimage = q_data->sizeimage[1]; in vidioc_vdec_g_fmt()
712 sizes[i] = q_data->sizeimage[i]; in vb2ops_vdec_queue_setup()
[all …]
A Dmtk_vcodec_enc.c315 pix_fmt_mp->plane_fmt[0].sizeimage, in vidioc_try_fmt()
316 pix_fmt_mp->plane_fmt[1].sizeimage); in vidioc_try_fmt()
319 pix_fmt_mp->plane_fmt[0].sizeimage = in vidioc_try_fmt()
325 pix_fmt_mp->plane_fmt[1].sizeimage = in vidioc_try_fmt()
442 q_data->sizeimage[i] = plane_fmt->sizeimage; in vidioc_venc_s_fmt_cap()
512 q_data->sizeimage[i] = plane_fmt->sizeimage; in vidioc_venc_s_fmt_out()
540 pix->plane_fmt[i].sizeimage = q_data->sizeimage[i]; in vidioc_venc_g_fmt()
822 sizes[i] = q_data->sizeimage[i]; in vb2ops_venc_queue_setup()
840 q_data->sizeimage[i]); in vb2ops_venc_buf_prepare()
1333 q_data->sizeimage[0] = in mtk_vcodec_enc_set_default_params()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus_video.c107 unsigned int sizeimage = pix_fmt->sizeimage; in cedrus_prepare_format() local
124 sizeimage = max_t(u32, SZ_1K, sizeimage); in cedrus_prepare_format()
135 sizeimage = bytesperline * height; in cedrus_prepare_format()
138 sizeimage += bytesperline * ALIGN(height, 64) / 2; in cedrus_prepare_format()
150 sizeimage = bytesperline * height; in cedrus_prepare_format()
153 sizeimage += bytesperline * height / 2; in cedrus_prepare_format()
162 pix_fmt->sizeimage = sizeimage; in cedrus_prepare_format()
409 if (sizes[0] < pix_fmt->sizeimage) in cedrus_queue_setup()
412 sizes[0] = pix_fmt->sizeimage; in cedrus_queue_setup()
458 if (vb2_plane_size(vb, 0) < pix_fmt->sizeimage) in cedrus_buf_prepare()
[all …]
/linux/drivers/media/platform/qcom/camss/
A Dcamss-video.c316 pix->plane_fmt[i].sizeimage = pix->height / in video_mbus_to_pix_mp()
389 if (sizes[i] < format->plane_fmt[i].sizeimage) in video_queue_setup()
398 sizes[i] = format->plane_fmt[i].sizeimage; in video_queue_setup()
689 u32 sizeimage[3] = { 0 }; in __video_try_fmt() local
701 sizeimage[i] = clamp_t(u32, p->sizeimage, in __video_try_fmt()
745 p->sizeimage = clamp_t(u32, p->sizeimage, in __video_try_fmt()
748 lines = p->sizeimage / p->bytesperline; in __video_try_fmt()
753 if (p->sizeimage < p->bytesperline * lines) in __video_try_fmt()
754 p->sizeimage = p->bytesperline * lines; in __video_try_fmt()
756 if (p->sizeimage < sizeimage[i]) in __video_try_fmt()
[all …]
/linux/drivers/media/usb/gspca/gl860/
A Dgl860.c226 .sizeimage = 640 * 480,
232 .sizeimage = 800 * 598,
238 .sizeimage = 1280 * 1024,
253 .sizeimage = 640 * 480,
259 .sizeimage = 800 * 600,
265 .sizeimage = 1280 * 960,
280 .sizeimage = 640 * 480,
286 .sizeimage = 800 * 600,
292 .sizeimage = 1280 * 960,
301 .sizeimage = 640 * 480,
[all …]
/linux/drivers/media/usb/gspca/
A 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()
A Dov534_9.c57 .sizeimage = 320 * 240 * 3 / 8 + 590,
62 .sizeimage = 640 * 480 * 3 / 8 + 590,
67 .sizeimage = 800 * 600 * 3 / 8 + 590,
84 .sizeimage = 640 * 480,
92 .sizeimage = 2592 * 1680,
110 .sizeimage = 0x800 * 0x600,
114 .sizeimage = 1600 * 1200,
118 .sizeimage = 1024 * 768,
122 .sizeimage = 640 * 480,
126 .sizeimage = 320 * 240,
[all …]
A Dsn9c20x.c175 .sizeimage = 160 * 120,
180 .sizeimage = 240 * 120,
190 .sizeimage = 320 * 240 ,
205 .sizeimage = 640 * 480,
210 .sizeimage = 960 * 480,
223 .sizeimage = 160 * 120,
228 .sizeimage = 240 * 120,
253 .sizeimage = 640 * 480,
258 .sizeimage = 960 * 480,
271 .sizeimage = 160 * 120,
[all …]
A 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,
A 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,
A Dov519.c294 .sizeimage = 70000,
299 .sizeimage = 70000,
329 .sizeimage = 70000,
334 .sizeimage = 70000,
352 .sizeimage = 800 * 600,
357 .sizeimage = 1600 * 1200,
363 .sizeimage = 640 * 480,
368 .sizeimage = 800 * 600,
373 .sizeimage = 1024 * 768,
378 .sizeimage = 1600 * 1200,
[all …]
A 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,
A 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 …]
A 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()
A 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,
A Dvc032x.c59 .sizeimage = 320 * 240 * 2,
64 .sizeimage = 640 * 480 * 2,
71 .sizeimage = 320 * 240 * 3 / 8 + 590,
76 .sizeimage = 640 * 480 * 3 / 8 + 590,
81 .sizeimage = 1280 * 960 * 3 / 8 + 590,
88 .sizeimage = 320 * 240 * 2,
93 .sizeimage = 640 * 480 * 2,
98 .sizeimage = 1280 * 1024 * 2,
105 .sizeimage = 800 * 600 * 1 / 4 + 590,
3641 size = gspca_dev->pixfmt.sizeimage; in sd_pkt_scan()
/linux/drivers/media/platform/imx-jpeg/
A Dmxc-jpeg.c1206 if (!q->sizeimage[0]) in mxc_jpeg_sizeimage()
1208 q->sizeimage[1] = 0; in mxc_jpeg_sizeimage()
1214 q->sizeimage[0] = ALIGN(q->sizeimage[0], 1024); in mxc_jpeg_sizeimage()
1217 q->sizeimage[1] = 0; in mxc_jpeg_sizeimage()
1219 q->sizeimage[1] = q->sizeimage[0] / 2; in mxc_jpeg_sizeimage()
1385 unsigned long sizeimage; in mxc_jpeg_buf_prepare() local
1394 sizeimage = q_data->sizeimage[i]; in mxc_jpeg_buf_prepare()
1609 tmp_q.sizeimage[i] = pfmt->sizeimage; in mxc_jpeg_try_fmt()
1621 pfmt->sizeimage = tmp_q.sizeimage[i]; in mxc_jpeg_try_fmt()
1758 q_data->sizeimage[i] = pix_mp->plane_fmt[i].sizeimage; in mxc_jpeg_s_fmt()
[all …]
/linux/drivers/media/test-drivers/vimc/
A 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()
/linux/drivers/media/platform/davinci/
A Dvpif_capture.c115 unsigned size = common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup()
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()
595 common->ytop_off = sizeimage / 4; in vpif_calculate_offsets()
596 common->cbtm_off = sizeimage / 2; in vpif_calculate_offsets()
[all …]
A Dvpif_display.c117 unsigned size = common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup()
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()
533 common->ytop_off = sizeimage / 4; in vpif_calculate_offsets()
534 common->cbtm_off = sizeimage / 2; in vpif_calculate_offsets()
[all …]
/linux/drivers/media/platform/sunxi/sun8i-rotate/
A 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()
/linux/drivers/media/platform/
A 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()
A 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()
/linux/drivers/media/test-drivers/vicodec/
A Dvicodec-core.c86 unsigned int sizeimage; member
790 pix->sizeimage = q_data->sizeimage; in vidioc_g_fmt()
809 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage; in vidioc_g_fmt()
858 pix->sizeimage = pix->width * pix->height * in vidioc_try_fmt()
1010 q_data->sizeimage = pix->sizeimage; in vidioc_s_fmt()
1033 q_data->sizeimage = pix_mp->plane_fmt[0].sizeimage; in vidioc_s_fmt()
1111 q_data_cap->sizeimage = size; in vidioc_s_fmt_vid_out()
1374 unsigned int size = q_data->sizeimage; in vicodec_queue_setup()
1883 ctx->q_data[V4L2_M2M_SRC].sizeimage = raw_size; in vicodec_open()
1887 ctx->q_data[V4L2_M2M_SRC].sizeimage = in vicodec_open()
[all …]
/linux/drivers/media/platform/mtk-jpeg/
A Dmtk_jpeg_core.c282 pfmt->sizeimage = round_up(pfmt->sizeimage, 128); in mtk_jpeg_try_fmt_mplane()
283 if (pfmt->sizeimage == 0) in mtk_jpeg_try_fmt_mplane()
284 pfmt->sizeimage = MTK_JPEG_DEFAULT_SIZEIMAGE; in mtk_jpeg_try_fmt_mplane()
300 pfmt->sizeimage = stride * h; in mtk_jpeg_try_fmt_mplane()
343 pfmt->sizeimage = q_data->pix_mp.plane_fmt[i].sizeimage; in mtk_jpeg_g_fmt_vid_mplane()
349 pfmt->sizeimage); in mtk_jpeg_g_fmt_vid_mplane()
455 q_data->pix_mp.plane_fmt[i].sizeimage = in mtk_jpeg_s_fmt_mplane()
456 pix_mp->plane_fmt[i].sizeimage; in mtk_jpeg_s_fmt_mplane()
461 q_data->pix_mp.plane_fmt[i].sizeimage); in mtk_jpeg_s_fmt_mplane()
672 sizes[i] = q_data->pix_mp.plane_fmt[i].sizeimage; in mtk_jpeg_queue_setup()
[all …]

Completed in 79 milliseconds

12345678910