Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dvideocapturer_unittest.cc496 std::vector<cricket::VideoFormat> supported_formats; in TEST_F() local
497 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
499 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
501 capturer_.ResetSupportedFormats(supported_formats); in TEST_F()
517 supported_formats.clear(); in TEST_F()
518 supported_formats.push_back(cricket::VideoFormat(320, 640, in TEST_F()
520 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
522 capturer_.ResetSupportedFormats(supported_formats); in TEST_F()
534 std::vector<cricket::VideoFormat> supported_formats; in TEST_F() local
535 supported_formats.push_back(cricket::VideoFormat(320, 240, in TEST_F()
[all …]
Dvideocapturer.cc266 const std::vector<VideoFormat>* supported_formats = GetSupportedFormats(); in GetBestCaptureFormat() local
268 if (supported_formats->empty()) { in GetBestCaptureFormat()
273 std::vector<VideoFormat>::const_iterator best = supported_formats->end(); in GetBestCaptureFormat()
275 for (i = supported_formats->begin(); i != supported_formats->end(); ++i) { in GetBestCaptureFormat()
285 if (supported_formats->end() == best) { in GetBestCaptureFormat()
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_test.cc66 V4L2Device* device, SupportedFormats* supported_formats) { in GetSupportedFormats() argument
67 supported_formats->clear(); in GetSupportedFormats()
111 supported_formats->push_back(format); in GetSupportedFormats()
254 SupportedFormats supported_formats; in TestResolutions() local
255 if (!GetSupportedFormats(device.get(), &supported_formats)) { in TestResolutions()
259 SupportedFormat max_resolution = GetMaximumResolution(supported_formats); in TestResolutions()
289 supported_formats, test_resolution.width, test_resolution.height); in TestResolutions()
382 SupportedFormats supported_formats; in TestFirstFrameAfterStreamOn() local
383 if (!GetSupportedFormats(device.get(), &supported_formats)) { in TestFirstFrameAfterStreamOn()
388 supported_formats, V4L2_PIX_FMT_MJPEG); in TestFirstFrameAfterStreamOn()
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c179 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
180 if (!xa->supported_formats) in xa_tracker_create()
183 xa->supported_formats[0] = xa_format_unknown; in xa_tracker_create()
203 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
226 free(xa->supported_formats); in xa_tracker_destroy()
270 fdesc = xa_get_pipe_format(xa, xa->supported_formats[i]); in xa_get_format_stype_depth()
Dxa_priv.h75 enum xa_formats *supported_formats; member
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dformat.hpp40 std::set<cl_image_format> supported_formats(const context &ctx,
Ddevice.hpp84 supported_formats(const context &, cl_mem_object_type);
Dformat.cpp146 supported_formats(const context &ctx, cl_mem_object_type type) { in supported_formats() function
/external/harfbuzz_ng/util/
Dhb-shape.cc59 g_strjoinv ("/", const_cast<char**> (options.supported_formats))); in init()
Doptions.hh386 supported_formats = supported_formats_; in output_options_t()
424 const char **supported_formats; member
Doptions.cc507 if (NULL == supported_formats) in add_options()
511 char *items = g_strjoinv ("/", const_cast<char **> (supported_formats)); in add_options()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dmemory.cpp163 if (!supported_formats(ctx, desc->image_type).count(*format)) in clCreateImage()
245 auto formats = supported_formats(ctx, type); in clGetSupportedImageFormats()
/external/webrtc/talk/app/webrtc/
Dvideosource.cc213 const std::vector<cricket::VideoFormat>& supported_formats) { in FilterFormats() argument
216 std::vector<cricket::VideoFormat> candidates = supported_formats; in FilterFormats()