Searched refs:sarWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 40 int32_t sarWidth; in MakeAVCCodecSpecificData() local 43 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 52 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 53 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData() 66 int32_t sarWidth; in MakeAVCCodecSpecificData() local 69 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 78 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 79 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in MakeAVCCodecSpecificData()
|
D | FrameDecoder.cpp | 60 int32_t sarWidth, sarHeight; in allocVideoFrame() local 62 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame() 65 displayWidth = (width * sarWidth) / sarHeight; in allocVideoFrame()
|
D | Utils.cpp | 928 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local 929 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage() 931 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage() 1661 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local 1662 if (msg->findInt32("sar-width", &sarWidth) in convertMessageToMetaData() 1664 meta->setInt32(kKeySARWidth, sarWidth); in convertMessageToMetaData()
|
/frameworks/av/media/libstagefright/foundation/ |
D | avc_utils.cpp | 103 int32_t *sarWidth, int32_t *sarHeight) { in FindAVCDimensions() argument 221 if (sarWidth != NULL) { in FindAVCDimensions() 222 *sarWidth = 0; in FindAVCDimensions() 268 if (sarWidth != NULL) { in FindAVCDimensions() 269 *sarWidth = sar_width; in FindAVCDimensions() 388 int32_t *sarWidth, int32_t *sarHeight) { in MakeAVCCodecSpecificData() argument 398 seqParamSet, width, height, sarWidth, sarHeight); in MakeAVCCodecSpecificData() 438 if (sarWidth != nullptr && sarHeight != nullptr) { in MakeAVCCodecSpecificData() 439 if ((*sarWidth > 0 && *sarHeight > 0) && (*sarWidth != 1 || *sarHeight != 1)) { in MakeAVCCodecSpecificData() 447 *sarWidth, in MakeAVCCodecSpecificData() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | avc_utils.h | 48 int32_t *sarWidth = NULL, int32_t *sarHeight = NULL); 85 int32_t *sarWidth = nullptr, int32_t *sarHeight = nullptr);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 2063 int32_t sarWidth, sarHeight; in updateVideoSize() local 2064 if (inputFormat->findInt32("sar-width", &sarWidth) in updateVideoSize() 2066 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize() 2067 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize() 2069 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2.cpp | 2227 int32_t sarWidth, sarHeight; in updateVideoSize() local 2228 if (inputFormat->findInt32("sar-width", &sarWidth) in updateVideoSize() 2230 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize() 2231 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize() 2233 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
|