/external/webrtc/talk/media/base/ |
D | videocapturer_unittest.cc | 496 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 …]
|
D | videocapturer.cc | 266 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/ |
D | media_v4l2_test.cc | 98 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/ |
D | bt_io_unittest.cc | 87 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()
|
D | iodev_unittest.cc | 266 iodev_.supported_formats = pcm_formats_; in SetUp()
|
/external/adhd/cras/src/server/ |
D | cras_hfp_iodev.c | 43 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()
|
D | cras_bt_io.c | 173 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()
|
D | cras_a2dp_iodev.c | 93 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()
|
D | cras_empty_iodev.c | 200 iodev->supported_formats = empty_supported_formats; in empty_iodev_create()
|
D | test_iodev.c | 193 iodev->supported_formats = test_supported_formats; in test_iodev_create()
|
D | cras_iodev.c | 338 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()
|
D | cras_iodev.h | 236 snd_pcm_format_t *supported_formats; member
|
D | cras_loopback_iodev.c | 268 iodev->supported_formats = loopback_supported_formats; in create_loopback_iodev()
|
D | cras_alsa_io.c | 846 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/ |
D | xa_tracker.c | 179 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()
|
D | xa_priv.h | 75 enum xa_formats *supported_formats; member
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | format.hpp | 40 std::set<cl_image_format> supported_formats(const context &ctx,
|
D | device.hpp | 90 supported_formats(const context &, cl_mem_object_type);
|
D | format.cpp | 146 supported_formats(const context &ctx, cl_mem_object_type type) { in supported_formats() function
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | memory.cpp | 163 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/ |
D | videosource.cc | 213 const std::vector<cricket::VideoFormat>& supported_formats) { in FilterFormats() argument 216 std::vector<cricket::VideoFormat> candidates = supported_formats; in FilterFormats()
|
/external/harfbuzz_ng/util/ |
D | hb-shape.cc | 61 g_strjoinv ("/", const_cast<char**> (options.supported_formats))); in init()
|
D | options.hh | 564 supported_formats = supported_formats_; in output_options_t() 603 const char **supported_formats; member
|
D | options.cc | 615 if (nullptr == supported_formats) in add_options() 619 char *items = g_strjoinv ("/", const_cast<char **> (supported_formats)); in add_options()
|