Searched refs:nativeFormat (Results 1 – 3 of 3) sorted by relevance
96 static inline int audioFormatFromNative(audio_format_t nativeFormat) in audioFormatFromNative() argument98 switch (nativeFormat) { in audioFormatFromNative()
356 int nativeFormat; in ImageReader_init() local363 nativeFormat = android_view_Surface_mapPublicFormatToHalFormat( in ImageReader_init()390 nativeFormat, consumerUsage); in ImageReader_init()404 ctx->setBufferFormat(nativeFormat); in ImageReader_init()414 width, height, nativeFormat); in ImageReader_init()417 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()420 "Failed to set buffer consumer default format 0x%x", nativeFormat); in ImageReader_init()
407 sp<AMessage> nativeFormat; in AMediaCodec_configure() local408 AMediaFormat_getFormat(format, &nativeFormat); in AMediaCodec_configure()409 ALOGV("configure with format: %s", nativeFormat->debugString(0).c_str()); in AMediaCodec_configure()415 status_t err = mData->mCodec->configure(nativeFormat, surface, in AMediaCodec_configure()419 err, nativeFormat->debugString(0).c_str()); in AMediaCodec_configure()