Home
last modified time | relevance | path

Searched refs:pixelformat (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/modules/video_capture/linux/
Dvideo_capture_v4l2.cc145 << cricket::GetFourccName(fmt.pixelformat) in StartCapture()
149 if (fmt.pixelformat == fmts[i] && i < fmtsIdx) in StartCapture()
170 video_fmt.fmt.pix.pixelformat = fmts[fmtsIdx]; in StartCapture()
172 if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV) in StartCapture()
174 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUV420) in StartCapture()
176 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY) in StartCapture()
178 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_NV12) in StartCapture()
180 else if (video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_MJPEG || in StartCapture()
181 video_fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_JPEG) in StartCapture()
Ddevice_info_v4l2.cc244 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; in FillCapabilities()
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c34 int valid_pixelformat(__u32 pixelformat) in valid_pixelformat() argument
38 switch (pixelformat) { in valid_pixelformat()
222 format.fmt.pix.pixelformat, in do_get_formats()
244 (format.fmt.pix.pixelformat)); in do_get_formats()
751 format_max.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
773 format_max.fmt.pix.pixelformat, in do_set_formats_enum()
796 (format_max.fmt.pix.pixelformat)); in do_set_formats_enum()
797 CU_ASSERT_EQUAL(format_max.fmt.pix.pixelformat, in do_set_formats_enum()
798 fmtdesc.pixelformat); in do_set_formats_enum()
828 format_min.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
[all …]
Dtest_VIDIOC_ENUM_FRAMESIZES.c183 do_test_VIDIOC_ENUM_FRAMESIZES(format.pixelformat); in do_test_VIDIOC_ENUM_FRAMESIZES_type()
314 pixelformat); in do_test_VIDIOC_ENUM_FRAMESIZES_type_invalid_index()
355 } while (ret_enum == 0 && i != 0 && format.pixelformat != pixel_format); in supported_pixel_format_type()
357 if (ret_enum == 0 && i != 0 && format.pixelformat == pixel_format) { in supported_pixel_format_type()
637 fmt = format_capture.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
639 fmt = format_output.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
641 fmt = format_overlay.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
643 fmt = format_private.pixelformat; in test_VIDIOC_ENUM_FRAMESIZES_NULL()
Dtest_VIDIOC_ENUM_FMT.c89 format2.pixelformat = format.pixelformat; in do_enumerate_formats()
98 format.description, format.pixelformat, in do_enumerate_formats()
/external/ImageMagick/coders/
Ddds.c275 pixelformat; member
1129 dds_info->pixelformat.flags = ReadBlobLSBLong(image); in ReadDDSInfo()
1130 dds_info->pixelformat.fourcc = ReadBlobLSBLong(image); in ReadDDSInfo()
1131 dds_info->pixelformat.rgb_bitcount = ReadBlobLSBLong(image); in ReadDDSInfo()
1132 dds_info->pixelformat.r_bitmask = ReadBlobLSBLong(image); in ReadDDSInfo()
1133 dds_info->pixelformat.g_bitmask = ReadBlobLSBLong(image); in ReadDDSInfo()
1134 dds_info->pixelformat.b_bitmask = ReadBlobLSBLong(image); in ReadDDSInfo()
1135 dds_info->pixelformat.alpha_bitmask = ReadBlobLSBLong(image); in ReadDDSInfo()
1142 if ((dds_info->pixelformat.flags & DDPF_FOURCC) && in ReadDDSInfo()
1143 (dds_info->pixelformat.fourcc == FOURCC_DX10)) in ReadDDSInfo()
[all …]
/external/libkmsxx/kms++util/src/
Dvideodevice.cpp39 if (desc.pixelformat == V4L2_PIX_FMT_NV12M) in v4l2_get_formats()
41 else if (desc.pixelformat != V4L2_PIX_FMT_NV12) in v4l2_get_formats()
42 v.push_back((PixelFormat)desc.pixelformat); in v4l2_get_formats()
73 mp.pixelformat = used_fmt; in v4l2_set_format()
90 ASSERT(mp.pixelformat == used_fmt); in v4l2_set_format()
106 v4lfmt.fmt.pix.pixelformat = (uint32_t)fmt; in v4l2_set_format()
114 ASSERT(v4lfmt.fmt.pix.pixelformat == (uint32_t)fmt); in v4l2_set_format()
/external/v4l2_codec2/common/
DV4L2Device.cpp65 format.fmt.pix_mp.pixelformat = fourcc; in buildV4L2Format()
731 if (mDevice->ioctl(VIDIOC_S_FMT, &format) != 0 || format.fmt.pix_mp.pixelformat != fourcc) { in setFormat()
743 if (mDevice->ioctl(VIDIOC_TRY_FMT, &format) != 0 || format.fmt.pix_mp.pixelformat != fourcc) { in tryFormat()
1514 const uint32_t pixFmt = format.fmt.pix_mp.pixelformat; in allocatedSizeFromV4L2Format()
1526 const uint32_t fourcc = format.fmt.pix.pixelformat; in allocatedSizeFromV4L2Format()
1614 << ", pixelformat: " << fourccToString(pix.pixelformat) << ", field: " << pix.field in v4L2FormatToString()
1622 << ", pixelformat: " << fourccToString(pixMp.pixelformat) << ", field: " << pixMp.field in v4L2FormatToString()
1678 const uint32_t& pixFmt = pixMp.pixelformat; in v4L2FormatToVideoFrameLayout()
1804 ALOGV("Found %s (0x%" PRIx32 ")", fmtDesc.description, fmtDesc.pixelformat); in enumerateSupportedPixelformats()
1805 pixelFormats.push_back(fmtDesc.pixelformat); in enumerateSupportedPixelformats()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_line.c69 xmesa->pixelformat);
425 xmesa->pixelformat); in xor_line()
472 switch (xmesa->pixelformat) { in get_line_func()
494 switch (xmesa->pixelformat) { in get_line_func()
Dxm_tri.c1036 switch (xmesa->pixelformat) { in get_triangle_func()
1063 switch (xmesa->pixelformat) { in get_triangle_func()
1087 switch (xmesa->pixelformat) { in get_triangle_func()
1112 switch (xmesa->pixelformat) { in get_triangle_func()
DxmesaP.h117 enum pixel_format pixelformat; member
Dxm_dd.c668 xmesa->pixelformat = xmesa->xm_visual->dithered_pf; in enable()
670 xmesa->pixelformat = xmesa->xm_visual->undithered_pf; in enable()
Dxm_api.c938 c->pixelformat = v->dithered_pf; /* Dithering is enabled by default */ in XMesaCreateContext()
1571 switch (xmesa->pixelformat) { in XMesaDitherColor()
/external/kernel-headers/original/uapi/linux/
Divtv.h52 __u32 pixelformat; /* 0 == same as destination */ member
Dvideodev2.h520 __u32 pixelformat; member
830 __u32 pixelformat; /* Format fourcc */ member
1205 __u32 pixelformat; member
2345 __u32 pixelformat; member
2368 __u32 pixelformat; member
/external/strace/tests/
Dioctl_v4l2.c65 f->fmt.pix.pixelformat = magic; in init_v4l2_format()
67 f->fmt.pix.pixelformat = pf_magic; in init_v4l2_format()
82 f->fmt.pix_mp.pixelformat = magic; in init_v4l2_format()
84 f->fmt.pix_mp.pixelformat = pf_magic; in init_v4l2_format()
159 f->fmt.sdr.pixelformat = sf_magic; in init_v4l2_format()
167 f->fmt.sdr.pixelformat = magic; in init_v4l2_format()
/external/strace/tests-m32/
Dioctl_v4l2.c65 f->fmt.pix.pixelformat = magic; in init_v4l2_format()
67 f->fmt.pix.pixelformat = pf_magic; in init_v4l2_format()
82 f->fmt.pix_mp.pixelformat = magic; in init_v4l2_format()
84 f->fmt.pix_mp.pixelformat = pf_magic; in init_v4l2_format()
159 f->fmt.sdr.pixelformat = sf_magic; in init_v4l2_format()
167 f->fmt.sdr.pixelformat = magic; in init_v4l2_format()
/external/strace/tests-mx32/
Dioctl_v4l2.c65 f->fmt.pix.pixelformat = magic; in init_v4l2_format()
67 f->fmt.pix.pixelformat = pf_magic; in init_v4l2_format()
82 f->fmt.pix_mp.pixelformat = magic; in init_v4l2_format()
84 f->fmt.pix_mp.pixelformat = pf_magic; in init_v4l2_format()
159 f->fmt.sdr.pixelformat = sf_magic; in init_v4l2_format()
167 f->fmt.sdr.pixelformat = magic; in init_v4l2_format()
/external/swiftshader/src/WSI/
DDirectFBSurfaceEXT.cpp55 desc.pixelformat = DSPF_RGB32; in attachImage()
/external/strace/
Dv4l2.c191 print_pixelformat(f.pixelformat, v4l2_pix_fmts); in print_v4l2_fmtdesc()
221 print_pixelformat(f->fmt.pix.pixelformat, v4l2_pix_fmts); in print_v4l2_format_fmt()
238 print_pixelformat(f->fmt.pix_mp.pixelformat, v4l2_pix_fmts); in print_v4l2_format_fmt()
336 print_pixelformat(f->fmt.sdr.pixelformat, v4l2_sdr_fmts); in print_v4l2_format_fmt()
DNEWS137 * Known pixel/SDR format names are printed as comments for pixelformat fields
151 * Fixed v4l2 pixelformat decoding on big-endian architectures.
/external/igt-gpu-tools/tests/
Dkms_plane_scaling.c63 static bool is_planar_yuv_format(uint32_t pixelformat) in is_planar_yuv_format() argument
65 switch (pixelformat) { in is_planar_yuv_format()
/external/libkmsxx/utils/
Dkmscapture.cpp145 v4lfmt.fmt.pix.pixelformat = (uint32_t)pixfmt; in CameraPipeline()
/external/cpuinfo/test/build.prop/
Dgalaxy-win-duos.log195 ro.staticwallpaper.pixelformat=RGB_565
/external/v4l2_codec2/components/
DV4L2Decoder.cpp184 ALOG_ASSERT(format->fmt.pix_mp.pixelformat == inputPixelFormat); in setupInputFormat()

12