Home
last modified time | relevance | path

Searched refs:mSourceFormat (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DVideoTrackTranscoderTests.cpp71 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in SetUp()
72 ASSERT_NE(mSourceFormat, nullptr); in SetUp()
83 ASSERT_NE(mSourceFormat, nullptr); in SetUp()
96 std::shared_ptr<AMediaFormat> mSourceFormat; member in android::VideoTrackTranscoderTests
151 mSourceFormat.get(), false /* includeBitrate*/); in TEST_F()
DMediaTrackTranscoderTests.cpp90 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in initSampleReader()
91 ASSERT_NE(mSourceFormat, nullptr); in initSampleReader()
101 mSourceFormat = std::shared_ptr<AMediaFormat>(trackFormat, &AMediaFormat_delete); in initSampleReader()
102 ASSERT_NE(mSourceFormat, nullptr); in initSampleReader()
109 ASSERT_NE(mSourceFormat, nullptr); in initSampleReader()
142 std::shared_ptr<AMediaFormat> mSourceFormat; member in android::MediaTrackTranscoderTests
/frameworks/av/media/module/libmediatranscoding/transcoder/
DVideoTrackTranscoder.cpp305 ok = AMediaFormat_getString(mSourceFormat.get(), AMEDIAFORMAT_KEY_MIME, &sourceMime); in configureDestinationFormat()
323 AMediaFormat_copy(decoderFormat.get(), mSourceFormat.get()) != AMEDIA_OK) { in configureDestinationFormat()
329 const bool sourceIsHdr = VideoIsHdr(mSourceFormat.get()); in configureDestinationFormat()
552 if (AMediaFormat_getInt32(mSourceFormat.get(), AMEDIAFORMAT_KEY_SAR_WIDTH, &sarWidth) && in updateTrackFormat()
554 AMediaFormat_getInt32(mSourceFormat.get(), AMEDIAFORMAT_KEY_SAR_HEIGHT, &sarHeight) && in updateTrackFormat()
561 if (AMediaFormat_getInt32(mSourceFormat.get(), AMEDIAFORMAT_KEY_DISPLAY_WIDTH, &displayWidth) && in updateTrackFormat()
563 AMediaFormat_getInt32(mSourceFormat.get(), AMEDIAFORMAT_KEY_DISPLAY_HEIGHT, in updateTrackFormat()
576 if (AMediaFormat_getInt32(mSourceFormat.get(), AMEDIAFORMAT_KEY_ROTATION, &rotation) && in updateTrackFormat()
584 if (AMediaFormat_getInt64(mSourceFormat.get(), AMEDIAFORMAT_KEY_DURATION, &durationUs) && in updateTrackFormat()
DMediaTrackTranscoder.cpp49 mSourceFormat = std::shared_ptr<AMediaFormat>(mMediaSampleReader->getTrackFormat(mTrackIndex), in configure()
51 if (mSourceFormat == nullptr) { in configure()
DPassthroughTrackTranscoder.cpp165 return mSourceFormat; in getOutputFormat()
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaTrackTranscoder.h126 std::shared_ptr<AMediaFormat> mSourceFormat; variable