/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTranscoderBenchmark.cpp | 104 using TrackSelectionCallback = std::function<bool(const char* mime, AMediaFormat** dstFormat)>; 162 AMediaFormat* dstFormat = nullptr; in TranscodeMediaFile() local 188 if (trackSelectionCallback(mime, &dstFormat)) { in TranscodeMediaFile() 189 status = transcoder->configureTrackFormat(i, dstFormat); in TranscodeMediaFile() 190 if (strncmp(mime, "video/", 6) == 0 && dstFormat != nullptr) { in TranscodeMediaFile() 192 if (AMediaFormat_getString(dstFormat, AMEDIAFORMAT_KEY_MIME, &mime)) { in TranscodeMediaFile() 195 AMediaFormat_getInt32(dstFormat, AMEDIAFORMAT_KEY_BIT_RATE, &targetBitrate); in TranscodeMediaFile() 202 if (dstFormat != nullptr) { in TranscodeMediaFile() 203 AMediaFormat_delete(dstFormat); in TranscodeMediaFile() 248 using TrackFormatEditCallback = std::function<void(AMediaFormat* dstFormat)>; [all …]
|
D | MediaTrackTranscoderBenchmark.cpp | 294 using TrackFormatEditCallback = std::function<void(AMediaFormat* dstFormat)>;
|
/frameworks/av/media/libmediatranscoding/transcoder/tools/ |
D | Transcode.cpp | 104 AMediaFormat* dstFormat = nullptr; in transcode() local 110 dstFormat = AMediaFormat_new(); in transcode() 111 AMediaFormat_setString(dstFormat, AMEDIAFORMAT_KEY_MIME, config.dstCodec.c_str()); in transcode() 114 AMediaFormat_setInt32(dstFormat, AMEDIAFORMAT_KEY_BIT_RATE, config.bitrate); in transcode() 118 status = transcoder->configureTrackFormat(i, dstFormat); in transcode() 120 if (dstFormat != nullptr) { in transcode() 121 AMediaFormat_delete(dstFormat); in transcode()
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscodingLogger.cpp | 103 AMediaFormat* srcFormat, AMediaFormat* dstFormat) { in logSessionEnded() argument 105 srcFormat, dstFormat); in logSessionEnded() 111 AMediaFormat* srcFormat, AMediaFormat* dstFormat) { in logSessionEnded() argument 132 int32_t dstWidth = getInt32(dstFormat, AMEDIAFORMAT_KEY_WIDTH, srcWidth); in logSessionEnded() 133 int32_t dstHeight = getInt32(dstFormat, AMEDIAFORMAT_KEY_HEIGHT, srcHeight); in logSessionEnded() 134 const char* dstMime = dstFormat == nullptr in logSessionEnded() 136 : getString(dstFormat, AMEDIAFORMAT_KEY_MIME, srcMime); in logSessionEnded()
|
/frameworks/av/media/libaudioprocessing/ |
D | RecordBufferConverter.cpp | 43 audio_channel_mask_t dstChannelMask, audio_format_t dstFormat, in RecordBufferConverter() argument 62 dstChannelMask, dstFormat, dstSampleRate); in RecordBufferConverter() 131 audio_channel_mask_t dstChannelMask, audio_format_t dstFormat, in updateParameters() argument 138 && mDstFormat == dstFormat in updateParameters() 146 srcChannelMask, dstChannelMask, srcFormat, dstFormat, srcSampleRate, dstSampleRate); in updateParameters() 151 && audio_is_valid_format(dstFormat) && audio_is_linear_pcm(dstFormat) in updateParameters() 161 mDstFormat = dstFormat; in updateParameters()
|
/frameworks/base/libs/hwui/apex/include/android/graphics/ |
D | bitmap.h | 50 ANDROID_API ABitmap* ABitmap_copy(ABitmap* srcBitmap, AndroidBitmapFormat dstFormat); 114 Bitmap copy(AndroidBitmapFormat dstFormat) const { in copy() argument 115 return Bitmap(ABitmap_copy(mBitmap, dstFormat)); in copy()
|
/frameworks/av/media/libaudioprocessing/tests/fuzzer/ |
D | libaudioprocessing_record_buffer_converter_fuzzer.cpp | 124 const audio_format_t dstFormat = in LLVMFuzzerTestOneInput() local 145 dstChannelMask, dstFormat, dstSampleRate); in LLVMFuzzerTestOneInput() 157 const uint32_t dstFrameSize = dstChannelCount * audio_bytes_per_sample(dstFormat); in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | RecordBufferConverter.h | 48 audio_channel_mask_t dstChannelMask, audio_format_t dstFormat, 75 audio_channel_mask_t dstChannelMask, audio_format_t dstFormat,
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | TranscodingLogger.h | 71 AMediaFormat* dstFormat); 90 AMediaFormat* dstFormat);
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 174 OMX_COLOR_FORMATTYPE *dstFormat, in getDstColorFormat() argument 180 *dstFormat = OMX_COLOR_Format16bitRGB565; in getDstColorFormat() 187 *dstFormat = OMX_COLOR_Format32BitRGBA8888; in getDstColorFormat() 194 *dstFormat = OMX_COLOR_Format32bitBGRA8888; in getDstColorFormat() 201 *dstFormat = (OMX_COLOR_FORMATTYPE)COLOR_Format32bitABGR2101010; in getDstColorFormat() 218 OMX_COLOR_FORMATTYPE dstFormat; in getMetadataOnly() local 222 &dstFormat, &captureFormat, &dstBpp)) { in getMetadataOnly() 538 if (dstFormat() == COLOR_Format32bitABGR2101010) { in onGetFormatAndSeekOptions() 685 ColorConverter converter((OMX_COLOR_FORMATTYPE)srcFormat, dstFormat()); in onOutputReceived() 713 srcFormat, dstFormat()); in onOutputReceived() [all …]
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingLogger_tests.cpp | 146 AMediaFormat* srcFormat, AMediaFormat* dstFormat) { in logSession() argument 148 kDefaultTranscodeDuration, srcFormat, dstFormat); in logSession() 254 auto dstFormat = std::shared_ptr<AMediaFormat>(CreateDstFormat(), &AMediaFormat_delete); in TEST_F() local 258 logSession(now, Reason::FINISHED, AMEDIA_OK, nullptr /*srcFormat*/, dstFormat.get()); in TEST_F()
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 108 ABitmap* ABitmap_copy(ABitmap* srcBitmapHandle, AndroidBitmapFormat dstFormat) { in ABitmap_copy() argument 109 SkColorType dstColorType = getColorType(dstFormat); in ABitmap_copy()
|
/frameworks/av/media/libstagefright/include/ |
D | FrameDecoder.h | 80 OMX_COLOR_FORMATTYPE dstFormat() const { return mDstFormat; } in dstFormat() function
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 691 getWriteToDst(OMX_COLOR_FORMATTYPE dstFormat, void *kAdjustedClip) { in getWriteToDst() argument 692 switch ((int)dstFormat) { in getWriteToDst()
|