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

/frameworks/base/core/jni/
H A Dandroid_media_AudioFormat.h93 static inline int audioFormatFromNative(audio_format_t nativeFormat) argument
95 switch (nativeFormat) {
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp356 int nativeFormat; local
363 nativeFormat = android_view_Surface_mapPublicFormatToHalFormat(
389 if (isFormatOpaque(nativeFormat)) {
405 nativeFormat, consumerUsage);
414 ctx->setBufferFormat(nativeFormat);
424 width, height, nativeFormat);
427 res = bufferConsumer->setDefaultBufferFormat(nativeFormat);
430 "Failed to set buffer consumer default format 0x%x", nativeFormat);
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp407 sp<AMessage> nativeFormat; local
408 AMediaFormat_getFormat(format, &nativeFormat);
409 ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str());
415 status_t err = mData->mCodec->configure(nativeFormat, surface,
419 err, nativeFormat->debugString(0).c_str());

Completed in 98 milliseconds