Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
Davc_utils.cpp94 int32_t *sarWidth, int32_t *sarHeight) { in FindAVCDimensions() argument
204 if (sarHeight != NULL) { in FindAVCDimensions()
205 *sarHeight = 0; in FindAVCDimensions()
251 if (sarHeight != NULL) { in FindAVCDimensions()
252 *sarHeight = sar_height; in FindAVCDimensions()
375 int32_t sarWidth, sarHeight; in MakeAVCCodecSpecificData() local
377 seqParamSet, &width, &height, &sarWidth, &sarHeight); in MakeAVCCodecSpecificData()
423 if ((sarWidth > 0 && sarHeight > 0) && (sarWidth != 1 || sarHeight != 1)) { in MakeAVCCodecSpecificData()
427 meta->setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData()
437 sarHeight); in MakeAVCCodecSpecificData()
DStagefrightMetadataRetriever.cpp414 int32_t sarWidth, sarHeight; in extractVideoFrame() local
416 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in extractVideoFrame()
417 && sarHeight != 0) { in extractVideoFrame()
418 frame->mDisplayWidth = (frame->mDisplayWidth * sarWidth) / sarHeight; in extractVideoFrame()
DUtils.cpp687 int32_t sarWidth, sarHeight; in convertMetaDataToMessage() local
689 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage()
691 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage()
1325 int32_t sarWidth, sarHeight; in convertMessageToMetaData() local
1327 && msg->findInt32("sar-height", &sarHeight)) { in convertMessageToMetaData()
1329 meta->setInt32(kKeySARHeight, sarHeight); in convertMessageToMetaData()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_decoder.h75 u32 *sarWidth, u32 *sarHeight);
Dh264bsd_vui.h89 u32 sarHeight; member
Dh264bsd_decoder.c889 void h264bsdSampleAspectRatio(storage_t *pStorage, u32 *sarWidth, u32 *sarHeight) in h264bsdSampleAspectRatio() argument
923 h = pStorage->activeSps->vuiParameters->sarHeight; in h264bsdSampleAspectRatio()
936 *sarHeight = h; in h264bsdSampleAspectRatio()
Dh264bsd_vui.c118 pVuiParameters->sarHeight = 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.cpp1916 int32_t sarWidth, sarHeight; in updateVideoSize() local
1918 && inputFormat->findInt32("sar-height", &sarHeight) in updateVideoSize()
1919 && sarWidth > 0 && sarHeight > 0) { in updateVideoSize()
1920 ALOGV("Sample aspect ratio %d : %d", sarWidth, sarHeight); in updateVideoSize()
1922 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()