Home
last modified time | relevance | path

Searched refs:colorspace (Results 1 – 200 of 250) sorted by relevance

12

/linux-4.4.14/include/media/
Dv4l2-mediabus.h96 pix_fmt->colorspace = mbus_fmt->colorspace; in v4l2_fill_pix_format()
109 mbus_fmt->colorspace = pix_fmt->colorspace; in v4l2_fill_mbus_format()
Dexynos-fimc.h110 u8 colorspace; member
Dsoc_camera.h40 enum v4l2_colorspace colorspace; member
/linux-4.4.14/drivers/media/usb/gspca/gl860/
Dgl860.c239 .colorspace = V4L2_COLORSPACE_SRGB,
245 .colorspace = V4L2_COLORSPACE_SRGB,
251 .colorspace = V4L2_COLORSPACE_SRGB,
257 .colorspace = V4L2_COLORSPACE_SRGB,
266 .colorspace = V4L2_COLORSPACE_SRGB,
272 .colorspace = V4L2_COLORSPACE_SRGB,
278 .colorspace = V4L2_COLORSPACE_SRGB,
284 .colorspace = V4L2_COLORSPACE_SRGB,
293 .colorspace = V4L2_COLORSPACE_SRGB,
299 .colorspace = V4L2_COLORSPACE_SRGB,
[all …]
/linux-4.4.14/drivers/media/usb/gspca/
Dov534_9.c71 .colorspace = V4L2_COLORSPACE_JPEG},
76 .colorspace = V4L2_COLORSPACE_JPEG},
81 .colorspace = V4L2_COLORSPACE_JPEG},
86 .colorspace = V4L2_COLORSPACE_JPEG},
91 .colorspace = V4L2_COLORSPACE_JPEG},
98 .colorspace = V4L2_COLORSPACE_SRGB
106 .colorspace = V4L2_COLORSPACE_SRGB
124 .colorspace = V4L2_COLORSPACE_SRGB},
128 .colorspace = V4L2_COLORSPACE_SRGB},
132 .colorspace = V4L2_COLORSPACE_SRGB},
[all …]
Dspca505.c45 .colorspace = V4L2_COLORSPACE_SRGB,
50 .colorspace = V4L2_COLORSPACE_SRGB,
55 .colorspace = V4L2_COLORSPACE_SRGB,
60 .colorspace = V4L2_COLORSPACE_SRGB,
65 .colorspace = V4L2_COLORSPACE_SRGB,
Dvicam.c60 .colorspace = V4L2_COLORSPACE_SRGB,},
65 .colorspace = V4L2_COLORSPACE_SRGB,},
69 .colorspace = V4L2_COLORSPACE_SRGB,},
74 .colorspace = V4L2_COLORSPACE_SRGB,},
79 .colorspace = V4L2_COLORSPACE_SRGB,},
Dov519.c256 .colorspace = V4L2_COLORSPACE_JPEG,
261 .colorspace = V4L2_COLORSPACE_JPEG,
268 .colorspace = V4L2_COLORSPACE_JPEG,
273 .colorspace = V4L2_COLORSPACE_JPEG,
278 .colorspace = V4L2_COLORSPACE_JPEG,
283 .colorspace = V4L2_COLORSPACE_JPEG,
297 .colorspace = V4L2_COLORSPACE_JPEG,
302 .colorspace = V4L2_COLORSPACE_JPEG,
309 .colorspace = V4L2_COLORSPACE_JPEG,
314 .colorspace = V4L2_COLORSPACE_JPEG,
[all …]
Dsn9c20x.c176 .colorspace = V4L2_COLORSPACE_JPEG,
181 .colorspace = V4L2_COLORSPACE_SRGB,
186 .colorspace = V4L2_COLORSPACE_SRGB,
191 .colorspace = V4L2_COLORSPACE_JPEG,
196 .colorspace = V4L2_COLORSPACE_SRGB,
201 .colorspace = V4L2_COLORSPACE_SRGB,
206 .colorspace = V4L2_COLORSPACE_JPEG,
211 .colorspace = V4L2_COLORSPACE_SRGB,
216 .colorspace = V4L2_COLORSPACE_SRGB,
224 .colorspace = V4L2_COLORSPACE_JPEG,
[all …]
Dkinect.c82 .colorspace = V4L2_COLORSPACE_SRGB,
90 .colorspace = V4L2_COLORSPACE_SRGB,
95 .colorspace = V4L2_COLORSPACE_SRGB,
100 .colorspace = V4L2_COLORSPACE_SRGB,
105 .colorspace = V4L2_COLORSPACE_SRGB,
110 .colorspace = V4L2_COLORSPACE_SRGB,
Dspca561.c61 .colorspace = V4L2_COLORSPACE_SRGB,
66 .colorspace = V4L2_COLORSPACE_SRGB,
71 .colorspace = V4L2_COLORSPACE_SRGB,
76 .colorspace = V4L2_COLORSPACE_SRGB,
84 .colorspace = V4L2_COLORSPACE_SRGB,
89 .colorspace = V4L2_COLORSPACE_SRGB,
94 .colorspace = V4L2_COLORSPACE_SRGB,
99 .colorspace = V4L2_COLORSPACE_SRGB,
Dspca508.c48 .colorspace = V4L2_COLORSPACE_SRGB,
53 .colorspace = V4L2_COLORSPACE_SRGB,
58 .colorspace = V4L2_COLORSPACE_SRGB,
63 .colorspace = V4L2_COLORSPACE_SRGB,
Dsonixb.c136 .colorspace = V4L2_COLORSPACE_SRGB,
141 .colorspace = V4L2_COLORSPACE_SRGB,
146 .colorspace = V4L2_COLORSPACE_SRGB,
151 .colorspace = V4L2_COLORSPACE_SRGB,
158 .colorspace = V4L2_COLORSPACE_SRGB,
163 .colorspace = V4L2_COLORSPACE_SRGB,
168 .colorspace = V4L2_COLORSPACE_SRGB,
173 .colorspace = V4L2_COLORSPACE_SRGB,
178 .colorspace = V4L2_COLORSPACE_SRGB,
183 .colorspace = V4L2_COLORSPACE_SRGB,
Dsunplus.c61 .colorspace = V4L2_COLORSPACE_JPEG,
66 .colorspace = V4L2_COLORSPACE_JPEG,
74 .colorspace = V4L2_COLORSPACE_JPEG,
79 .colorspace = V4L2_COLORSPACE_JPEG,
87 .colorspace = V4L2_COLORSPACE_JPEG,
92 .colorspace = V4L2_COLORSPACE_JPEG,
97 .colorspace = V4L2_COLORSPACE_JPEG,
102 .colorspace = V4L2_COLORSPACE_JPEG,
Dw996Xcf.c45 .colorspace = V4L2_COLORSPACE_JPEG},
49 .colorspace = V4L2_COLORSPACE_JPEG},
53 .colorspace = V4L2_COLORSPACE_JPEG},
57 .colorspace = V4L2_COLORSPACE_JPEG},
61 .colorspace = V4L2_COLORSPACE_JPEG},
Djl2005bcd.c60 .colorspace = V4L2_COLORSPACE_SRGB,
65 .colorspace = V4L2_COLORSPACE_SRGB,
73 .colorspace = V4L2_COLORSPACE_SRGB,
78 .colorspace = V4L2_COLORSPACE_SRGB,
Dvc032x.c73 .colorspace = V4L2_COLORSPACE_SRGB,
78 .colorspace = V4L2_COLORSPACE_SRGB,
85 .colorspace = V4L2_COLORSPACE_JPEG,
90 .colorspace = V4L2_COLORSPACE_JPEG,
95 .colorspace = V4L2_COLORSPACE_JPEG,
102 .colorspace = V4L2_COLORSPACE_SRGB,
107 .colorspace = V4L2_COLORSPACE_SRGB,
112 .colorspace = V4L2_COLORSPACE_SRGB,
119 .colorspace = V4L2_COLORSPACE_JPEG,
Dspca506.c44 .colorspace = V4L2_COLORSPACE_SRGB,
49 .colorspace = V4L2_COLORSPACE_SRGB,
54 .colorspace = V4L2_COLORSPACE_SRGB,
59 .colorspace = V4L2_COLORSPACE_SRGB,
64 .colorspace = V4L2_COLORSPACE_SRGB,
Dsq905.c99 .colorspace = V4L2_COLORSPACE_SRGB,
104 .colorspace = V4L2_COLORSPACE_SRGB,
109 .colorspace = V4L2_COLORSPACE_SRGB,
Dspca501.c56 .colorspace = V4L2_COLORSPACE_SRGB,
61 .colorspace = V4L2_COLORSPACE_SRGB,
66 .colorspace = V4L2_COLORSPACE_SRGB,
Dkonica.c74 .colorspace = V4L2_COLORSPACE_SRGB,
79 .colorspace = V4L2_COLORSPACE_SRGB,
84 .colorspace = V4L2_COLORSPACE_SRGB,
Dmr97310a.c112 .colorspace = V4L2_COLORSPACE_SRGB,
117 .colorspace = V4L2_COLORSPACE_SRGB,
122 .colorspace = V4L2_COLORSPACE_SRGB,
127 .colorspace = V4L2_COLORSPACE_SRGB,
132 .colorspace = V4L2_COLORSPACE_SRGB,
Dt613.c65 .colorspace = V4L2_COLORSPACE_JPEG,
71 .colorspace = V4L2_COLORSPACE_JPEG,
77 .colorspace = V4L2_COLORSPACE_JPEG,
83 .colorspace = V4L2_COLORSPACE_JPEG,
89 .colorspace = V4L2_COLORSPACE_JPEG,
Dconex.c50 .colorspace = V4L2_COLORSPACE_JPEG,
55 .colorspace = V4L2_COLORSPACE_JPEG,
60 .colorspace = V4L2_COLORSPACE_JPEG,
65 .colorspace = V4L2_COLORSPACE_JPEG,
Dsq905c.c79 .colorspace = V4L2_COLORSPACE_SRGB,
84 .colorspace = V4L2_COLORSPACE_SRGB,
Ddtcs033.c101 .colorspace = V4L2_COLORSPACE_SRGB,
107 .colorspace = V4L2_COLORSPACE_SRGB,
Dnw80x.c150 .colorspace = V4L2_COLORSPACE_JPEG},
154 .colorspace = V4L2_COLORSPACE_JPEG}
160 .colorspace = V4L2_COLORSPACE_JPEG},
164 .colorspace = V4L2_COLORSPACE_JPEG},
Dspca500.c63 .colorspace = V4L2_COLORSPACE_JPEG,
68 .colorspace = V4L2_COLORSPACE_JPEG,
76 .colorspace = V4L2_COLORSPACE_JPEG,
81 .colorspace = V4L2_COLORSPACE_JPEG,
Dtouptek.c172 .colorspace = V4L2_COLORSPACE_SRGB},
178 .colorspace = V4L2_COLORSPACE_SRGB},
184 .colorspace = V4L2_COLORSPACE_SRGB},
Dxirlink_cit.c77 .colorspace = V4L2_COLORSPACE_SRGB},
81 .colorspace = V4L2_COLORSPACE_SRGB},
88 .colorspace = V4L2_COLORSPACE_SRGB},
92 .colorspace = V4L2_COLORSPACE_SRGB},
96 .colorspace = V4L2_COLORSPACE_SRGB},
103 .colorspace = V4L2_COLORSPACE_SRGB},
107 .colorspace = V4L2_COLORSPACE_SRGB},
111 .colorspace = V4L2_COLORSPACE_SRGB},
118 .colorspace = V4L2_COLORSPACE_SRGB},
122 .colorspace = V4L2_COLORSPACE_SRGB},
[all …]
Dpac7311.c92 .colorspace = V4L2_COLORSPACE_JPEG,
97 .colorspace = V4L2_COLORSPACE_JPEG,
102 .colorspace = V4L2_COLORSPACE_JPEG,
Dtv8532.c40 .colorspace = V4L2_COLORSPACE_SRGB,
45 .colorspace = V4L2_COLORSPACE_SRGB,
Dmars.c60 .colorspace = V4L2_COLORSPACE_JPEG,
65 .colorspace = V4L2_COLORSPACE_JPEG,
Dspca1528.c52 .colorspace = V4L2_COLORSPACE_JPEG,
57 .colorspace = V4L2_COLORSPACE_JPEG,
Dstk014.c44 .colorspace = V4L2_COLORSPACE_JPEG,
49 .colorspace = V4L2_COLORSPACE_JPEG,
Djeilinj.c84 .colorspace = V4L2_COLORSPACE_JPEG,
89 .colorspace = V4L2_COLORSPACE_JPEG,
Dsn9c2028.c58 .colorspace = V4L2_COLORSPACE_SRGB,
67 .colorspace = V4L2_COLORSPACE_SRGB,
Dpac207.c82 .colorspace = V4L2_COLORSPACE_SRGB,
89 .colorspace = V4L2_COLORSPACE_SRGB,
Dov534.c102 .colorspace = V4L2_COLORSPACE_SRGB,
107 .colorspace = V4L2_COLORSPACE_SRGB,
114 .colorspace = V4L2_COLORSPACE_JPEG},
118 .colorspace = V4L2_COLORSPACE_JPEG},
Detoms.c48 .colorspace = V4L2_COLORSPACE_SRGB,
61 .colorspace = V4L2_COLORSPACE_SRGB,
66 .colorspace = V4L2_COLORSPACE_SRGB,
Dfinepix.c58 .colorspace = V4L2_COLORSPACE_SRGB,
Dbenq.c40 .colorspace = V4L2_COLORSPACE_JPEG},
Dstv0680.c223 sd->mode.colorspace = V4L2_COLORSPACE_SRGB; in sd_config()
Dsq930x.c64 .colorspace = V4L2_COLORSPACE_SRGB,
69 .colorspace = V4L2_COLORSPACE_SRGB,
Dsonixj.c128 .colorspace = V4L2_COLORSPACE_JPEG,
135 .colorspace = V4L2_COLORSPACE_JPEG,
140 .colorspace = V4L2_COLORSPACE_JPEG,
146 .colorspace = V4L2_COLORSPACE_JPEG,
Dcpia1.c384 .colorspace = V4L2_COLORSPACE_SRGB,
389 .colorspace = V4L2_COLORSPACE_SRGB,
394 .colorspace = V4L2_COLORSPACE_SRGB,
399 .colorspace = V4L2_COLORSPACE_SRGB,
Dzc3xx.c97 .colorspace = V4L2_COLORSPACE_JPEG,
102 .colorspace = V4L2_COLORSPACE_JPEG,
110 .colorspace = V4L2_COLORSPACE_JPEG,
115 .colorspace = V4L2_COLORSPACE_JPEG,
123 .colorspace = V4L2_COLORSPACE_JPEG,
128 .colorspace = V4L2_COLORSPACE_JPEG,
Dstk1135.c55 .colorspace = V4L2_COLORSPACE_SRGB},
Dse401.c268 sd->fmts[i].colorspace = V4L2_COLORSPACE_SRGB; in sd_config()
Dpac7302.c143 .colorspace = V4L2_COLORSPACE_JPEG,
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dov772x.c380 enum v4l2_colorspace colorspace; member
412 .colorspace = V4L2_COLORSPACE_JPEG,
420 .colorspace = V4L2_COLORSPACE_JPEG,
428 .colorspace = V4L2_COLORSPACE_JPEG,
436 .colorspace = V4L2_COLORSPACE_SRGB,
444 .colorspace = V4L2_COLORSPACE_SRGB,
452 .colorspace = V4L2_COLORSPACE_SRGB,
460 .colorspace = V4L2_COLORSPACE_SRGB,
472 .colorspace = V4L2_COLORSPACE_SRGB,
892 mf->colorspace = priv->cfmt->colorspace; in ov772x_get_fmt()
[all …]
Dmt9t112.c81 enum v4l2_colorspace colorspace; member
107 .colorspace = V4L2_COLORSPACE_SRGB,
112 .colorspace = V4L2_COLORSPACE_SRGB,
117 .colorspace = V4L2_COLORSPACE_SRGB,
122 .colorspace = V4L2_COLORSPACE_SRGB,
127 .colorspace = V4L2_COLORSPACE_SRGB,
132 .colorspace = V4L2_COLORSPACE_SRGB,
920 mf->colorspace = priv->format->colorspace; in mt9t112_get_fmt()
943 mf->colorspace = priv->format->colorspace; in mt9t112_s_fmt()
967 mf->colorspace = V4L2_COLORSPACE_JPEG; in mt9t112_set_fmt()
[all …]
Dimx074.c75 enum v4l2_colorspace colorspace; member
175 mf->colorspace = imx074_colour_fmts[0].colorspace; in imx074_set_fmt()
204 mf->colorspace = fmt->colorspace; in imx074_get_fmt()
Dmt9m001.c57 enum v4l2_colorspace colorspace; member
267 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_get_fmt()
295 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_s_fmt()
328 mf->colorspace = fmt->colorspace; in mt9m001_set_fmt()
Dov6650.c206 enum v4l2_colorspace colorspace; member
516 mf->colorspace = priv->colorspace; in ov6650_get_fmt()
628 priv->colorspace = V4L2_COLORSPACE_SRGB; in ov6650_s_fmt()
630 priv->colorspace = V4L2_COLORSPACE_JPEG; in ov6650_s_fmt()
684 mf->colorspace = priv->colorspace; in ov6650_s_fmt()
716 mf->colorspace = V4L2_COLORSPACE_JPEG; in ov6650_set_fmt()
721 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov6650_set_fmt()
1034 priv->colorspace = V4L2_COLORSPACE_JPEG; in ov6650_probe()
Dov5642.c606 enum v4l2_colorspace colorspace; member
808 mf->colorspace = ov5642_colour_fmts[0].colorspace; in ov5642_set_fmt()
834 mf->colorspace = fmt->colorspace; in ov5642_get_fmt()
Dmt9v022.c89 enum v4l2_colorspace colorspace; member
392 mf->colorspace = mt9v022->fmt->colorspace; in mt9v022_get_fmt()
439 mf->colorspace = mt9v022->fmt->colorspace; in mt9v022_s_fmt()
471 mf->colorspace = fmt->colorspace; in mt9v022_set_fmt()
Drj54n1cb0c.c115 enum v4l2_colorspace colorspace; member
613 mf->colorspace = rj54n1->fmt->colorspace; in rj54n1_get_fmt()
999 mf->colorspace = fmt->colorspace; in rj54n1_set_fmt()
1116 mf->colorspace = fmt->colorspace; in rj54n1_set_fmt()
Dmt9m111.c186 enum v4l2_colorspace colorspace; member
463 mf->colorspace = mt9m111->fmt->colorspace; in mt9m111_get_fmt()
584 mf->colorspace = fmt->colorspace; in mt9m111_set_fmt()
Dov9640.c516 mf->colorspace = cspace; in ov9640_s_fmt()
538 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov9640_set_fmt()
543 mf->colorspace = V4L2_COLORSPACE_JPEG; in ov9640_set_fmt()
Dov2640.c872 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov2640_get_fmt()
877 mf->colorspace = V4L2_COLORSPACE_JPEG; in ov2640_get_fmt()
904 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov2640_set_fmt()
910 mf->colorspace = V4L2_COLORSPACE_JPEG; in ov2640_set_fmt()
Dtw9910.c740 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in tw9910_get_fmt()
761 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in tw9910_s_fmt()
791 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in tw9910_set_fmt()
Dmt9t031.c354 mf->colorspace = V4L2_COLORSPACE_SRGB; in mt9t031_get_fmt()
378 mf->colorspace = V4L2_COLORSPACE_SRGB; in mt9t031_set_fmt()
396 mf->colorspace = V4L2_COLORSPACE_SRGB; in mt9t031_set_fmt()
Dov9740.c700 mf->colorspace = cspace; in ov9740_s_fmt()
720 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov9740_set_fmt()
/linux-4.4.14/drivers/media/i2c/
Dnoon010pc30.c116 enum v4l2_colorspace colorspace; member
179 .colorspace = V4L2_COLORSPACE_JPEG,
183 .colorspace = V4L2_COLORSPACE_JPEG,
187 .colorspace = V4L2_COLORSPACE_JPEG,
191 .colorspace = V4L2_COLORSPACE_JPEG,
195 .colorspace = V4L2_COLORSPACE_JPEG,
525 mf->colorspace = info->curr_fmt->colorspace; in noon010_get_fmt()
557 fmt->format.colorspace = V4L2_COLORSPACE_JPEG; in noon010_set_fmt()
649 mf->colorspace = V4L2_COLORSPACE_JPEG; in noon010_open()
Dvs6624.c49 enum v4l2_colorspace colorspace; member
53 .colorspace = V4L2_COLORSPACE_JPEG,
57 .colorspace = V4L2_COLORSPACE_JPEG,
61 .colorspace = V4L2_COLORSPACE_SRGB,
70 .colorspace = V4L2_COLORSPACE_JPEG,
599 fmt->colorspace = vs6624_formats[index].colorspace; in vs6624_set_fmt()
Dsr030pc30.c169 enum v4l2_colorspace colorspace; member
205 .colorspace = V4L2_COLORSPACE_JPEG,
209 .colorspace = V4L2_COLORSPACE_JPEG,
213 .colorspace = V4L2_COLORSPACE_JPEG,
217 .colorspace = V4L2_COLORSPACE_JPEG,
221 .colorspace = V4L2_COLORSPACE_JPEG,
504 mf->colorspace = info->curr_fmt->colorspace; in sr030pc30_get_fmt()
Dadv7511.c102 u32 colorspace; member
970 format->format.colorspace = fmt->colorspace; in adv7511_get_fmt()
976 format->format.colorspace = state->colorspace; in adv7511_get_fmt()
1023 fmt->colorspace = format->format.colorspace; in adv7511_set_fmt()
1048 state->colorspace = format->format.colorspace; in adv7511_set_fmt()
1053 switch (format->format.colorspace) { in adv7511_set_fmt()
1457 state->colorspace = V4L2_COLORSPACE_SRGB; in adv7511_probe()
Ds5k5baf.c252 u32 colorspace; member
747 if (mf->colorspace != s5k5baf_formats[i].colorspace) in s5k5baf_find_pixfmt()
1259 mf->colorspace = V4L2_COLORSPACE_JPEG; in s5k5baf_try_cis_format()
1274 mf->colorspace = s5k5baf_formats[pixfmt].colorspace; in s5k5baf_try_isp_format()
1305 mf->colorspace = pixfmt->colorspace; in s5k5baf_get_fmt()
1341 mf->colorspace = pixfmt->colorspace; in s5k5baf_set_fmt()
1713 mf->colorspace = s5k5baf_formats[0].colorspace; in s5k5baf_open()
Ds5k6aa.c195 u32 colorspace; member
625 if (mf->colorspace == s5k6aa_formats[i].colorspace && in s5k6aa_get_pixfmt_index()
1079 if (mf->colorspace != V4L2_COLORSPACE_JPEG && in s5k6aa_try_format()
1080 mf->colorspace != V4L2_COLORSPACE_REC709) in s5k6aa_try_format()
1081 mf->colorspace = V4L2_COLORSPACE_JPEG; in s5k6aa_try_format()
1085 mf->colorspace = s5k6aa_formats[index].colorspace; in s5k6aa_try_format()
1430 format->colorspace = s5k6aa_formats[0].colorspace; in s5k6aa_open()
Dov7670.c636 enum v4l2_colorspace colorspace; member
642 .colorspace = V4L2_COLORSPACE_SRGB,
648 .colorspace = V4L2_COLORSPACE_SRGB,
654 .colorspace = V4L2_COLORSPACE_SRGB,
660 .colorspace = V4L2_COLORSPACE_SRGB,
970 fmt->colorspace = ov7670_formats[index].colorspace; in ov7670_try_fmt_internal()
Ds5k4ecgx.c155 u32 colorspace; member
564 mf->colorspace = priv->curr_pixfmt->colorspace; in s5k4ecgx_get_fmt()
595 fmt->format.colorspace = V4L2_COLORSPACE_JPEG; in s5k4ecgx_set_fmt()
700 mf->colorspace = V4L2_COLORSPACE_JPEG; in s5k4ecgx_open()
Dtvp514x.c928 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; in tvp514x_get_pad_format()
950 fmt->format.colorspace != V4L2_COLORSPACE_SMPTE170M || in tvp514x_set_pad_format()
993 .colorspace = V4L2_COLORSPACE_SMPTE170M,
Dsaa6752hs.c573 f->colorspace = V4L2_COLORSPACE_SMPTE170M; in saa6752hs_get_fmt()
607 f->colorspace = V4L2_COLORSPACE_SMPTE170M; in saa6752hs_set_fmt()
Dak881x.c111 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in ak881x_fill_fmt()
Dov9650.c388 u32 colorspace; member
1064 mf->colorspace = ov965x_formats[0].colorspace; in ov965x_get_default_format()
1226 mf->colorspace = V4L2_COLORSPACE_JPEG; in ov965x_set_fmt()
Dadv7170.c291 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in adv7170_get_fmt()
Ds5k6a3.c84 .colorspace = V4L2_COLORSPACE_SRGB,
Dadv7175.c329 mf->colorspace = V4L2_COLORSPACE_SMPTE170M; in adv7175_get_fmt()
Dml86v7667.c217 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in ml86v7667_fill_fmt()
Dmt9t001.c804 format->colorspace = V4L2_COLORSPACE_SRGB; in mt9t001_open()
929 mt9t001->format.colorspace = V4L2_COLORSPACE_SRGB; in mt9t001_probe()
Dtc358743.c1497 format->format.colorspace = V4L2_COLORSPACE_SRGB; in tc358743_get_fmt()
1501 format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; in tc358743_get_fmt()
1505 format->format.colorspace = V4L2_COLORSPACE_REC709; in tc358743_get_fmt()
1508 format->format.colorspace = 0; in tc358743_get_fmt()
Dmt9v032.c832 format->colorspace = V4L2_COLORSPACE_SRGB; in mt9v032_open()
1035 mt9v032->format.colorspace = V4L2_COLORSPACE_SRGB; in mt9v032_probe()
Dmt9p031.c965 format->colorspace = V4L2_COLORSPACE_SRGB; in mt9p031_open()
1134 mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB; in mt9p031_probe()
Dov2659.c967 format->colorspace = V4L2_COLORSPACE_SRGB; in ov2659_get_default_format()
1123 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov2659_set_fmt()
Dadv7183.c445 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in adv7183_set_fmt()
Dmt9v011.c351 fmt->colorspace = V4L2_COLORSPACE_SRGB; in mt9v011_set_fmt()
Dsaa717x.c1014 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in saa717x_set_fmt()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-tpg.h124 u32 colorspace; member
312 static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace) in tpg_s_colorspace() argument
314 if (tpg->colorspace == colorspace) in tpg_s_colorspace()
316 tpg->colorspace = colorspace; in tpg_s_colorspace()
322 return tpg->colorspace; in tpg_g_colorspace()
Dvivid-vid-out.c327 mp->colorspace = dev->colorspace_out; in vivid_g_fmt_vid_out()
420 mp->colorspace = V4L2_COLORSPACE_SMPTE170M; in vivid_try_fmt_vid_out()
422 mp->colorspace = V4L2_COLORSPACE_SRGB; in vivid_try_fmt_vid_out()
426 mp->colorspace = V4L2_COLORSPACE_SMPTE170M; in vivid_try_fmt_vid_out()
427 } else if (mp->colorspace != V4L2_COLORSPACE_SMPTE170M && in vivid_try_fmt_vid_out()
428 mp->colorspace != V4L2_COLORSPACE_REC709 && in vivid_try_fmt_vid_out()
429 mp->colorspace != V4L2_COLORSPACE_ADOBERGB && in vivid_try_fmt_vid_out()
430 mp->colorspace != V4L2_COLORSPACE_BT2020 && in vivid_try_fmt_vid_out()
431 mp->colorspace != V4L2_COLORSPACE_SRGB) { in vivid_try_fmt_vid_out()
432 mp->colorspace = V4L2_COLORSPACE_REC709; in vivid_try_fmt_vid_out()
[all …]
Dvivid-vid-cap.c449 if (keep_controls || !dev->colorspace) in vivid_update_format_cap()
453 v4l2_ctrl_s_ctrl(dev->colorspace, VIVID_CS_170M); in vivid_update_format_cap()
455 v4l2_ctrl_s_ctrl(dev->colorspace, VIVID_CS_709); in vivid_update_format_cap()
458 v4l2_ctrl_s_ctrl(dev->colorspace, VIVID_CS_SRGB); in vivid_update_format_cap()
540 mp->colorspace = vivid_colorspace_cap(dev); in vivid_g_fmt_vid_cap()
629 mp->colorspace = vivid_colorspace_cap(dev); in vivid_try_fmt_vid_cap()
1212 a->fmt.colorspace = V4L2_COLORSPACE_SRGB; in vivid_vid_cap_g_fbuf()
1363 if (dev->colorspace) { in vidioc_s_input()
1366 v4l2_ctrl_s_ctrl(dev->colorspace, VIVID_CS_SRGB); in vidioc_s_input()
1370 v4l2_ctrl_s_ctrl(dev->colorspace, VIVID_CS_170M); in vidioc_s_input()
[all …]
Dvivid-vid-common.c582 mp->colorspace = pix->colorspace; in fmt_sp2mp()
611 pix->colorspace = mp->colorspace; in fmt_sp2mp_func()
Dvivid-tpg.c114 tpg->colorspace = V4L2_COLORSPACE_SRGB; in tpg_init()
728 r = tpg_csc_colors[tpg->colorspace][tpg->real_xfer_func][col].r; in precalculate_color()
729 g = tpg_csc_colors[tpg->colorspace][tpg->real_xfer_func][col].g; in precalculate_color()
730 b = tpg_csc_colors[tpg->colorspace][tpg->real_xfer_func][col].b; in precalculate_color()
1792 V4L2_MAP_XFER_FUNC_DEFAULT(tpg->colorspace); in tpg_recalc()
1796 V4L2_MAP_YCBCR_ENC_DEFAULT(tpg->colorspace); in tpg_recalc()
1801 tpg->colorspace, tpg->real_ycbcr_enc); in tpg_recalc()
1856 pr_info("tpg colorspace: %d\n", tpg->colorspace); in tpg_log_status()
Dvivid-tpg-colors.c1238 static void csc(enum v4l2_colorspace colorspace, enum v4l2_xfer_func xfer_func, in csc() argument
1248 switch (colorspace) { in csc()
Dvivid-core.h217 struct v4l2_ctrl *colorspace; member
/linux-4.4.14/drivers/media/platform/s5p-tv/
Dmixer_vp_layer.c24 .colorspace = V4L2_COLORSPACE_JPEG,
37 .colorspace = V4L2_COLORSPACE_JPEG,
50 .colorspace = V4L2_COLORSPACE_JPEG,
64 .colorspace = V4L2_COLORSPACE_JPEG,
Dmixer_grp_layer.c23 .colorspace = V4L2_COLORSPACE_SRGB,
36 .colorspace = V4L2_COLORSPACE_SRGB,
48 .colorspace = V4L2_COLORSPACE_SRGB,
59 .colorspace = V4L2_COLORSPACE_SRGB,
Dmixer.h59 enum v4l2_colorspace colorspace; member
Dsdo_drv.c179 fmt->colorspace = V4L2_COLORSPACE_JPEG; in sdo_get_fmt()
Dmixer_reg.c383 if (fmt->colorspace == V4L2_COLORSPACE_JPEG) in mxr_reg_set_mbus_fmt()
Dmixer_video.c309 pix->colorspace = layer->fmt->colorspace; in mxr_g_fmt()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-lite.c47 .colorspace = V4L2_COLORSPACE_JPEG,
56 .colorspace = V4L2_COLORSPACE_JPEG,
65 .colorspace = V4L2_COLORSPACE_JPEG,
74 .colorspace = V4L2_COLORSPACE_JPEG,
83 .colorspace = V4L2_COLORSPACE_SRGB,
92 .colorspace = V4L2_COLORSPACE_SRGB,
101 .colorspace = V4L2_COLORSPACE_SRGB,
584 mf->colorspace = fmt->colorspace; in fimc_lite_subdev_try_fmt()
596 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
602 mf->colorspace = sink->fmt->colorspace; in fimc_lite_subdev_try_fmt()
[all …]
Dfimc-isp.c139 mf->colorspace = V4L2_COLORSPACE_SRGB; in fimc_isp_subdev_get_fmt()
151 mf->colorspace = V4L2_COLORSPACE_JPEG; in fimc_isp_subdev_get_fmt()
171 mf->colorspace = V4L2_COLORSPACE_SRGB; in __isp_subdev_try_format()
192 mf->colorspace = V4L2_COLORSPACE_JPEG; in __isp_subdev_try_format()
374 fmt.colorspace = V4L2_COLORSPACE_SRGB; in fimc_isp_subdev_open()
Dfimc-isp-video.c396 pixm->colorspace = V4L2_COLORSPACE_SRGB; in __isp_video_try_fmt()
592 iv->pixfmt.colorspace = V4L2_COLORSPACE_SRGB; in fimc_isp_video_device_register()
Dfimc-core.c707 pixm->colorspace = V4L2_COLORSPACE_JPEG; in __fimc_get_format()
729 pix->colorspace = V4L2_COLORSPACE_JPEG; in fimc_adjust_mplane_format()
Dfimc-capture.c1530 mf->colorspace = V4L2_COLORSPACE_JPEG; in fimc_subdev_get_fmt()
1556 mf->colorspace = V4L2_COLORSPACE_JPEG; in fimc_subdev_set_fmt()
1726 .colorspace = V4L2_COLORSPACE_JPEG, in fimc_capture_set_default_format()
/linux-4.4.14/drivers/media/platform/
Dvim2m.c173 enum v4l2_colorspace colorspace; member
495 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt()
551 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_try_fmt_vid_cap()
573 if (!f->fmt.pix.colorspace) in vidioc_try_fmt_vid_out()
574 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
634 ctx->colorspace = f->fmt.pix.colorspace; in vidioc_s_fmt_vid_out()
920 ctx->colorspace = V4L2_COLORSPACE_REC709; in vim2m_open()
Dm2m-deinterlace.c147 enum v4l2_colorspace colorspace; member
539 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt()
581 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_try_fmt_vid_cap()
600 if (!f->fmt.pix.colorspace) in vidioc_try_fmt_vid_out()
601 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_try_fmt_vid_out()
683 ctx->colorspace = f->fmt.pix.colorspace; in vidioc_s_fmt_vid_out()
934 ctx->colorspace = V4L2_COLORSPACE_REC709; in deinterlace_open()
Dsh_vou.c678 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in sh_vou_try_fmt_vid_out()
713 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_set_fmt_vid_out()
951 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_s_selection()
1271 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in sh_vou_probe()
Darv.c448 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in ar_g_fmt_vid_cap()
470 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in ar_try_fmt_vid_cap()
Drcar_jpu.c252 u32 colorspace; member
802 pix->colorspace = fmt->colorspace; in __jpu_try_fmt()
Dsh_veu.c408 pix->colorspace = sh_veu_4cc2cspace(pix->pixelformat); in sh_veu_g_fmt()
458 pix->colorspace = sh_veu_4cc2cspace(pix->pixelformat); in sh_veu_try_fmt()
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/
Dstv06xx_st6422.c43 .colorspace = V4L2_COLORSPACE_SRGB,
57 .colorspace = V4L2_COLORSPACE_SRGB,
Dstv06xx_pb0100.c73 .colorspace = V4L2_COLORSPACE_SRGB,
83 .colorspace = V4L2_COLORSPACE_SRGB,
Dstv06xx_hdcs.c44 .colorspace = V4L2_COLORSPACE_SRGB,
58 .colorspace = V4L2_COLORSPACE_SRGB,
Dstv06xx_vv6410.c42 .colorspace = V4L2_COLORSPACE_SRGB,
/linux-4.4.14/drivers/media/platform/ti-vpe/
Dvpe.c314 enum v4l2_colorspace colorspace; member
727 enum v4l2_colorspace clrspc = ctx->q_data[Q_DATA_DST].colorspace; in set_dst_registers()
855 s_q_data->colorspace, d_q_data->colorspace); in set_srcdst_params()
1147 if (d_q_data->colorspace == V4L2_COLORSPACE_SRGB) { in device_run()
1189 if (d_q_data->colorspace == V4L2_COLORSPACE_SRGB) { in device_run()
1408 pix->colorspace = q_data->colorspace; in vpe_g_fmt()
1415 pix->colorspace = s_q_data->colorspace; in vpe_g_fmt()
1476 if (!pix->colorspace) { in __vpe_try_fmt()
1481 pix->colorspace = V4L2_COLORSPACE_SRGB; in __vpe_try_fmt()
1484 pix->colorspace = V4L2_COLORSPACE_REC709; in __vpe_try_fmt()
[all …]
/linux-4.4.14/drivers/media/platform/soc_camera/
Datmel-isi.c529 mf->colorspace = pix->colorspace; in isi_camera_set_fmt()
542 pix->colorspace = mf->colorspace; in isi_camera_set_fmt()
585 mf->colorspace = pix->colorspace; in isi_camera_try_fmt()
594 pix->colorspace = mf->colorspace; in isi_camera_try_fmt()
Dsoc_camera_platform.c49 mf->colorspace = p->format.colorspace; in soc_camera_platform_fill_fmt()
Dmx3_camera.c888 mf->colorspace = pix->colorspace; in mx3_camera_set_fmt()
908 pix->colorspace = mf->colorspace; in mx3_camera_set_fmt()
946 mf->colorspace = pix->colorspace; in mx3_camera_try_fmt()
955 pix->colorspace = mf->colorspace; in mx3_camera_try_fmt()
Dsh_mobile_ceu_camera.c1417 mf.colorspace = pix->colorspace; in sh_mobile_ceu_set_fmt()
1466 pix->colorspace = mf.colorspace; in sh_mobile_ceu_set_fmt()
1532 pix->colorspace = icd->colorspace; in sh_mobile_ceu_try_fmt()
1549 mf->colorspace = pix->colorspace; in sh_mobile_ceu_try_fmt()
1559 pix->colorspace = mf->colorspace; in sh_mobile_ceu_try_fmt()
1644 .colorspace = icd->colorspace, in sh_mobile_ceu_set_livecrop()
Drcar_vin.c1630 mf.colorspace = pix->colorspace; in rcar_vin_set_fmt()
1679 pix->colorspace = mf.colorspace; in rcar_vin_set_fmt()
1726 pix->colorspace = icd->colorspace; in rcar_vin_try_fmt()
1745 mf->colorspace = pix->colorspace; in rcar_vin_try_fmt()
1759 pix->colorspace = mf->colorspace; in rcar_vin_try_fmt()
Domap1_camera.c1296 mf->colorspace = pix->colorspace; in omap1_cam_set_fmt()
1317 pix->colorspace = mf->colorspace; in omap1_cam_set_fmt()
1347 mf->colorspace = pix->colorspace; in omap1_cam_try_fmt()
1358 pix->colorspace = mf->colorspace; in omap1_cam_try_fmt()
Dmx2_camera.c1151 mf->colorspace = pix->colorspace; in mx2_camera_set_fmt()
1180 pix->colorspace = mf->colorspace; in mx2_camera_set_fmt()
1225 mf->colorspace = pix->colorspace; in mx2_camera_try_fmt()
1261 pix->colorspace = mf->colorspace; in mx2_camera_try_fmt()
Dpxa_camera.c1448 mf->colorspace = pix->colorspace; in pxa_camera_set_fmt()
1482 pix->colorspace = mf->colorspace; in pxa_camera_set_fmt()
1523 mf->colorspace = pix->colorspace; in pxa_camera_try_fmt()
1532 pix->colorspace = mf->colorspace; in pxa_camera_try_fmt()
Dsoc_scale_crop.c343 mf->colorspace = mf_tmp->colorspace; in soc_camera_client_scale()
Dsoc_camera.c603 icd->colorspace = pix->colorspace; in soc_camera_set_fmt()
712 .colorspace = icd->colorspace, in soc_camera_open()
952 pix->colorspace = icd->colorspace; in soc_camera_g_fmt_vid_cap()
1338 icd->colorspace = mf->colorspace; in soc_camera_probe_finish()
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7511.txt21 - adi,input-colorspace: The input color space, one of "rgb", "yuv422" or
65 adi,input-colorspace = "rgb";
/linux-4.4.14/drivers/video/
Dhdmi.c106 ptr[0] = ((frame->colorspace & 0x3) << 5) | (frame->scan_mode & 0x3); in hdmi_avi_infoframe_pack()
473 static const char *hdmi_colorspace_get_name(enum hdmi_colorspace colorspace) in hdmi_colorspace_get_name() argument
475 switch (colorspace) { in hdmi_colorspace_get_name()
670 hdmi_colorspace_get_name(frame->colorspace)); in hdmi_avi_infoframe_log()
1026 frame->colorspace = (ptr[0] >> 5) & 0x3; in hdmi_avi_infoframe_unpack()
/linux-4.4.14/drivers/media/usb/gspca/m5602/
Dm5602_ov9650.c107 .colorspace = V4L2_COLORSPACE_SRGB,
117 .colorspace = V4L2_COLORSPACE_SRGB,
127 .colorspace = V4L2_COLORSPACE_SRGB,
137 .colorspace = V4L2_COLORSPACE_SRGB,
Dm5602_s5k4aa.c128 .colorspace = V4L2_COLORSPACE_SRGB,
139 .colorspace = V4L2_COLORSPACE_SRGB,
Dm5602_ov7660.c35 .colorspace = V4L2_COLORSPACE_SRGB,
Dm5602_s5k83a.c39 .colorspace = V4L2_COLORSPACE_SRGB,
Dm5602_mt9m111.c34 .colorspace = V4L2_COLORSPACE_SRGB,
Dm5602_po1030.c34 .colorspace = V4L2_COLORSPACE_SRGB,
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-v4l2.c175 sd_fmt.format.colorspace = s->colorspace; in cobalt_enable_output()
741 pix->colorspace = V4L2_COLORSPACE_SRGB; in cobalt_g_fmt_vid_cap()
783 pix->colorspace = V4L2_COLORSPACE_SRGB; in cobalt_try_fmt_vid_cap()
901 pix->colorspace = s->colorspace; in cobalt_g_fmt_vid_out()
961 s->colorspace = pix->colorspace; in cobalt_s_fmt_vid_out()
1194 s->colorspace = V4L2_COLORSPACE_SRGB; in cobalt_node_register()
Dcobalt-driver.h235 u32 colorspace; member
/linux-4.4.14/drivers/media/pci/sta2x11/
Dsta2x11_vip.c171 .colorspace = V4L2_COLORSPACE_SMPTE170M},
179 .colorspace = V4L2_COLORSPACE_SMPTE170M},
187 .colorspace = V4L2_COLORSPACE_SMPTE170M},
199 .colorspace = V4L2_COLORSPACE_SMPTE170M},
207 .colorspace = V4L2_COLORSPACE_SMPTE170M},
215 .colorspace = V4L2_COLORSPACE_SMPTE170M},
646 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_try_fmt_vid_cap()
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_driver.c82 .colorspace = V4L2_COLORSPACE_SRGB,
91 .colorspace = V4L2_COLORSPACE_SRGB,
99 .colorspace = V4L2_COLORSPACE_SRGB,
108 .colorspace = V4L2_COLORSPACE_SRGB,
116 .colorspace = V4L2_COLORSPACE_SRGB,
124 .colorspace = V4L2_COLORSPACE_SRGB,
132 .colorspace = V4L2_COLORSPACE_SRGB,
140 .colorspace = V4L2_COLORSPACE_SMPTE170M,
148 .colorspace = V4L2_COLORSPACE_SMPTE170M,
156 .colorspace = V4L2_COLORSPACE_SMPTE170M,
[all …]
Dzoran.h143 int colorspace; member
/linux-4.4.14/drivers/video/fbdev/
Dsh_mobile_lcdcfb.h79 u32 colorspace; member
Dsh_mobile_lcdcfb.c1018 switch (ch->colorspace) { in __sh_mobile_lcdc_start()
1273 var->colorspace = V4L2_COLORSPACE_SRGB; in __sh_mobile_lcdc_check_var()
1274 else if (var->colorspace != V4L2_COLORSPACE_REC709) in __sh_mobile_lcdc_check_var()
1275 var->colorspace = V4L2_COLORSPACE_JPEG; in __sh_mobile_lcdc_check_var()
2037 ch->colorspace = info->var.colorspace; in sh_mobile_lcdc_set_par()
2664 ch->colorspace = V4L2_COLORSPACE_SRGB; in sh_mobile_lcdc_channel_init()
2667 ch->colorspace = V4L2_COLORSPACE_REC709; in sh_mobile_lcdc_channel_init()
/linux-4.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c115 .colorspace = V4L2_COLORSPACE_REC709,
742 pix->colorspace = (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) ? in bdisp_g_fmt()
743 frame->colorspace : bdisp_dflt_fmt.colorspace; in bdisp_g_fmt()
793 pix->colorspace = bdisp_dflt_fmt.colorspace; in bdisp_try_fmt()
835 frame->colorspace = pix->colorspace; in bdisp_s_fmt()
Dbdisp.h75 enum v4l2_colorspace colorspace; member
/linux-4.4.14/drivers/gpu/drm/i2c/
Dadv7511.c253 config.avi_infoframe.colorspace = HDMI_COLORSPACE_RGB; in adv7511_set_config_csc()
262 config.avi_infoframe.colorspace = in adv7511_set_config_csc()
266 config.avi_infoframe.colorspace = HDMI_COLORSPACE_RGB; in adv7511_set_config_csc()
273 switch (config.avi_infoframe.colorspace) { in adv7511_set_config_csc()
/linux-4.4.14/drivers/media/platform/coda/
Dcoda-common.c382 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in coda_g_fmt()
384 f->fmt.pix.colorspace = ctx->colorspace; in coda_g_fmt()
468 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in coda_try_fmt()
510 f->fmt.pix.colorspace = ctx->colorspace; in coda_try_fmt_vid_cap()
547 switch (f->fmt.pix.colorspace) { in coda_try_fmt_vid_out()
553 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in coda_try_fmt_vid_out()
555 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in coda_try_fmt_vid_out()
643 ctx->colorspace = f->fmt.pix.colorspace; in coda_s_fmt_vid_out()
1098 ctx->colorspace = V4L2_COLORSPACE_REC709; in set_default_params()
Dcoda.h205 enum v4l2_colorspace colorspace; member
/linux-4.4.14/include/uapi/linux/
Dv4l2-mediabus.h34 __u32 colorspace; member
Dfb.h276 __u32 colorspace; /* colorspace for FOURCC-based modes */ member
Dvideodev2.h458 __u32 colorspace; /* enum v4l2_colorspace */ member
951 __u32 colorspace; /* enum v4l2_colorspace */ member
1970 __u32 colorspace; member
/linux-4.4.14/Documentation/video4linux/
Dvivid.txt25 - Full colorspace support, including limited/full RGB range
280 The initially selected colorspace when you switch to the webcam input will be
310 The initially selected colorspace when you switch to the TV or S-Video input
349 The initially selected colorspace when you switch to the HDMI input or
351 less than or equal to 720x576 the colorspace is set to SMPTE-170M, for
390 The initially selected colorspace when you switch to the TV or S-Video input
401 The initially selected colorspace when you switch to the HDMI output or
403 less than or equal to 720x576 the colorspace is set to SMPTE-170M, for
581 testing colorspace conversions: the colors used in that test pattern
582 map to valid colors in all colorspaces. The colorspace conversion
[all …]
Dv4l2-pci-skeleton.c333 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in skeleton_fill_pix_format()
344 pix->colorspace = V4L2_COLORSPACE_REC709; in skeleton_fill_pix_format()
Dmeye.txt14 Grabbing is supported in packed YUV colorspace only.
/linux-4.4.14/include/video/
Dsh_mobile_lcdc.h177 int colorspace; member
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_v4l2.c98 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_get_format()
139 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_set_format()
/linux-4.4.14/Documentation/fb/
Dapi.txt217 __u32 colorspace; /* colorspace for FOURCC-based modes */
295 For YUV formats, they should also select the appropriate colorspace by setting
296 the colorspace field to one of the colorspaces listed in linux/videodev2.h and
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-dma.c80 dma->format.colorspace != fmt.format.colorspace) in xvip_dma_verify_format()
671 dma->format.colorspace = V4L2_COLORSPACE_SRGB; in xvip_dma_init()
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss_ipipe.c225 fmt->colorspace = V4L2_COLORSPACE_SRGB; in ipipe_try_format()
235 fmt->colorspace = V4L2_COLORSPACE_JPEG; in ipipe_try_format()
Diss_video.c154 pix->colorspace = mbus->colorspace; in iss_video_mbus_to_pix()
182 mbus->colorspace = pix->colorspace; in iss_video_pix_to_mbus()
Diss_ipipeif.c437 fmt->colorspace = V4L2_COLORSPACE_SRGB; in ipipeif_try_format()
/linux-4.4.14/include/linux/
Dhdmi.h141 enum hdmi_colorspace colorspace; member
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_hsit.c143 format->colorspace = V4L2_COLORSPACE_SRGB; in hsit_set_format()
Dvsp1_lut.c184 format->colorspace = V4L2_COLORSPACE_SRGB; in lut_set_format()
Dvsp1_lif.c175 format->colorspace = V4L2_COLORSPACE_SRGB; in lif_set_format()
Dvsp1_rwpf.c129 format->colorspace = V4L2_COLORSPACE_SRGB; in vsp1_rwpf_set_format()
Dvsp1_uds.c275 fmt->colorspace = V4L2_COLORSPACE_SRGB; in uds_try_format()
Dvsp1_sru.c293 fmt->colorspace = V4L2_COLORSPACE_SRGB; in sru_try_format()
Dvsp1_bru.c282 fmt->colorspace = V4L2_COLORSPACE_SRGB; in bru_try_format()
Dvsp1_video.c231 pix->colorspace = V4L2_COLORSPACE_SRGB; in __vsp1_video_try_format()
1234 video->format.colorspace = V4L2_COLORSPACE_SRGB; in vsp1_video_init()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-regs.c153 if (frame->colorspace == V4L2_COLORSPACE_REC709) in gsc_hw_set_in_image_rgb()
273 if (frame->colorspace == V4L2_COLORSPACE_REC709) in gsc_hw_set_out_image_rgb()
Dgsc-core.c450 pix_mp->colorspace = V4L2_COLORSPACE_REC709; in gsc_try_fmt_mplane()
452 pix_mp->colorspace = V4L2_COLORSPACE_SMPTE170M; in gsc_try_fmt_mplane()
483 pix_mp->colorspace = V4L2_COLORSPACE_REC709; in gsc_g_fmt_mplane()
Dgsc-core.h207 u32 colorspace; member
Dgsc-m2m.c342 frame->colorspace = pix->colorspace; in gsc_m2m_s_fmt_mplane()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols_core.c62 .colorspace = V4L2_COLORSPACE_JPEG,
69 .colorspace = V4L2_COLORSPACE_JPEG,
584 format->colorspace = V4L2_COLORSPACE_JPEG; in m5mols_set_fmt()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-video.c348 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_g_fmt_vid_cap()
386 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_try_fmt_vid_cap()
573 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_try_fmt_vid_out()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_fops.c539 vv->ov_fb.fmt.colorspace = V4L2_COLORSPACE_SRGB; in saa7146_vv_init()
546 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in saa7146_vv_init()
/linux-4.4.14/drivers/media/platform/davinci/
Dvpif_display.c483 common->fmt.fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vpif_update_resolution()
485 common->fmt.fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vpif_update_resolution()
645 pixfmt->colorspace = common->fmt.fmt.pix.colorspace; in vpif_try_fmt_vid_out()
Dvpif_capture.c509 common->fmt.fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vpif_update_std_info()
511 common->fmt.fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vpif_update_std_info()
956 pixfmt->colorspace = common->fmt.fmt.pix.colorspace; in vpif_try_fmt_vid_cap()
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispvideo.c178 pix->colorspace = mbus->colorspace; in isp_video_mbus_to_pix()
202 mbus->colorspace = pix->colorspace; in isp_video_pix_to_mbus()
/linux-4.4.14/drivers/media/usb/stk1160/
Dstk1160-v4l.c380 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
472 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in stk1160_try_fmt()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2.c485 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in solo_try_fmt_cap()
514 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in solo_get_fmt_cap()
Dsolo6x10-v4l2-enc.c902 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in solo_enc_try_fmt_cap()
959 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in solo_enc_get_fmt_cap()
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi.c910 frame.colorspace = HDMI_COLORSPACE_YUV444; in hdmi_config_AVI()
912 frame.colorspace = HDMI_COLORSPACE_YUV422; in hdmi_config_AVI()
914 frame.colorspace = HDMI_COLORSPACE_RGB; in hdmi_config_AVI()
945 val = (frame.colorspace & 3) << 4 | (frame.scan_mode & 0x3); in hdmi_config_AVI()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_v4l2.c250 fmt->fmt.pix.colorspace = format->colorspace; in uvc_v4l2_try_format()
287 fmt->fmt.pix.colorspace = format->colorspace; in uvc_v4l2_get_format()
Duvcvideo.h324 __u8 colorspace; member
/linux-4.4.14/drivers/media/platform/omap/
Domap_vout.c173 pix->colorspace = V4L2_COLORSPACE_JPEG; in omap_vout_try_format()
178 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format()
182 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format()
187 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format()
1884 pix->colorspace = V4L2_COLORSPACE_JPEG; in omap_vout_setup_video_data()
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-capture.c724 pix->colorspace = V4L2_COLORSPACE_JPEG; in s3c_camif_vidioc_g_fmt()
771 pix->colorspace = V4L2_COLORSPACE_JPEG; in __camif_video_try_format()
1262 mf->colorspace = V4L2_COLORSPACE_JPEG; in s3c_camif_subdev_get_fmt()
1311 mf->colorspace = V4L2_COLORSPACE_JPEG; in s3c_camif_subdev_set_fmt()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-417.c1377 f->fmt.pix.colorspace = 0; in vidioc_g_fmt_vid_cap()
1395 f->fmt.pix.colorspace = 0; in vidioc_try_fmt_vid_cap()
1411 f->fmt.pix.colorspace = 0; in vidioc_s_fmt_vid_cap()
Dcx23885-video.c530 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
578 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_try_fmt_vid_cap()
/linux-4.4.14/drivers/media/usb/zr364xx/
Dzr364xx.c807 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in zr364xx_vidioc_try_fmt_vid_cap()
829 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in zr364xx_vidioc_g_fmt_vid_cap()
865 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in zr364xx_vidioc_s_fmt_vid_cap()
/linux-4.4.14/drivers/media/pci/tw68/
Dtw68-video.c606 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in tw68_g_fmt_vid_cap()
656 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in tw68_try_fmt_vid_cap()
/linux-4.4.14/arch/sh/boards/mach-ap325rxa/
Dsetup.c343 .colorspace = V4L2_COLORSPACE_SMPTE170M,
/linux-4.4.14/drivers/staging/most/aim-v4l2/
Dvideo.c234 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in aim_set_format_struct()
/linux-4.4.14/drivers/media/usb/cpia2/
Dcpia2_v4l.c360 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in cpia2_try_fmt_vid_cap()
471 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in cpia2_g_fmt_vid_cap()
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-v4l2.c239 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in set_capture_size()
347 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
/linux-4.4.14/drivers/media/usb/hdpvr/
Dhdpvr-video.c1027 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
1031 f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709; in vidioc_g_fmt_vid_cap()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-blackbird.c806 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
824 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_try_fmt_vid_cap()
/linux-4.4.14/arch/arm/boot/dts/
Dr8a7790-lager.dts568 adi,input-colorspace = "rgb";
/linux-4.4.14/drivers/media/usb/stkwebcam/
Dstk-webcam.c916 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap()
960 fmtd->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in stk_try_fmt_vid_cap()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-ioctl.c352 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in ivtv_g_fmt_vid_cap()
418 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in ivtv_g_fmt_vid_out()
1420 fb->fmt.colorspace = V4L2_COLORSPACE_SMPTE170M; in ivtv_g_fbuf()

12