diff options
author | Andreas Huber <andih@google.com> | 2012-12-03 15:20:40 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-12-05 10:34:34 -0800 |
commit | 516dacfb02d0b0eafe21114330c98ce0e7d90da9 (patch) | |
tree | d52b7097f333fa4d010f224849897b9808b6463a /media/libstagefright/include/avc_utils.h | |
parent | 88e672043a0671557d9c0877e069dc95de0d8cb0 (diff) | |
download | frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.zip frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.tar.gz frameworks_av-516dacfb02d0b0eafe21114330c98ce0e7d90da9.tar.bz2 |
Respect sample aspect ratio in NuPlayer.
related-to-bug: 7569402
Change-Id: I302de95d83b180bd2dc72ddd0c69a665dbce2527
Diffstat (limited to 'media/libstagefright/include/avc_utils.h')
-rw-r--r-- | media/libstagefright/include/avc_utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libstagefright/include/avc_utils.h b/media/libstagefright/include/avc_utils.h index e418822..d517320 100644 --- a/media/libstagefright/include/avc_utils.h +++ b/media/libstagefright/include/avc_utils.h @@ -36,8 +36,11 @@ enum { kAVCProfileCAVLC444Intra = 0x2c }; +// Optionally returns sample aspect ratio as well. void FindAVCDimensions( - const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height); + const sp<ABuffer> &seqParamSet, + int32_t *width, int32_t *height, + int32_t *sarWidth = NULL, int32_t *sarHeight = NULL); unsigned parseUE(ABitReader *br); |