Home
last modified time | relevance | path

Searched refs:num_formats (Results 1 – 11 of 11) sorted by relevance

/hardware/google/gchips/gralloc3/src/
Dformat_info.h91 extern const size_t num_formats;
Dformat_info.cpp128 const size_t num_formats = sizeof(formats)/sizeof(formats[0]); variable
329 for (format_idx = 0; format_idx < (int32_t)num_formats; format_idx++) in get_format_index()
336 if (format_idx >= (int32_t)num_formats) in get_format_index()
420 for (int i = 0; i < (int)num_formats; i++) in sanitize_formats()
563 for (size_t i = 0; i < num_formats; ++i) { in format_name()
Dmali_gralloc_formats.cpp702 for (i = 0; i < num_formats; i++) in is_subsampled_yuv()
1372 for (uint16_t i = 0; i < num_formats; i++) in get_best_format()
/hardware/google/gchips/gralloc4/src/core/
Dformat_info.h108 extern const size_t num_formats;
Dformat_info.cpp120 const size_t num_formats = sizeof(formats)/sizeof(formats[0]); variable
311 for (format_idx = 0; format_idx < (int32_t)num_formats; format_idx++) in get_format_index()
318 if (format_idx >= (int32_t)num_formats) in get_format_index()
446 for (int i = 0; i < (int)num_formats; i++) in sanitize_formats()
594 for (size_t i = 0; i < num_formats; ++i) { in format_name()
Dmali_gralloc_formats.cpp517 for (i = 0; i < num_formats; i++) in is_subsampled_yuv()
1256 for (uint16_t i = 0; i < num_formats; i++) in get_best_format()
/hardware/google/graphics/common/libacryl/
Dacrylic_factory.cpp110 .num_formats = ARRSIZE(all_fimg2d_gs101_formats),
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp271 port->formats.resize(halPort.num_formats); in audioPortFromHal()
272 for (size_t i = 0; i < halPort.num_formats; ++i) { in audioPortFromHal()
321 halPort->num_formats = in audioPortToHal()
323 for (size_t i = 0; i < halPort->num_formats; ++i) { in audioPortToHal()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c367 int num_formats = ARR_SZ(col_formats); in mm_jpegdec_test_get_input() local
368 format = CLAMP(format, 0, num_formats); in mm_jpegdec_test_get_input()
/hardware/google/graphics/common/libacryl/include/hardware/exynos/
Dacryl.h107 unsigned int num_formats; member
255 for (unsigned int i = 0; i < mCap.num_formats; i++) in isFormatSupported()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c1746 port->num_formats = 0;; in adev_get_audio_port()
1751 port->formats[port->num_formats++] = format; in adev_get_audio_port()