Searched refs:sarHeight (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 40 int32_t sarHeight; in MakeAVCCodecSpecificData() local 42 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 51 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 53 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData() 66 int32_t sarHeight; in MakeAVCCodecSpecificData() local 68 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 77 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 79 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 | 923 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local 925 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage() 927 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage() 1656 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local 1658 && msg->findInt32("sar-height", &sarHeight)) { in convertMessageToMetaData() 1660 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 | 2065 int32_t sarWidth, sarHeight; in updateVideoSize() local 2067 && inputFormat->findInt32("sar-height", &sarHeight) in updateVideoSize() 2068 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize() 2069 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize() 2071 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
|