ffmpeg/doc
Marton Balint 94a9ac1277 lavf: add av_guess_frame_sample_aspect_ratio function
Guesses the sample aspect ratio of a frame, based on both the stream and the
frame aspect ratio.

Since the frame aspect ratio is set by the codec but the stream aspect ratio
is set by the demuxer, these two may not be equal. This function tries to
return the value that you should use if you would like to display the frame.

Basic logic is to use the stream aspect ratio if it is set to something sane
otherwise use the frame aspect ratio. This way a container setting, which is
usually easy to modify can override the coded value in the frames.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-14 23:40:46 +02:00
..
doxy
examples doc/examples: add libswresample in the libraries. 2012-05-12 19:58:44 +02:00
APIchanges lavf: add av_guess_frame_sample_aspect_ratio function 2012-05-14 23:40:46 +02:00
Makefile Merge remote-tracking branch 'qatar/master' 2012-03-29 04:11:10 +02:00
RELEASE_NOTES
avtools-common-opts.texi Merge remote-tracking branch 'qatar/master' 2012-03-21 01:33:53 +01:00
avutil.txt
bitstream_filters.texi Merge remote-tracking branch 'qatar/master' 2012-02-25 04:00:43 +01:00
build_system.txt
decoders.texi
demuxers.texi
developer.texi doc: clarify check for NULL pointer style 2012-05-06 15:47:10 -07:00
encoders.texi
errno.txt
eval.texi eval: add root() to solve f(x)=0 2012-02-27 00:00:55 +01:00
faq.texi
fate.texi doc: fix link to fate.libav.org 2012-05-13 00:17:51 -07:00
ffmpeg-mt-authorship.txt
ffmpeg.texi ffmpeg: accept + prefix to -pix_fmt option to disable automatic conversions. 2012-05-14 21:29:58 +02:00
ffmpeg.txt
ffplay.texi
ffprobe.texi doc/ffprobe: fix rendering of the timecode chapter in the man page 2012-05-14 12:59:51 +02:00
ffprobe.xsd ffprobe: report bit rate in stream description 2012-02-20 17:46:26 +01:00
ffserver.conf
ffserver.texi
filter_design.txt lavfi: document filter design subtleties. 2012-05-14 18:56:52 +02:00
filters.texi Merge remote-tracking branch 'qatar/master' 2012-05-13 00:13:49 +02:00
general.texi JACOsub demuxer, decoder and muxer. 2012-05-03 19:37:14 +02:00
git-howto.texi Merge remote-tracking branch 'qatar/master' 2012-04-13 21:50:37 +02:00
git-howto.txt
indevs.texi v4l2: allow to convert monotonic timestamps. 2012-04-04 15:22:44 +02:00
issue_tracker.txt
libavfilter.texi
metadata.texi
multithreading.txt
muxers.texi doc/muxers: add documentation for the md5 and framemd5 muxers 2012-04-07 13:57:40 +02:00
optimization.txt
outdevs.texi
platform.texi Merge remote-tracking branch 'qatar/master' 2012-05-14 20:17:24 +02:00
print_options.c print_options: warn that the files are generated. 2012-04-23 18:14:25 +02:00
protocols.texi Merge remote-tracking branch 'qatar/master' 2012-03-21 01:33:53 +01:00
rate_distortion.txt
snow.txt
soc.txt
swresample.txt cosmetics: fix some typos 2012-03-13 01:14:04 +01:00
swscale.txt
t2h.init
tablegen.txt
texi2pod.pl doc: texi2pod: add -I flag 2012-03-20 11:10:25 +00:00
viterbi.txt