Home
last modified time | relevance | path

Searched refs:settings (Results 1 – 25 of 217) sorted by relevance

123456789

/hardware/interfaces/camera/device/3.4/
Dtypes.hal104 * can advertise any settings that can potentially introduce unexpected delays when
108 * including any initial settings. If parameters are present, then hal must examine
157 * Individual camera settings for logical camera backed by multiple physical devices.
158 * Clients are allowed to pass separate settings for each physical device that has
164 * If non-zero, read settings from request queue instead
166 * If zero, read settings from .settings field.
168 * The v3_2 settings metadata is read first from the FMQ, followed by
169 * the physical cameras' settings metadata starting from index 0.
174 * Contains the physical device camera id. Any settings passed by client here
182 * If fmqSettingsSize is zero, the settings buffer contains the capture and
[all …]
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DFrontendTests.cpp50 void FrontendCallback::tuneTestOnEventReceive(sp<IFrontend>& frontend, FrontendSettings settings) { in tuneTestOnEventReceive() argument
51 Result result = frontend->tune(settings); in tuneTestOnEventReceive()
65 void FrontendCallback::tuneTestOnLock(sp<IFrontend>& frontend, FrontendSettings settings) { in tuneTestOnLock() argument
66 Result result = frontend->tune(settings); in tuneTestOnLock()
82 uint32_t targetFrequency = getTargetFrequency(config.settings, config.type); in scanTest()
91 Result result = frontend->scan(config.settings, type); in scanTest()
111 Result result = frontend->scan(config.settings, type); in scanTest()
137 uint32_t FrontendCallback::getTargetFrequency(FrontendSettings settings, FrontendType type) { in getTargetFrequency() argument
140 return settings.analog().frequency; in getTargetFrequency()
142 return settings.atsc().frequency; in getTargetFrequency()
[all …]
DDvrTests.h104 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings,
154 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings) { in startPlaybackInputThread() argument
155 mDvrPlaybackCallback->startPlaybackInputThread(dataInputFile, settings, in startPlaybackInputThread()
159 void startRecordOutputThread(RecordSettings settings) { in startRecordOutputThread() argument
160 mDvrRecordCallback->startRecordOutputThread(settings, mDvrRecordMQDescriptor); in startRecordOutputThread()
DVtsHalTvTunerV1_0TargetTest.cpp49 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in configSingleFilterInDemuxTest()
97 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in broadcastSingleFilterTest()
141 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrConf.settings)); in playbackSingleFilterTest()
145 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in playbackSingleFilterTest()
149 mDvrTests.startPlaybackInputThread(dvrConf.playbackInputFile, dvrConf.settings.playback()); in playbackSingleFilterTest()
184 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in recordSingleFilterTest()
192 ASSERT_TRUE(mDvrTests.configDvrRecord(dvrConf.settings)); in recordSingleFilterTest()
196 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in recordSingleFilterTest()
200 mDvrTests.startRecordOutputThread(dvrConf.settings.record()); in recordSingleFilterTest()
210 dvrSourceConfig.settings.playback()); in recordSingleFilterTest()
[all …]
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DFrontendTests.cpp101 void FrontendCallback::tuneTestOnLock(sp<IFrontend>& frontend, FrontendSettings settings, in tuneTestOnLock() argument
110 Result result = frontend_1_1->tune_1_1(settings, settingsExt1_1); in tuneTestOnLock()
133 uint32_t targetFrequency = getTargetFrequency(config.config1_0.settings); in scanTest()
142 Result result = frontend_1_1->scan_1_1(config.config1_0.settings, type, config.settingsExt1_1); in scanTest()
163 frontend_1_1->scan_1_1(config.config1_0.settings, type, config.settingsExt1_1); in scanTest()
189 uint32_t FrontendCallback::getTargetFrequency(FrontendSettings settings) { in getTargetFrequency() argument
190 switch (settings.getDiscriminator()) { in getTargetFrequency()
192 return settings.analog().frequency; in getTargetFrequency()
194 return settings.atsc().frequency; in getTargetFrequency()
196 return settings.atsc3().frequency; in getTargetFrequency()
[all …]
DVtsHalTvTunerV1_1TargetTest.cpp43 ASSERT_TRUE(mFilterTests.configFilter(filterConf.config1_0.settings, filterId)); in configSingleFilterInDemuxTest()
85 ASSERT_TRUE(mFilterTests.configFilter(filterConf.config1_0.settings, filterId)); in reconfigSingleFilterInDemuxTest()
89 ASSERT_TRUE(mFilterTests.configFilter(filterReconf.config1_0.settings, filterId)); in reconfigSingleFilterInDemuxTest()
121 ASSERT_TRUE(mFilterTests.configFilter(filterConf.config1_0.settings, filterId)); in mediaFilterUsingSharedMemoryTest()
160 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in recordSingleFilterTest()
168 ASSERT_TRUE(mDvrTests.configDvrRecord(dvrConf.settings)); in recordSingleFilterTest()
173 ASSERT_TRUE(mFilterTests.configFilter(filterConf.config1_0.settings, filterId)); in recordSingleFilterTest()
177 mDvrTests.startRecordOutputThread(dvrConf.settings.record()); in recordSingleFilterTest()
187 dvrSourceConfig.settings.playback()); in recordSingleFilterTest()
DDvrTests.h105 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings,
155 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings) { in startPlaybackInputThread() argument
156 mDvrPlaybackCallback->startPlaybackInputThread(dataInputFile, settings, in startPlaybackInputThread()
160 void startRecordOutputThread(RecordSettings settings) { in startRecordOutputThread() argument
161 mDvrRecordCallback->startRecordOutputThread(settings, mDvrRecordMQDescriptor); in startRecordOutputThread()
/hardware/interfaces/tv/tuner/config/
DTunerTestingConfigReaderV1_0.h89 FrontendSettings settings; member
97 DemuxFilterSettings settings; member
106 DvrSettings settings; member
245 frontendMap[id].settings.atsc(readAtscFrontendSettings(feConfig)); in readFrontendConfig1_0()
255 frontendMap[id].settings.dvbs(readDvbsFrontendSettings(feConfig)); in readFrontendConfig1_0()
259 frontendMap[id].settings.dvbt(readDvbtFrontendSettings(feConfig)); in readFrontendConfig1_0()
303 DemuxFilterSettings settings; in readFilterConfig1_0() local
304 if (!readFilterTypeAndSettings(filterConfig, type, settings)) { in readFilterConfig1_0()
311 filterMap[id].settings = settings; in readFilterConfig1_0()
326 dvrMap[id].settings.playback(readPlaybackSettings(dvrConfig)); in readDvrConfig1_0()
[all …]
DTunerTestingConfigAidlReaderV1_0.h114 FrontendSettings settings; member
123 DemuxFilterSettings settings; member
137 DvrSettings settings; member
301 frontendMap[id].settings.set< in readFrontendConfig1_0()
313 frontendMap[id].settings.set<FrontendSettings::Tag::dvbs>( in readFrontendConfig1_0()
318 frontendMap[id].settings.set<FrontendSettings::Tag::dvbt>( in readFrontendConfig1_0()
324 frontendMap[id].settings.set<FrontendSettings::Tag::isdbs>( in readFrontendConfig1_0()
332 frontendMap[id].settings.set<FrontendSettings::Tag::isdbt>( in readFrontendConfig1_0()
382 DemuxFilterSettings settings; in readFilterConfig1_0() local
383 if (!readFilterTypeAndSettings(filterConfig, type, settings)) { in readFilterConfig1_0()
[all …]
/hardware/interfaces/tv/tuner/aidl/vts/functional/
DFrontendTests.cpp108 FrontendSettings settings) { in tuneTestOnLock() argument
109 ndk::ScopedAStatus result = frontend->tune(settings); in tuneTestOnLock()
125 int64_t targetFrequency = getTargetFrequency(config.settings); in scanTest()
134 ndk::ScopedAStatus result = frontend->scan(config.settings, type); in scanTest()
154 result = frontend->scan(config.settings, type); in scanTest()
182 int64_t FrontendCallback::getTargetFrequency(FrontendSettings& settings) { in getTargetFrequency() argument
183 switch (settings.getTag()) { in getTargetFrequency()
185 return settings.get<FrontendSettings::Tag::analog>().frequency; in getTargetFrequency()
187 return settings.get<FrontendSettings::Tag::atsc>().frequency; in getTargetFrequency()
189 return settings.get<FrontendSettings::Tag::atsc3>().frequency; in getTargetFrequency()
[all …]
DDvrTests.h93 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings,
141 void startPlaybackInputThread(string& dataInputFile, PlaybackSettings& settings) { in startPlaybackInputThread() argument
142 mDvrPlaybackCallback->startPlaybackInputThread(dataInputFile, settings, in startPlaybackInputThread()
146 void startRecordOutputThread(RecordSettings settings) { in startRecordOutputThread() argument
147 mDvrRecordCallback->startRecordOutputThread(settings, mDvrRecordMQDescriptor); in startRecordOutputThread()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DRenderEngineVts.cpp50 LayerSettings settings = layer->toRenderEngineLayerSettings(); in setRenderLayers() local
51 mCompositionLayers.push_back(settings); in setRenderLayers()
68 [](renderengine::LayerSettings& settings) -> renderengine::LayerSettings { in drawLayers() argument
69 return settings; in drawLayers()
/hardware/interfaces/tv/tuner/1.1/default/
DFrontend.h45 virtual Return<Result> tune(const FrontendSettings& settings) override;
47 virtual Return<Result> tune_1_1(const FrontendSettings& settings,
52 virtual Return<Result> scan(const FrontendSettings& settings, FrontendScanType type) override;
54 virtual Return<Result> scan_1_1(const FrontendSettings& settings, FrontendScanType type,
/hardware/google/camera/common/hal/utils/
Dhal_utils.cc42 hwl_request->settings = HalCameraMetadata::Clone(request.settings.get()); in CreateHwlPipelineRequest()
244 if (request.settings == nullptr) { in IsRequestHdrplusCompatible()
249 if (request.settings->Get(ANDROID_CONTROL_CAPTURE_INTENT, &entry) != OK || in IsRequestHdrplusCompatible()
256 if (request.settings->Get(ANDROID_CONTROL_ENABLE_ZSL_TRUE, &entry) != OK || in IsRequestHdrplusCompatible()
262 if (request.settings->Get(ANDROID_NOISE_REDUCTION_MODE, &entry) != OK || in IsRequestHdrplusCompatible()
268 if (request.settings->Get(ANDROID_EDGE_MODE, &entry) != OK || in IsRequestHdrplusCompatible()
274 if (request.settings->Get(ANDROID_COLOR_CORRECTION_ABERRATION_MODE, &entry) != in IsRequestHdrplusCompatible()
282 if (request.settings->Get(ANDROID_CONTROL_AE_MODE, &entry) != OK || in IsRequestHdrplusCompatible()
290 if (request.settings->Get(ANDROID_CONTROL_AWB_MODE, &entry) != OK || in IsRequestHdrplusCompatible()
296 if (request.settings->Get(ANDROID_CONTROL_EFFECT_MODE, &entry) != OK || in IsRequestHdrplusCompatible()
[all …]
/hardware/google/camera/common/hal/google_camera_hal/
Drealtime_zsl_request_processor.cc285 if (is_hdrplus_zsl_enabled_ && request.settings != nullptr) { in ProcessRequest()
288 request.settings->Get(VendorTagIds::kThermalThrottling, &entry); in ProcessRequest()
301 if (!preview_intent_seen_ && request.settings != nullptr && in ProcessRequest()
302 request.settings->Get(ANDROID_CONTROL_CAPTURE_INTENT, &entry) == OK) { in ProcessRequest()
313 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
346 if (block_request.settings != nullptr && is_hdrplus_zsl_enabled_) { in ProcessRequest()
350 block_request.settings.get(), enable_hybrid_ae); in ProcessRequest()
360 block_request.settings->Set(VendorTagIds::kProcessingMode, in ProcessRequest()
Drgbird_rt_request_processor.cc515 physical_request.settings = HalCameraMetadata::Clone(request.settings.get()); in AddIrRawProcessBlockRequestLocked()
520 if (physical_request.settings != nullptr) { in AddIrRawProcessBlockRequestLocked()
522 if (physical_request.settings->Get(ANDROID_SCALER_CROP_REGION, in AddIrRawProcessBlockRequestLocked()
525 physical_request.settings->Set( in AddIrRawProcessBlockRequestLocked()
549 HalCameraMetadata::Clone(request.settings.get()); in AddIrRawProcessBlockRequestLocked()
574 if (is_hdrplus_zsl_enabled_ && request.settings != nullptr) { in TryAddRgbProcessBlockRequestLocked()
577 request.settings->Get(VendorTagIds::kThermalThrottling, &entry); in TryAddRgbProcessBlockRequestLocked()
607 physical_request.settings = HalCameraMetadata::Clone(request.settings.get()); in TryAddRgbProcessBlockRequestLocked()
609 if (is_hdrplus_zsl_enabled_ && physical_request.settings != nullptr) { in TryAddRgbProcessBlockRequestLocked()
611 physical_request.settings.get()); in TryAddRgbProcessBlockRequestLocked()
[all …]
Drealtime_zsl_result_request_processor.cc177 pending_request.capture_request->settings = in ProcessResult()
181 if (pending_request.capture_request->settings == nullptr) { in ProcessResult()
183 pending_request.capture_request->settings = in ProcessResult()
187 pending_request.capture_request->settings->Append( in ProcessResult()
270 block_request.settings = HalCameraMetadata::Clone(request.settings.get()); in ProcessRequest()
379 if (pending_request.capture_request->settings != nullptr) { in CombineErrorAndPendingEntriesToResult()
384 pending_request.capture_request->settings.get()); in CombineErrorAndPendingEntriesToResult()
391 pending_request.capture_request->settings->GetRawCameraMetadata()); in CombineErrorAndPendingEntriesToResult()
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp343 request->frame_number, request->settings); in processCaptureRequest()
346 if (request->settings == NULL) { in processCaptureRequest()
353 setSettings(request->settings); in processCaptureRequest()
360 if (!isValidReprocessSettings(request->settings)) { in processCaptureRequest()
362 __func__, mId, request->settings); in processCaptureRequest()
368 if (!isValidCaptureSettings(request->settings)) { in processCaptureRequest()
370 __func__, mId, request->settings); in processCaptureRequest()
391 result.result = request->settings; in processCaptureRequest()
511 int Camera::setTemplate(int type, camera_metadata_t *settings) in setTemplate() argument
527 mTemplates[type] = clone_camera_metadata(settings); in setTemplate()
[all …]
/hardware/libhardware/modules/camera/3_4/
Dcapture_request.cpp33 settings = request->settings; in CaptureRequest()
/hardware/libhardware/modules/usbcamera/
DCamera.cpp380 request->frame_number, request->settings); in processCaptureRequest()
383 if (request->settings == NULL) { in processCaptureRequest()
390 updateSettingsLocked(request->settings); in processCaptureRequest()
399 if (!isValidCaptureSettings(request->settings)) { in processCaptureRequest()
401 __func__, mId, request->settings); in processCaptureRequest()
425 result.result = request->settings; in processCaptureRequest()
520 int Camera::setTemplate(int type, camera_metadata_t *settings) { in setTemplate() argument
535 mTemplates[type] = clone_camera_metadata(settings); in setTemplate()
538 __func__, mId, settings, templateToString(type), type); in setTemplate()
/hardware/interfaces/graphics/composer/aidl/vts/
DRenderEngineVts.cpp45 LayerSettings settings = layer->toRenderEngineLayerSettings(); in setRenderLayers() local
46 mCompositionLayers.push_back(settings); in setRenderLayers()
63 [](::android::renderengine::LayerSettings& settings) in drawLayers()
64 -> ::android::renderengine::LayerSettings { return settings; }); in drawLayers() argument
/hardware/interfaces/tv/tuner/aidl/android/hardware/tv/tuner/
DIFrontend.aidl58 void tune(in FrontendSettings settings); in tune() argument
88 void scan(in FrontendSettings settings, in FrontendScanType type); in scan() argument
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1/android/hardware/tv/tuner/
DIFrontend.aidl39 void tune(in android.hardware.tv.tuner.FrontendSettings settings); in tune() argument
42 …void scan(in android.hardware.tv.tuner.FrontendSettings settings, in android.hardware.tv.tuner.Fro… in scan() argument
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/2/android/hardware/tv/tuner/
DIFrontend.aidl39 void tune(in android.hardware.tv.tuner.FrontendSettings settings); in tune() argument
42 …void scan(in android.hardware.tv.tuner.FrontendSettings settings, in android.hardware.tv.tuner.Fro… in scan() argument
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current/android/hardware/tv/tuner/
DIFrontend.aidl39 void tune(in android.hardware.tv.tuner.FrontendSettings settings); in tune() argument
42 …void scan(in android.hardware.tv.tuner.FrontendSettings settings, in android.hardware.tv.tuner.Fro… in scan() argument

123456789