Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp246 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
263 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
276 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
289 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
314 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
322 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
342 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
350 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
370 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
378 for (size_t i = 0; i < ARRAY_SIZE(kQualityArray); ++i) { in TEST()
[all …]
Dtest_utils.h22 #ifndef ARRAY_SIZE
23 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp42 #define ARRAY_SIZE(array) \ macro
46 buildTagMap(TIFF_EP_TAG_DEFINITIONS, ARRAY_SIZE(TIFF_EP_TAG_DEFINITIONS)),
47 buildTagMap(DNG_TAG_DEFINITIONS, ARRAY_SIZE(DNG_TAG_DEFINITIONS)),
48 buildTagMap(EXIF_2_3_TAG_DEFINITIONS, ARRAY_SIZE(EXIF_2_3_TAG_DEFINITIONS)),
49 buildTagMap(TIFF_6_TAG_DEFINITIONS, ARRAY_SIZE(TIFF_6_TAG_DEFINITIONS))
/frameworks/av/include/media/stagefright/foundation/
DABase.h21 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp39 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
49 EXPECT_TRUE(ContainsTag(a, ARRAY_SIZE(a), t))
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp375 kH263ProfileLevels, ARRAY_SIZE(kH263ProfileLevels), in createSoftOMXComponent()
380 kM4VProfileLevels, ARRAY_SIZE(kM4VProfileLevels), in createSoftOMXComponent()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp47 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(*(a))) macro
469 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf); in LegacyCameraDevice_nativeDetectSurfaceDimens()
497 env->SetIntArrayRegion(dimens, /*start*/0, /*length*/ARRAY_SIZE(dimenBuf), dimenBuf); in LegacyCameraDevice_nativeDetectTextureDimens()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
327 ARRAY_SIZE(gEqualizerPresets)); in Equalizer_init()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp57 kProfileLevels, ARRAY_SIZE(kProfileLevels), in SoftAVC()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp62 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
5888 ARRAY_SIZE(sFormatNameToEnumTable), in loadFormats()
5911 ARRAY_SIZE(sInChannelsNameToEnumTable), in loadInChannels()
5937 ARRAY_SIZE(sOutChannelsNameToEnumTable), in loadOutChannels()
5955 ARRAY_SIZE(sGainModeNameToEnumTable), in loadGainMode()
5975 ARRAY_SIZE(sInChannelsNameToEnumTable), in loadGain()
5980 ARRAY_SIZE(sOutChannelsNameToEnumTable), in loadGain()
6249 (i < ARRAY_SIZE(sPcmFormatCompareTable)) && ((index1 == -1) || (index2 == -1)); in compareFormats()
6273 ARRAY_SIZE(AudioPolicyManager::AudioPort::sPcmFormatCompareTable) - 1]; in pickFormat()
6348 ARRAY_SIZE(sFormatNameToEnumTable), in dump()
[all …]
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp68 kProfileLevels, ARRAY_SIZE(kProfileLevels), in SoftHEVC()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp601 for (size_t ix = 0; ix < ARRAY_SIZE(advancedFeatures); ix++) { in findCodecByType()
DACodec.cpp2567 for (size_t i = 0; i < ARRAY_SIZE(limits); i++) { in getAVCLevelFor()
/frameworks/av/services/audioflinger/
DAudioMixer.cpp68 #ifndef ARRAY_SIZE
69 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
346 memcpy_by_index_array_initialization(mIdxAry, ARRAY_SIZE(mIdxAry), in RemixBufferProvider()
DAudioFlinger.cpp272 #define ARRAY_SIZE(x) (sizeof((x))/sizeof(((x)[0]))) macro
282 for (size_t i = 0; i < ARRAY_SIZE(audio_interfaces); i++) { in findSuitableHwDev_l()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro