Home
last modified time | relevance | path

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

123

/hardware/libhardware/modules/camera/
DExampleCamera.cpp29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
52 ARRAY_SIZE(android_control_ae_available_target_fps_ranges), in initStaticInfo()
57 ARRAY_SIZE(android_control_ae_compensation_range), in initStaticInfo()
62 ARRAY_SIZE(android_control_ae_compensation_step), in initStaticInfo()
67 ARRAY_SIZE(android_control_max_regions), in initStaticInfo()
73 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes), in initStaticInfo()
78 ARRAY_SIZE(android_jpeg_max_size), in initStaticInfo()
84 ARRAY_SIZE(android_lens_info_available_focal_lengths), in initStaticInfo()
90 ARRAY_SIZE(android_request_max_num_output_streams), in initStaticInfo()
104 ARRAY_SIZE(android_scaler_available_formats), in initStaticInfo()
[all …]
/hardware/libhardware/modules/usbaudio/
Dalsa_device_profile.c32 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
68 for (index = 0; index < ARRAY_SIZE(profile->formats); index++) { in profile_init()
72 for (index = 0; index < ARRAY_SIZE(profile->sample_rates); index++) { in profile_init()
76 for (index = 0; index < ARRAY_SIZE(profile->channel_counts); index++) { in profile_init()
229 for (index = 0; index < ARRAY_SIZE(std_sample_rates) && in profile_enum_sample_rates()
230 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()
243 const int num_slots = ARRAY_SIZE(mask->bits); in profile_enum_sample_formats()
246 const int table_size = ARRAY_SIZE(pcm_format_value_map); in profile_enum_sample_formats()
262 if (num_written == ARRAY_SIZE(profile->formats) - 1) { in profile_enum_sample_formats()
287 ? ARRAY_SIZE(std_out_channel_counts) : ARRAY_SIZE(std_in_channel_counts); in profile_enum_channel_counts()
[all …]
Dformat.c24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
172 int num_slots = ARRAY_SIZE(mask->bits); in get_pcm_format_for_mask()
175 int table_size = ARRAY_SIZE(pcm_format_value_map); in get_pcm_format_for_mask()
Dlogging.c26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
33 const size_t num_slots = ARRAY_SIZE(mask->bits); in log_pcm_mask()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp212 size_t length_cam = ARRAY_SIZE(cameras);
233 size_t length_previewSize = ARRAY_SIZE(previewSize);
255 size_t lenght_Vcapture_size = ARRAY_SIZE(VcaptureSize);
272 size_t length_capture_Size = ARRAY_SIZE(captureSize);
280 size_t length_outformat = ARRAY_SIZE(outputFormat);
288 size_t length_video_Codecs = ARRAY_SIZE(videoCodecs);
298 size_t length_audio_Codecs = ARRAY_SIZE(audioCodecs);
319 size_t length_V_bitRate = ARRAY_SIZE(VbitRate);
332 size_t length_Zoom = ARRAY_SIZE(zoom);
341 size_t length_fps_ranges = ARRAY_SIZE(fpsRanges);
[all …]
/hardware/samsung_slsi/exynos5/libmemtrack/
Dmali.c26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
46 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in mali_memtrack_get_memory()
51 *num_records = ARRAY_SIZE(record_templates); in mali_memtrack_get_memory()
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXSceneModeTables.h31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
243 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)},
244 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)},
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXSceneModeTables.h31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
741 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)},
742 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)},
743 { "IMX060", IMX060_SceneModesLUT, ARRAY_SIZE(IMX060_SceneModesLUT)},
744 { "OV5640", OV5640_SceneModesLUT, ARRAY_SIZE(OV5640_SceneModesLUT)},
745 { "OV5650", OV5650_SceneModesLUT, ARRAY_SIZE(OV5650_SceneModesLUT)},
746 { "OV8830", OV8830_SceneModesLUT, ARRAY_SIZE(OV8830_SceneModesLUT)},
747 { "OV2722", OV2722_SceneModesLUT, ARRAY_SIZE(OV2722_SceneModesLUT)}
/hardware/qcom/display/msm8960/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
56 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8974/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
56 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8084/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
57 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/libhardware/modules/consumerir/
Dconsumerir.c24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
53 return ARRAY_SIZE(consumerir_freqs); in consumerir_get_num_carrier_freqs()
59 size_t to_copy = ARRAY_SIZE(consumerir_freqs); in consumerir_get_carrier_freqs()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCamera2.cpp37 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
206 numScalerResolution = ARRAY_SIZE(scalerResolutionS5K4E5)/2; in ExynosCamera2InfoS5K4E5()
208 numJpegResolution = ARRAY_SIZE(jpegResolutionS5K4E5)/2; in ExynosCamera2InfoS5K4E5()
215 numAvailableAfModes = ARRAY_SIZE(availableAfModesS5K4E5); in ExynosCamera2InfoS5K4E5()
217 numSceneModeOverrides = ARRAY_SIZE(sceneModeOverridesS5K4E5); in ExynosCamera2InfoS5K4E5()
219 numAvailableAeModes = ARRAY_SIZE(availableAeModesS5K4E5); in ExynosCamera2InfoS5K4E5()
297 numScalerResolution = ARRAY_SIZE(scalerResolutionS5K6A3)/2; in ExynosCamera2InfoS5K6A3()
299 numJpegResolution = ARRAY_SIZE(jpegResolutionS5K6A3)/2; in ExynosCamera2InfoS5K6A3()
306 numAvailableAfModes = ARRAY_SIZE(availableAfModesS5K6A3); in ExynosCamera2InfoS5K6A3()
308 numSceneModeOverrides = ARRAY_SIZE(sceneModeOverridesS5K6A3); in ExynosCamera2InfoS5K6A3()
[all …]
/hardware/qcom/display/msm8226/libmemtrack/
Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); in kgsl_memtrack_get_memory()
58 *num_records = ARRAY_SIZE(record_templates); in kgsl_memtrack_get_memory()
/hardware/invensense/60xx/libsensors_iio/
Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/invensense/65xx/libsensors_iio/
Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp40 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
468 ARRAY_SIZE(mImageCapRes), in insertImageSizes()
494 ARRAY_SIZE(mPreviewRes), in insertPreviewSizes()
520 ARRAY_SIZE(mPreviewRes), in insertVideoSizes()
546 ARRAY_SIZE(mThumbRes), in insertThumbSizes()
575 ARRAY_SIZE(mZoomStages), in insertZoomStages()
606 ARRAY_SIZE(mPixelformats), in insertImageFormats()
637 ARRAY_SIZE(mPixelformats), in insertPreviewFormats()
669 ARRAY_SIZE(mFramerates), in insertFramerates()
695 ARRAY_SIZE(mVarFramerates), in insertVFramerates()
[all …]
/hardware/invensense/60xx/mlsdk/mllite/
Daccel.c158 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data()
177 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data()
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/
Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCapabilities.cpp36 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
211 ARRAY_SIZE(mFrameLayout),
327 ARRAY_SIZE(mAutoConvergence),
337 ARRAY_SIZE(mBracketingModes),
631 ARRAY_SIZE(mImageCapRes), in insertImageSizes()
649 ARRAY_SIZE(mImageCapResTB), in insertImageSizes()
670 ARRAY_SIZE(mImageCapResSS), in insertImageSizes()
691 ARRAY_SIZE(mImageCapRes), in insertImageSizes()
743 ARRAY_SIZE(mPreviewRes), in insertPreviewSizes()
755 ARRAY_SIZE(mPreviewPortraitRes), in insertPreviewSizes()
[all …]
/hardware/invensense/60xx/mlsdk/platform/include/
Dmltypes.h127 #ifndef ARRAY_SIZE
129 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp344 size_t length_previewSize = ARRAY_SIZE(previewSize);
356 size_t length_thumbnailSize = ARRAY_SIZE(thumbnailSize);
403 size_t lenght_Vcapture_size = ARRAY_SIZE(VcaptureSize);
434 size_t length_capture_Size = ARRAY_SIZE(captureSize);
441 size_t length_outformat = ARRAY_SIZE(outputFormat);
449 size_t length_video_Codecs = ARRAY_SIZE(videoCodecs);
459 size_t length_audio_Codecs = ARRAY_SIZE(audioCodecs);
480 size_t length_V_bitRate = ARRAY_SIZE(VbitRate);
493 size_t length_Zoom = ARRAY_SIZE(zoom);
505 int VbitRateIDX = ARRAY_SIZE(VbitRate) - 1;
[all …]
/hardware/invensense/60xx/libsensors/
Dsensors.h34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro

123