Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp31 int32_t sarHeight; in MakeAVCCodecSpecificData() local
33 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData()
42 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData()
44 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData()
DFrameDecoder.cpp60 int32_t sarWidth, sarHeight; in allocVideoFrame() local
63 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in allocVideoFrame()
64 && sarHeight != 0) { in allocVideoFrame()
65 displayWidth = (width * sarWidth) / sarHeight; in allocVideoFrame()
DUtils.cpp664 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local
666 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage()
668 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage()
1329 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local
1331 && msg->findInt32("sar-height", &sarHeight)) { in convertMessageToMetaData()
1333 meta->setInt32(kKeySARHeight, sarHeight); in convertMessageToMetaData()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp103 int32_t *sarWidth, int32_t *sarHeight) { in FindAVCDimensions() argument
225 if (sarHeight != NULL) { in FindAVCDimensions()
226 *sarHeight = 0; in FindAVCDimensions()
272 if (sarHeight != NULL) { in FindAVCDimensions()
273 *sarHeight = sar_height; 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()
448 *sarHeight); 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
2108 && inputFormat->findInt32("sar-height", &sarHeight) 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
2062 && inputFormat->findInt32("sar-height", &sarHeight) 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()