Searched refs:sarHeight (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 41 int32_t sarHeight; in MakeAVCCodecSpecificData() local 43 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 52 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 54 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData() 67 int32_t sarHeight; in MakeAVCCodecSpecificData() local 69 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 78 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 80 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in MakeAVCCodecSpecificData()
|
D | FrameDecoder.cpp | 60 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()
|
D | Utils.cpp | 928 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local 930 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage() 932 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage() 1661 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local 1663 && msg->findInt32("sar-height", &sarHeight)) { in convertMessageToMetaData() 1665 meta->setInt32(kKeySARHeight, sarHeight); in convertMessageToMetaData()
|
/frameworks/av/media/libstagefright/foundation/ |
D | avc_utils.cpp | 103 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/ |
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 2065 && inputFormat->findInt32("sar-height", &sarHeight) 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 2229 && inputFormat->findInt32("sar-height", &sarHeight) 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()
|