Home
last modified time | relevance | path

Searched refs:supported_formats (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideocapturer_unittest.cc388 std::vector<cricket::VideoFormat> supported_formats; in TEST_F() local
389 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
391 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
393 capturer_.ResetSupportedFormats(supported_formats); in TEST_F()
409 supported_formats.clear(); in TEST_F()
410 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
412 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
414 capturer_.ResetSupportedFormats(supported_formats); in TEST_F()
426 std::vector<cricket::VideoFormat> supported_formats; in TEST_F() local
427 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
[all …]
Dvideocapturer.cc232 const std::vector<VideoFormat>* supported_formats = GetSupportedFormats(); in GetBestCaptureFormat() local
234 if (supported_formats->empty()) { in GetBestCaptureFormat()
239 std::vector<VideoFormat>::const_iterator best = supported_formats->end(); in GetBestCaptureFormat()
241 for (i = supported_formats->begin(); i != supported_formats->end(); ++i) { in GetBestCaptureFormat()
251 if (supported_formats->end() == best) { in GetBestCaptureFormat()
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_manager_unittest.cc253 media::VideoCaptureFormats supported_formats; in TEST_F() local
254 vcm_->GetDeviceSupportedFormats(video_session_id, &supported_formats); in TEST_F()
256 ASSERT_GT(supported_formats.size(), 1u); in TEST_F()
257 EXPECT_GT(supported_formats[0].frame_size.width(), 1); in TEST_F()
258 EXPECT_GT(supported_formats[0].frame_size.height(), 1); in TEST_F()
259 EXPECT_GT(supported_formats[0].frame_rate, 1); in TEST_F()
260 EXPECT_GT(supported_formats[1].frame_size.width(), 1); in TEST_F()
261 EXPECT_GT(supported_formats[1].frame_size.height(), 1); in TEST_F()
262 EXPECT_GT(supported_formats[1].frame_rate, 1); in TEST_F()
267 vcm_->GetDeviceSupportedFormats(video_session_id, &supported_formats); in TEST_F()
[all …]
Dvideo_capture_manager.cc52 const media::VideoCaptureFormats& supported_formats) in DeviceInfo() argument
54 supported_formats(supported_formats) {} in DeviceInfo()
288 media::VideoCaptureFormats* supported_formats) { in GetDeviceSupportedFormats() argument
290 supported_formats->clear(); in GetDeviceSupportedFormats()
304 *supported_formats = device_in_use->supported_formats; in GetDeviceSupportedFormats()
309 supported_formats->push_back( in GetDeviceSupportedFormats()
426 media::VideoCaptureFormats supported_formats; in GetAvailableDevicesInfoOnDeviceThread() local
431 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
435 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
439 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
Dvideo_capture_manager.h89 media::VideoCaptureFormats* supported_formats);
100 const media::VideoCaptureFormats& supported_formats);
104 media::VideoCaptureFormats supported_formats; member
/external/chromium_org/media/video/capture/
Dvideo_capture_device_unittest.cc370 VideoCaptureFormats supported_formats; in TEST_F() local
375 &supported_formats); in TEST_F()
414 VideoCaptureFormats supported_formats; in TEST_F() local
420 &supported_formats); in TEST_F()
421 EXPECT_EQ(supported_formats.size(), 2u); in TEST_F()
422 EXPECT_EQ(supported_formats[0].frame_size.width(), 640); in TEST_F()
423 EXPECT_EQ(supported_formats[0].frame_size.height(), 480); in TEST_F()
424 EXPECT_EQ(supported_formats[0].pixel_format, media::PIXEL_FORMAT_I420); in TEST_F()
425 EXPECT_GE(supported_formats[0].frame_rate, 20); in TEST_F()
426 EXPECT_EQ(supported_formats[1].frame_size.width(), 320); in TEST_F()
[all …]
Dfake_video_capture_device.cc49 VideoCaptureFormats* supported_formats) { in GetDeviceSupportedFormats() argument
51 supported_formats->clear(); in GetDeviceSupportedFormats()
56 supported_formats->push_back(capture_format_640x480); in GetDeviceSupportedFormats()
61 supported_formats->push_back(capture_format_320x240); in GetDeviceSupportedFormats()
Dfile_video_capture_device.h34 VideoCaptureFormats* supported_formats);
Dfake_video_capture_device.h33 VideoCaptureFormats* supported_formats);
Dfile_video_capture_device.cc162 VideoCaptureFormats* supported_formats) { in GetDeviceSupportedFormats() argument
166 supported_formats->push_back(capture_format); in GetDeviceSupportedFormats()
Dvideo_capture_device.h200 VideoCaptureFormats* supported_formats);
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c159 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
160 if (!xa->supported_formats) in xa_tracker_create()
163 xa->supported_formats[0] = xa_format_unknown; in xa_tracker_create()
182 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
200 free(xa->supported_formats); in xa_tracker_destroy()
243 fdesc = xa_get_pipe_format(xa->supported_formats[i]); in xa_get_format_stype_depth()
Dxa_priv.h72 enum xa_formats *supported_formats; member
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
Dxa_tracker.c159 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
160 if (!xa->supported_formats) in xa_tracker_create()
163 xa->supported_formats[0] = xa_format_unknown; in xa_tracker_create()
182 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
200 free(xa->supported_formats); in xa_tracker_destroy()
243 fdesc = xa_get_pipe_format(xa->supported_formats[i]); in xa_get_format_stype_depth()
Dxa_priv.h72 enum xa_formats *supported_formats; member
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/
Dmemory.cpp116 if (!supported_formats(ctx, CL_MEM_OBJECT_IMAGE2D).count(*format)) in clCreateImage2D()
152 if (!supported_formats(ctx, CL_MEM_OBJECT_IMAGE3D).count(*format)) in clCreateImage3D()
179 auto formats = supported_formats(ctx, type); in clGetSupportedImageFormats()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dmemory.cpp116 if (!supported_formats(ctx, CL_MEM_OBJECT_IMAGE2D).count(*format)) in clCreateImage2D()
152 if (!supported_formats(ctx, CL_MEM_OBJECT_IMAGE3D).count(*format)) in clCreateImage3D()
179 auto formats = supported_formats(ctx, type); in clGetSupportedImageFormats()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
Dformat.hpp40 std::set<cl_image_format> supported_formats(cl_context ctx,
Ddevice.hpp70 clover::supported_formats(cl_context, cl_mem_object_type);
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dformat.hpp40 std::set<cl_image_format> supported_formats(cl_context ctx,
Ddevice.hpp70 clover::supported_formats(cl_context, cl_mem_object_type);
/external/harfbuzz_ng/util/
Doptions.hh318 supported_formats = supported_formats_; in output_options_t()
351 const char *supported_formats; member
Dhb-shape.cc53 options.output_format, options.supported_formats); in init()
/external/chromium_org/media/video/capture/linux/
Dvideo_capture_device_linux.cc149 VideoCaptureFormats* supported_formats) { in GetDeviceSupportedFormats() argument
156 supported_formats->clear(); in GetDeviceSupportedFormats()
205 supported_formats->push_back(supported_format); in GetDeviceSupportedFormats()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dvideosource.cc243 const std::vector<cricket::VideoFormat>& supported_formats) { in FilterFormats() argument
246 std::vector<cricket::VideoFormat> candidates = supported_formats; in FilterFormats()

12