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

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

Completed in 290 milliseconds