Home
last modified time | relevance | path

Searched refs:nativeFormat (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_PublicFormatUtils.cpp29 int nativeFormat = mapPublicFormatToHalFormat(publicFormat); in android_media_PublicFormatUtils_getHalFormat() local
30 return static_cast<jint>(nativeFormat); in android_media_PublicFormatUtils_getHalFormat()
44 PublicFormat nativeFormat = mapHalFormatDataspaceToPublicFormat( in android_media_PublicFormatUtils_getPublicFormat() local
46 return static_cast<jint>(nativeFormat); in android_media_PublicFormatUtils_getPublicFormat()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionUtils.java85 int nativeFormat = SurfaceUtils.detectSurfaceFormat(s); in querySurface() local
88 surfaceInfo.mFormat = nativeFormat; in querySurface()
95 if ((nativeFormat == StreamConfigurationMap.HAL_PIXEL_FORMAT_BLOB) && in querySurface()
99 } else if ((nativeFormat == StreamConfigurationMap.HAL_PIXEL_FORMAT_BLOB) in querySurface()
/frameworks/base/core/jni/
Dandroid_media_AudioFormat.h133 static inline int audioFormatFromNative(audio_format_t nativeFormat) in audioFormatFromNative() argument
135 switch (nativeFormat) { in audioFormatFromNative()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp544 sp<AMessage> nativeFormat; in AMediaCodec_configure() local
545 AMediaFormat_getFormat(format, &nativeFormat); in AMediaCodec_configure()
547 sp<AMessage> dupNativeFormat = nativeFormat->dup(); in AMediaCodec_configure()