Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioFormat.h100 static inline int audioFormatFromNative(audio_format_t nativeFormat) in audioFormatFromNative() argument
102 switch (nativeFormat) { in audioFormatFromNative()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp356 int nativeFormat; in ImageReader_init() local
363 nativeFormat = mapPublicFormatToHalFormat(publicFormat); in ImageReader_init()
388 nativeFormat, consumerUsage); in ImageReader_init()
402 ctx->setBufferFormat(nativeFormat); in ImageReader_init()
412 width, height, nativeFormat); in ImageReader_init()
415 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()
418 "Failed to set buffer consumer default format 0x%x", nativeFormat); in ImageReader_init()
Dandroid_media_ImageWriter.cpp432 int nativeFormat = mapPublicFormatToHalFormat(publicFormat); in ImageWriter_init() local
434 res = native_window_set_buffers_format(anw.get(), nativeFormat); in ImageWriter_init()
437 __FUNCTION__, nativeFormat); in ImageWriter_init()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp413 sp<AMessage> nativeFormat; in AMediaCodec_configure() local
414 AMediaFormat_getFormat(format, &nativeFormat); in AMediaCodec_configure()
415 ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str()); in AMediaCodec_configure()
421 status_t err = mData->mCodec->configure(nativeFormat, surface, in AMediaCodec_configure()
425 err, nativeFormat->debugString(0).c_str()); in AMediaCodec_configure()