Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
Davc_utils.cpp103 int32_t *sarWidth, int32_t *sarHeight) { in FindAVCDimensions() argument
209 if (sarWidth != NULL) { in FindAVCDimensions()
210 *sarWidth = 0; in FindAVCDimensions()
256 if (sarWidth != NULL) { in FindAVCDimensions()
257 *sarWidth = sar_width; in FindAVCDimensions()
384 int32_t sarWidth, sarHeight; in MakeAVCCodecSpecificData() local
386 seqParamSet, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData()
432 if ((sarWidth > 0 && sarHeight > 0) && (sarWidth != 1 || sarHeight != 1)) { in MakeAVCCodecSpecificData()
435 meta->setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData()
445 sarWidth, in MakeAVCCodecSpecificData()
DStagefrightMetadataRetriever.cpp161 int32_t sarWidth, sarHeight; in allocVideoFrame() local
163 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame()
166 displayWidth = (width * sarWidth) / sarHeight; in allocVideoFrame()
DUtils.cpp692 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local
693 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage()
695 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage()
1340 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local
1341 if (msg->findInt32("sar-width", &sarWidth) in convertMessageToMetaData()
1343 meta->setInt32(kKeySARWidth, sarWidth); in convertMessageToMetaData()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_decoder.h75 u32 *sarWidth, u32 *sarHeight);
Dh264bsd_vui.h88 u32 sarWidth; member
Dh264bsd_decoder.c889 void h264bsdSampleAspectRatio(storage_t *pStorage, u32 *sarWidth, u32 *sarHeight) in h264bsdSampleAspectRatio() argument
922 w = pStorage->activeSps->vuiParameters->sarWidth; in h264bsdSampleAspectRatio()
935 *sarWidth = w; in h264bsdSampleAspectRatio()
Dh264bsd_vui.c113 pVuiParameters->sarWidth = tmp; in h264bsdDecodeVuiParameters()
/frameworks/av/media/libstagefright/include/
Davc_utils.h49 int32_t *sarWidth = NULL, int32_t *sarHeight = NULL);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1917 int32_t sarWidth, sarHeight; in updateVideoSize() local
1918 if (inputFormat->findInt32("sar-width", &sarWidth) in updateVideoSize()
1920 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize()
1921 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize()
1923 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()