Home
last modified time | relevance | path

Searched refs:sarWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp30 int32_t sarWidth; in MakeAVCCodecSpecificData() local
33 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData()
42 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData()
43 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData()
DFrameDecoder.cpp60 int32_t sarWidth, sarHeight; in allocVideoFrame() local
62 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame()
65 displayWidth = (width * sarWidth) / sarHeight; in allocVideoFrame()
DUtils.cpp664 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local
665 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage()
667 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage()
1329 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local
1330 if (msg->findInt32("sar-width", &sarWidth) in convertMessageToMetaData()
1332 meta->setInt32(kKeySARWidth, sarWidth); in convertMessageToMetaData()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp103 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/
Davc_utils.h48 int32_t *sarWidth = NULL, int32_t *sarHeight = NULL);
85 int32_t *sarWidth = nullptr, int32_t *sarHeight = nullptr);
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2.cpp2106 int32_t sarWidth, sarHeight; in updateVideoSize() local
2107 if (inputFormat->findInt32("sar-width", &sarWidth) in updateVideoSize()
2109 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize()
2110 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize()
2112 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp2060 int32_t sarWidth, sarHeight; in updateVideoSize() local
2061 if (inputFormat->findInt32("sar-width", &sarWidth) in updateVideoSize()
2063 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize()
2064 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize()
2066 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()