Searched refs:formatCopy (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/transcoder/ |
D | VideoTrackTranscoder.cpp | 534 AMediaFormat* formatCopy = AMediaFormat_new(); in updateTrackFormat() local 535 if (!formatCopy || AMediaFormat_copy(formatCopy, outputFormat) != AMEDIA_OK) { in updateTrackFormat() 537 AMediaFormat_delete(formatCopy); in updateTrackFormat() 556 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in updateTrackFormat() 557 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in updateTrackFormat() 566 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_DISPLAY_WIDTH, displayWidth); in updateTrackFormat() 567 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_DISPLAY_HEIGHT, displayHeight); in updateTrackFormat() 578 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_ROTATION, rotation); in updateTrackFormat() 586 AMediaFormat_setInt64(formatCopy, AMEDIAFORMAT_KEY_DURATION, durationUs); in updateTrackFormat() 591 mActualOutputFormat = std::shared_ptr<AMediaFormat>(formatCopy, &AMediaFormat_delete); in updateTrackFormat() [all …]
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicCompositeStream.cpp | 1908 sp<AMessage> formatCopy; in onMessageReceived() local 1910 formatCopy = format->dup(); in onMessageReceived() 1912 parent->onHeicFormatChanged(formatCopy); in onMessageReceived()
|