Searched refs:pixel_format (Results 1 - 25 of 60) sorted by relevance

123

/external/chromium_org/media/video/capture/
H A Dvideo_capture_types.cc14 : frame_rate(0.0f), pixel_format(PIXEL_FORMAT_UNKNOWN) {}
18 VideoPixelFormat pixel_format)
21 pixel_format(pixel_format) {}
30 (pixel_format >= PIXEL_FORMAT_UNKNOWN) &&
31 (pixel_format < PIXEL_FORMAT_MAX);
38 PixelFormatToString(pixel_format).c_str());
16 VideoCaptureFormat(const gfx::Size& frame_size, float frame_rate, VideoPixelFormat pixel_format) argument
H A Dvideo_capture_types.h64 VideoPixelFormat pixel_format);
75 VideoPixelFormat pixel_format; member in class:media::VideoCaptureFormat
H A Dvideo_capture_device_unittest.cc166 const VideoPixelFormat& pixel_format) {
182 if (formats_iterator->pixel_format == pixel_format) {
188 DVLOG(1) << "No camera can capture the format: " << pixel_format;
234 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
259 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
285 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
308 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
337 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
346 capture_params.requested_format.pixel_format
165 GetFirstDeviceNameSupportingPixelFormat( const VideoPixelFormat& pixel_format) argument
[all...]
H A Dfake_video_capture_device_unittest.cc136 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
158 EXPECT_EQ(supported_formats[0].pixel_format, media::PIXEL_FORMAT_I420);
162 EXPECT_EQ(supported_formats[1].pixel_format, media::PIXEL_FORMAT_I420);
166 EXPECT_EQ(supported_formats[2].pixel_format, media::PIXEL_FORMAT_I420);
178 capture_params.requested_format.pixel_format = PIXEL_FORMAT_I420;
H A Dfake_video_capture_device.cc75 DCHECK_EQ(params.requested_format.pixel_format, PIXEL_FORMAT_I420);
76 capture_format_.pixel_format = params.requested_format.pixel_format;
179 DCHECK_EQ(capture_format_.pixel_format, PIXEL_FORMAT_I420);
/external/qemu/android/camera/
H A Dcamera-format-converters.h48 * pixel_format - Defines pixel format for the converting framebuffer.
62 uint32_t pixel_format,
H A Dcamera-capture.h45 * pixel_format - Defines pixel format for the captured frames. Must be one of
49 * 'pixel_format' parameter.
54 uint32_t pixel_format,
H A Dcamera-capture-windows.c81 uint32_t pixel_format; member in struct:WndCameraDevice
231 wcd->pixel_format = V4L2_PIX_FMT_BGR32;
233 wcd->pixel_format = V4L2_PIX_FMT_RGB565;
235 wcd->pixel_format = V4L2_PIX_FMT_BGR24;
238 wcd->pixel_format = wcd->frame_bitmap->bmiHeader.biCompression;
289 uint32_t pixel_format,
490 wcd->pixel_format = V4L2_PIX_FMT_RGB565;
492 wcd->pixel_format = V4L2_PIX_FMT_BGR24;
494 wcd->pixel_format = V4L2_PIX_FMT_BGR32;
504 (const char*)&wcd->pixel_format, wc
288 camera_device_start_capturing(CameraDevice* cd, uint32_t pixel_format, int frame_width, int frame_height) argument
[all...]
H A Dcamera-service.c191 snprintf(tmp, sizeof(tmp), "pix=%d ", ci->pixel_format);
306 (const char*)(&csd->camera_info[csd->camera_count].pixel_format));
604 uint32_t pixel_format; member in struct:CameraClient
855 if (cc->pixel_format != pix_format ||cc->width != width ||
864 __FUNCTION__, cc->device_name, (const char*)&cc->pixel_format,
877 cc->pixel_format = pix_format;
885 switch (cc->pixel_format) {
895 __FUNCTION__, (char*)&cc->pixel_format);
903 if (!has_converter(cc->camera_info->pixel_format, cc->pixel_format) ||
[all...]
H A Dcamera-common.h100 uint32_t pixel_format; member in struct:ClientFrameBuffer
130 uint32_t pixel_format; member in struct:CameraInfo
H A Dcamera-capture-mac.m285 const uint32_t pixel_format =
297 res = convert_frame(pixels, pixel_format, frame_size,
423 uint32_t pixel_format,
545 cis[0].pixel_format = _QTtoFOURCC(qt_pix_format);
546 if (cis[0].pixel_format == 0) {
/external/chromium_org/media/video/capture/linux/
H A Dvideo_capture_device_factory_linux.cc128 v4l2_fmtdesc pixel_format = {}; local
129 pixel_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
130 while (HANDLE_EINTR(ioctl(fd.get(), VIDIOC_ENUM_FMT, &pixel_format)) == 0) {
132 supported_format.pixel_format =
134 (int32)pixel_format.pixelformat);
135 if (supported_format.pixel_format == PIXEL_FORMAT_UNKNOWN) {
136 ++pixel_format.index;
141 frame_size.pixel_format = pixel_format.pixelformat;
155 frame_interval.pixel_format
[all...]
/external/chromium_org/content/common/media/
H A Dmedia_param_traits.cc65 m->WriteInt(static_cast<int>(p.pixel_format));
71 int frame_size_width, frame_size_height, pixel_format; local
75 !m->ReadInt(iter, &pixel_format))
79 r->pixel_format = static_cast<VideoPixelFormat>(pixel_format);
/external/chromium_org/media/video/capture/android/
H A Dvideo_capture_device_factory_android.cc102 VideoPixelFormat pixel_format = media::PIXEL_FORMAT_UNKNOWN; local
106 pixel_format = media::PIXEL_FORMAT_YV12;
109 pixel_format = media::PIXEL_FORMAT_NV21;
121 pixel_format); local
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_wingl_c.h36 int pixel_format; member in struct:SDL_PrivateGLData
62 #define pixel_format (this->gl_data->pixel_format) macro
H A DSDL_wingl.c305 pixel_format = ChoosePixelFormatARB(this, iAttribs, fAttribs);
307 if ( ( !pixel_format ) && ( this->gl_config.accelerated < 0 ) ) {
309 pixel_format = ChoosePixelFormatARB(this, iAttribs, fAttribs);
312 if ( !pixel_format ) {
313 pixel_format = ChoosePixelFormat(GL_hdc, &GL_pfd);
315 if ( !pixel_format ) {
319 if ( !SetPixelFormat(GL_hdc, pixel_format, &GL_pfd) ) {
333 DescribePixelFormat(GL_hdc, pixel_format, sizeof(GL_pfd), &GL_pfd);
486 this->gl_data->wglGetPixelFormatAttribivARB(GL_hdc, pixel_format, 0, 1, &wgl_attrib, value);
496 this->gl_data->wglGetPixelFormatAttribivARB(GL_hdc, pixel_format,
[all...]
/external/chromium_org/media/video/capture/win/
H A Dsink_input_pin_win.cc113 resulting_format_.pixel_format = PIXEL_FORMAT_I420;
118 resulting_format_.pixel_format = PIXEL_FORMAT_YUY2;
123 resulting_format_.pixel_format = PIXEL_FORMAT_RGB24;
143 resulting_format_.pixel_format = PIXEL_FORMAT_UNKNOWN;
H A Dcapability_list_win.cc36 return item1.capability->supported_format.pixel_format <
37 item2.capability->supported_format.pixel_format;
/external/chromium_org/third_party/libva/va/
H A Dva_tpi.h54 unsigned int pixel_format; /* buffer format */ member in struct:_VASurfaceAttributeTPI
/external/chromium_org/content/browser/media/capture/
H A Ddesktop_capture_device_unittest.cc177 capture_params.requested_format.pixel_format = media::PIXEL_FORMAT_I420;
186 EXPECT_EQ(media::PIXEL_FORMAT_ARGB, format.pixel_format);
213 capture_params.requested_format.pixel_format = media::PIXEL_FORMAT_I420;
229 EXPECT_EQ(media::PIXEL_FORMAT_ARGB, format.pixel_format);
254 capture_params.requested_format.pixel_format = media::PIXEL_FORMAT_I420;
272 EXPECT_EQ(media::PIXEL_FORMAT_ARGB, format.pixel_format);
H A Dcontent_video_capture_device_core.cc52 switch (params_.requested_format.pixel_format) {
60 LOG(FATAL) << "Unexpected pixel_format "
61 << params_.requested_format.pixel_format;
228 if (params.requested_format.pixel_format != media::PIXEL_FORMAT_I420 &&
229 params.requested_format.pixel_format != media::PIXEL_FORMAT_TEXTURE) {
231 "unsupported format: %d", params.requested_format.pixel_format);
/external/chromium_org/content/renderer/media/
H A Dvideo_capture_message_filter_unittest.cc106 EXPECT_EQ(shm_format.pixel_format, saved_format.pixel_format);
132 EXPECT_EQ(mailbox_format.pixel_format, saved_format.pixel_format);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A DxmesaP.h58 enum pixel_format { enum
85 enum pixel_format dithered_pf; /* Pixel format when dithering */
86 enum pixel_format undithered_pf;/* Pixel format when not dithering */
117 enum pixel_format pixelformat;
/external/mesa3d/src/mesa/drivers/x11/
H A DxmesaP.h58 enum pixel_format { enum
85 enum pixel_format dithered_pf; /* Pixel format when dithering */
86 enum pixel_format undithered_pf;/* Pixel format when not dithering */
117 enum pixel_format pixelformat;
/external/qemu/hw/android/goldfish/
H A Dfb.c53 int pixel_format; member in struct:goldfish_fb_state
140 int pixel_format; /* HAL pixel format */ member in struct:__anon29650
156 if (s->pixel_format >= 0) {
157 return s->pixel_format;
185 for (nn = 0; fb_configs[nn].pixel_format >= 0; nn++) {
194 s->pixel_format = fbc->pixel_format;
195 return s->pixel_format;
209 if (s->pixel_format < 0) {
667 /* IMPORTANT: DO NOT COMPUTE s->pixel_format an
[all...]

Completed in 1043 milliseconds

123