Searched refs:mSourceFormat (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/ |
D | VideoTrackTranscoderTests.cpp | 71 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()
|
D | MediaTrackTranscoderTests.cpp | 90 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/ |
D | VideoTrackTranscoder.cpp | 305 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()
|
D | MediaTrackTranscoder.cpp | 49 mSourceFormat = std::shared_ptr<AMediaFormat>(mMediaSampleReader->getTrackFormat(mTrackIndex), in configure() 51 if (mSourceFormat == nullptr) { in configure()
|
D | PassthroughTrackTranscoder.cpp | 165 return mSourceFormat; in getOutputFormat()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/ |
D | MediaTrackTranscoder.h | 126 std::shared_ptr<AMediaFormat> mSourceFormat; variable
|