Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioFormat.h81 static inline int audioFormatFromNative(audio_format_t nativeFormat) in audioFormatFromNative() argument
83 switch (nativeFormat) { in audioFormatFromNative()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp338 int nativeFormat; in ImageReader_init() local
345 nativeFormat = android_view_Surface_mapPublicFormatToHalFormat( in ImageReader_init()
371 if (isFormatOpaque(nativeFormat)) { in ImageReader_init()
387 nativeFormat, consumerUsage); in ImageReader_init()
396 ctx->setBufferFormat(nativeFormat); in ImageReader_init()
406 width, height, nativeFormat); in ImageReader_init()
409 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()
412 "Failed to set buffer consumer default format 0x%x", nativeFormat); in ImageReader_init()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp231 sp<AMessage> nativeFormat; in AMediaCodec_configure() local
232 AMediaFormat_getFormat(format, &nativeFormat); in AMediaCodec_configure()
233 ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str()); in AMediaCodec_configure()
239 return translate_error(mData->mCodec->configure(nativeFormat, surface, in AMediaCodec_configure()