Searched refs:sarWidth (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 39 int32_t sarWidth; in MakeAVCCodecSpecificData() local 42 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 51 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 52 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData() 65 int32_t sarWidth; in MakeAVCCodecSpecificData() local 68 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData() 77 if (sarWidth > 0 && sarHeight > 0) { in MakeAVCCodecSpecificData() 78 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 | 923 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local 924 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage() 926 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage() 1656 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local 1657 if (msg->findInt32("sar-width", &sarWidth) in convertMessageToMetaData() 1659 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 | 2065 int32_t sarWidth, sarHeight; in updateVideoSize() local 2066 if (inputFormat->findInt32("sar-width", &sarWidth) 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()
|