Home
last modified time | relevance | path

Searched refs:isInput (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DConversionHelperHidl.cpp112 const bool isInput = (halDevice & AUDIO_DEVICE_BIT_IN) != 0; in deviceAddressToHal() local
113 if (isInput) halDevice &= ~AUDIO_DEVICE_BIT_IN; in deviceAddressToHal()
114 if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_A2DP) != 0) || in deviceAddressToHal()
115 (isInput && (halDevice & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) != 0)) { in deviceAddressToHal()
119 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_IP) != 0) || in deviceAddressToHal()
120 (isInput && (halDevice & AUDIO_DEVICE_IN_IP) != 0)) { in deviceAddressToHal()
123 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_ALL_USB) != 0) || in deviceAddressToHal()
124 (isInput && (halDevice & AUDIO_DEVICE_IN_ALL_USB) != 0)) { in deviceAddressToHal()
127 } else if ((!isInput && (halDevice & AUDIO_DEVICE_OUT_BUS) != 0) || in deviceAddressToHal()
128 (isInput && (halDevice & AUDIO_DEVICE_IN_BUS) != 0)) { in deviceAddressToHal()
[all …]
DDeviceHalHidl.cpp54 const bool isInput = (device & AUDIO_DEVICE_BIT_IN) != 0; in deviceAddressFromHal() local
55 if (isInput) device &= ~AUDIO_DEVICE_BIT_IN; in deviceAddressFromHal()
56 if ((!isInput && (device & AUDIO_DEVICE_OUT_ALL_A2DP) != 0) in deviceAddressFromHal()
57 || (isInput && (device & AUDIO_DEVICE_IN_BLUETOOTH_A2DP) != 0)) { in deviceAddressFromHal()
63 } else if ((!isInput && (device & AUDIO_DEVICE_OUT_IP) != 0) in deviceAddressFromHal()
64 || (isInput && (device & AUDIO_DEVICE_IN_IP) != 0)) { in deviceAddressFromHal()
70 } else if ((!isInput && (device & AUDIO_DEVICE_OUT_ALL_USB)) != 0 in deviceAddressFromHal()
71 || (isInput && (device & AUDIO_DEVICE_IN_ALL_USB)) != 0) { in deviceAddressFromHal()
76 } else if ((!isInput && (device & AUDIO_DEVICE_OUT_BUS) != 0) in deviceAddressFromHal()
77 || (isInput && (device & AUDIO_DEVICE_IN_BUS) != 0)) { in deviceAddressFromHal()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp221 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations() local
222 if (isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT) { in filterStreamConfigurations()
233 filteredStreamConfigs.push_back(isInput); in filterStreamConfigurations()
254 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations() local
255 if (isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT) { in filterStreamConfigurations()
269 filteredDepthStreamConfigs.push_back(isInput); in filterStreamConfigurations()
285 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations() local
286 if (isInput == ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_INPUT) { in filterStreamConfigurations()
298 filteredHeicStreamConfigs.push_back(isInput); in filterStreamConfigurations()
310 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations() local
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp212 const bool isInput = portIndex == kPortIndexInput; in allocateBuffersOnPort() local
213 const size_t bufferSize = isInput ? mMaxInputSize : mMaxOutputSize; in allocateBuffersOnPort()
220 isInput ? "input" : "output"); in allocateBuffersOnPort()
236 isInput ? mInputFormat : mOutputFormat, mem); in allocateBuffersOnPort()
241 if (!isInput) { in allocateBuffersOnPort()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfiguration.java116 public boolean isInput() { in isInput() method in StreamConfiguration
DMandatoryStreamCombination.java97 boolean isInput) { in MandatoryStreamInformation() argument
103 mIsInput = isInput; in MandatoryStreamInformation()
110 public boolean isInput() { in isInput() method in MandatoryStreamCombination.MandatoryStreamInformation
285 boolean isInput) { in StreamTemplate() argument
288 mIsInput = isInput; in StreamTemplate()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableStreamConfiguration.java49 buffer.putInt(value.isInput() ? 1 : 0); in marshal()
DMarshalQueryableRecommendedStreamConfiguration.java50 buffer.putInt(value.isInput() ? 1 : 0); in marshal()
/frameworks/av/media/libstagefright/
DMediaSync.cpp769 void MediaSync::onAbandoned_l(bool isInput) { in onAbandoned_l() argument
770 ALOGE("the %s has abandoned me", (isInput ? "input" : "output")); in onAbandoned_l()
772 if (isInput) { in onAbandoned_l()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h265 void onAbandoned_l(bool isInput);
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h414 int32_t isInput; member
DParameters.cpp1241 if (sc.isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT && in buildFastInfo()
2975 if (sc.isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT && in getFilteredSizes()
3046 int32_t isInput = availableStreamConfigs.data.i32[i + STREAM_IS_INPUT_OFFSET]; in getStreamConfigurations() local
3047 StreamConfiguration sc = {format, width, height, isInput}; in getStreamConfigurations()
3102 if (sc.isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT) { in getAvailableOutputFormats()
3115 if (sc.isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT && in getAvailableJpegSizes()
3142 int32_t isInput = availableStreamConfigs.data.i32[i + STREAM_IS_INPUT_OFFSET]; in getPreferredStreamConfigurations() local
3146 StreamConfiguration sc = {format, width, height, isInput}; in getPreferredStreamConfigurations()
/frameworks/av/services/audioflinger/
DEffects.cpp1464 static std::string dumpInOutBuffer(bool isInput, const sp<EffectBufferHalInterface> &buffer) { in dumpInOutBuffer() argument
1470 ss << (isInput ? buffer->externalData() : buffer->audioBuffer()->raw) in dumpInOutBuffer()
1472 << (isInput ? buffer->audioBuffer()->raw : buffer->externalData()); in dumpInOutBuffer()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp805 bool isInput = false; in deleteStream() local
811 isInput = true; in deleteStream()
852 if (isInput) { in deleteStream()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java956 if (!c.isInput()) { in parseRecommendedConfigurations()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp472 int32_t isInput = availableStreamConfigs.data.i32[i + STREAM_IS_INPUT_OFFSET]; in getMaxJpegResolution() local
473 if (isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT in getMaxJpegResolution()
/frameworks/base/api/
Dcurrent.txt17344 method public boolean isInput();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt23762 Landroid/hardware/camera2/params/StreamConfiguration;->isInput()Z