Home
last modified time | relevance | path

Searched refs:supported_formats (Results 1 – 24 of 24) 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.cc98 V4L2Device* device, SupportedFormats* supported_formats) { in GetSupportedFormats() argument
99 supported_formats->clear(); in GetSupportedFormats()
143 supported_formats->push_back(format); in GetSupportedFormats()
321 SupportedFormats supported_formats; in TestResolutions() local
322 if (!GetSupportedFormats(device.get(), &supported_formats)) { in TestResolutions()
326 SupportedFormat max_resolution = GetMaximumResolution(supported_formats); in TestResolutions()
342 GetResolutionForCropping(supported_formats, cropping_profile); in TestResolutions()
361 supported_formats, test_resolution.width, test_resolution.height); in TestResolutions()
471 SupportedFormats supported_formats; in TestFirstFrameAfterStreamOn() local
472 if (!GetSupportedFormats(device.get(), &supported_formats)) { in TestFirstFrameAfterStreamOn()
[all …]
/external/adhd/cras/src/tests/
Dbt_io_unittest.cc87 d->supported_formats = NULL; in SetUpIodev()
94 free(iodev->supported_formats); in update_supported_formats()
103 iodev->supported_formats = (snd_pcm_format_t *)calloc( in update_supported_formats()
104 2, sizeof(*iodev->supported_formats)); in update_supported_formats()
105 iodev->supported_formats[0] = SND_PCM_FORMAT_S16_LE; in update_supported_formats()
106 iodev->supported_formats[1] = (snd_pcm_format_t)0; in update_supported_formats()
198 free(iodev_.supported_formats); in TEST_F()
Diodev_unittest.cc266 iodev_.supported_formats = pcm_formats_; in SetUp()
/external/adhd/cras/src/server/
Dcras_hfp_iodev.c43 free(iodev->supported_formats); in update_supported_formats()
44 iodev->supported_formats = in update_supported_formats()
46 iodev->supported_formats[0] = SND_PCM_FORMAT_S16_LE; in update_supported_formats()
47 iodev->supported_formats[1] = 0; in update_supported_formats()
209 free(hfpio->base.supported_formats); in hfp_free_resources()
Dcras_bt_io.c173 for (length = 0; dev->supported_formats[length]; length++); in update_supported_formats()
174 iodev->supported_formats = (snd_pcm_format_t *)malloc( in update_supported_formats()
175 (length + 1) * sizeof(*iodev->supported_formats)); in update_supported_formats()
177 iodev->supported_formats[i] = in update_supported_formats()
178 dev->supported_formats[i]; in update_supported_formats()
420 free(bt_iodev->supported_formats); in cras_bt_io_free_resources()
Dcras_a2dp_iodev.c93 free(iodev->supported_formats); in update_supported_formats()
94 iodev->supported_formats = in update_supported_formats()
96 iodev->supported_formats[0] = SND_PCM_FORMAT_S16_LE; in update_supported_formats()
97 iodev->supported_formats[1] = 0; in update_supported_formats()
441 free(a2dpio->base.supported_formats); in free_resources()
Dcras_empty_iodev.c200 iodev->supported_formats = empty_supported_formats; in empty_iodev_create()
Dtest_iodev.c193 iodev->supported_formats = test_supported_formats; in test_iodev_create()
Dcras_iodev.c338 for (i = 0; iodev->supported_formats[i] != 0; i++) { in get_best_pcm_format()
339 if (fmt == iodev->supported_formats[i]) in get_best_pcm_format()
343 return iodev->supported_formats[0]; in get_best_pcm_format()
Dcras_iodev.h236 snd_pcm_format_t *supported_formats; member
Dcras_loopback_iodev.c268 iodev->supported_formats = loopback_supported_formats; in create_loopback_iodev()
Dcras_alsa_io.c846 free(aio->base.supported_formats); in free_alsa_iodev_resources()
1648 free(iodev->supported_formats); in update_supported_formats()
1649 iodev->supported_formats = NULL; in update_supported_formats()
1654 &iodev->supported_formats); in update_supported_formats()
/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.hpp90 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/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()
/external/harfbuzz_ng/util/
Dhb-shape.cc61 g_strjoinv ("/", const_cast<char**> (options.supported_formats))); in init()
Doptions.hh564 supported_formats = supported_formats_; in output_options_t()
603 const char **supported_formats; member
Doptions.cc615 if (nullptr == supported_formats) in add_options()
619 char *items = g_strjoinv ("/", const_cast<char **> (supported_formats)); in add_options()