Home
last modified time | relevance | path

Searched refs:destinationFormat (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DTranscoderTestUtils.h70 AMediaFormat* destinationFormat = AMediaFormat_new(); variable
71 AMediaFormat_copy(destinationFormat, sourceFormat);
72 AMediaFormat_setFloat(destinationFormat, AMEDIAFORMAT_KEY_FRAME_RATE, kFrameRate);
74 AMediaFormat_setInt32(destinationFormat, AMEDIAFORMAT_KEY_BIT_RATE, kBitRate);
77 return std::shared_ptr<AMediaFormat>(destinationFormat, &AMediaFormat_delete);
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaTrackTranscoder.h62 const std::shared_ptr<AMediaFormat>& destinationFormat);
114 const std::shared_ptr<AMediaFormat>& destinationFormat) = 0;
DPassthroughTrackTranscoder.h92 const std::shared_ptr<AMediaFormat>& destinationFormat) override;
DVideoTrackTranscoder.h74 const std::shared_ptr<AMediaFormat>& destinationFormat) override;
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTrackTranscoder.cpp29 const std::shared_ptr<AMediaFormat>& destinationFormat) { in configure() argument
56 media_status_t status = configureDestinationFormat(destinationFormat); in configure()
DPassthroughTrackTranscoder.cpp92 const std::shared_ptr<AMediaFormat>& destinationFormat __unused) { in configureDestinationFormat()
DVideoTrackTranscoder.cpp211 const std::shared_ptr<AMediaFormat>& destinationFormat) { in configureDestinationFormat() argument
214 if (destinationFormat == nullptr) { in configureDestinationFormat()
220 if (!encoderFormat || AMediaFormat_copy(encoderFormat, destinationFormat.get()) != AMEDIA_OK) { in configureDestinationFormat()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp332 auto destinationFormat = GetDefaultTrackFormat(mediaType, srcTrackFormat.get()); in ConfigureSampleReader() local
334 formatEditor(destinationFormat.get()); in ConfigureSampleReader()
336 status = transcoder->configure(sampleReader, srcTrackIndex, destinationFormat); in ConfigureSampleReader()