Lines Matching refs:md
2789 #define UPDATE(md, tag, data, size) \ argument
2791 if ((md).update((tag), (data), (size))) { \
2798 ::android::hardware::camera::common::V1_0::helper::CameraMetadata md; in initDefaultRequests()
2801 UPDATE(md, ANDROID_COLOR_CORRECTION_ABERRATION_MODE, &aberrationMode, 1); in initDefaultRequests()
2804 UPDATE(md, ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION, &exposureCompensation, 1); in initDefaultRequests()
2807 UPDATE(md, ANDROID_CONTROL_VIDEO_STABILIZATION_MODE, &videoStabilizationMode, 1); in initDefaultRequests()
2810 UPDATE(md, ANDROID_CONTROL_AWB_MODE, &awbMode, 1); in initDefaultRequests()
2813 UPDATE(md, ANDROID_CONTROL_AE_MODE, &aeMode, 1); in initDefaultRequests()
2816 UPDATE(md, ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER, &aePrecaptureTrigger, 1); in initDefaultRequests()
2819 UPDATE(md, ANDROID_CONTROL_AF_MODE, &afMode, 1); in initDefaultRequests()
2822 UPDATE(md, ANDROID_CONTROL_AF_TRIGGER, &afTrigger, 1); in initDefaultRequests()
2825 UPDATE(md, ANDROID_CONTROL_SCENE_MODE, &sceneMode, 1); in initDefaultRequests()
2828 UPDATE(md, ANDROID_CONTROL_EFFECT_MODE, &effectMode, 1); in initDefaultRequests()
2831 UPDATE(md, ANDROID_FLASH_MODE, &flashMode, 1); in initDefaultRequests()
2834 UPDATE(md, ANDROID_JPEG_THUMBNAIL_SIZE, thumbnailSize, 2); in initDefaultRequests()
2837 UPDATE(md, ANDROID_JPEG_QUALITY, &jpegQuality, 1); in initDefaultRequests()
2838 UPDATE(md, ANDROID_JPEG_THUMBNAIL_QUALITY, &jpegQuality, 1); in initDefaultRequests()
2841 UPDATE(md, ANDROID_JPEG_ORIENTATION, &jpegOrientation, 1); in initDefaultRequests()
2844 UPDATE(md, ANDROID_LENS_OPTICAL_STABILIZATION_MODE, &oisMode, 1); in initDefaultRequests()
2847 UPDATE(md, ANDROID_NOISE_REDUCTION_MODE, &nrMode, 1); in initDefaultRequests()
2850 UPDATE(md, ANDROID_SENSOR_TEST_PATTERN_MODE, &testPatternModes, 1); in initDefaultRequests()
2853 UPDATE(md, ANDROID_STATISTICS_FACE_DETECT_MODE, &fdMode, 1); in initDefaultRequests()
2856 UPDATE(md, ANDROID_STATISTICS_HOT_PIXEL_MAP_MODE, &hotpixelMode, 1); in initDefaultRequests()
2877 UPDATE(md, ANDROID_CONTROL_AE_TARGET_FPS_RANGE, defaultFpsRange, ARRAY_SIZE(defaultFpsRange)); in initDefaultRequests()
2880 UPDATE(md, ANDROID_CONTROL_AE_ANTIBANDING_MODE, &antibandingMode, 1); in initDefaultRequests()
2883 UPDATE(md, ANDROID_CONTROL_MODE, &controlMode, 1); in initDefaultRequests()
2887 ::android::hardware::camera::common::V1_0::helper::CameraMetadata mdCopy = md; in initDefaultRequests()
2920 common::V1_0::helper::CameraMetadata &md, nsecs_t timestamp) { in fillCaptureResult() argument
2926 UPDATE(md, ANDROID_CONTROL_AE_STATE, &aeState, 1); in fillCaptureResult()
2929 UPDATE(md, ANDROID_CONTROL_AE_LOCK, &ae_lock, 1); in fillCaptureResult()
2935 if (md.exists(ANDROID_CONTROL_AF_TRIGGER)) { in fillCaptureResult()
2936 camera_metadata_entry entry = md.find(ANDROID_CONTROL_AF_TRIGGER); in fillCaptureResult()
2954 UPDATE(md, ANDROID_CONTROL_AF_STATE, &afState, 1); in fillCaptureResult()
2958 UPDATE(md, ANDROID_CONTROL_AWB_STATE, &awbState, 1); in fillCaptureResult()
2961 UPDATE(md, ANDROID_CONTROL_AWB_LOCK, &awbLock, 1); in fillCaptureResult()
2972 UPDATE(md, ANDROID_FLASH_STATE, &flashState, 1); in fillCaptureResult()
2976 UPDATE(md, ANDROID_REQUEST_PIPELINE_DEPTH, &requestPipelineMaxDepth, 1); in fillCaptureResult()
2983 UPDATE(md, ANDROID_SCALER_CROP_REGION, crop_region, ARRAY_SIZE(crop_region)); in fillCaptureResult()
2986 UPDATE(md, ANDROID_SENSOR_TIMESTAMP, ×tamp, 1); in fillCaptureResult()
2990 UPDATE(md, ANDROID_STATISTICS_LENS_SHADING_MAP_MODE, &lensShadingMapMode, 1); in fillCaptureResult()
2993 UPDATE(md, ANDROID_STATISTICS_SCENE_FLICKER, &sceneFlicker, 1); in fillCaptureResult()