aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_direct.c
diff options
context:
space:
mode:
authorMatthew Einhorn <moiein2000@gmail.com>2011-08-26 13:03:50 -0400
committerMichael Niedermayer <michaelni@gmx.at>2011-08-27 00:57:46 +0200
commitadfe59407e46258cec6d082752427e8ae63cf977 (patch)
tree9ccdab5d544015c77fcbc77615937344d8b42e5f /libavcodec/h264_direct.c
parent094a4968188b0129d674c1369bad45a86cd0d46d (diff)
downloadffmpeg-adfe59407e46258cec6d082752427e8ae63cf977.tar.gz
Adds a new pix fmt function that selects the best dest fmt from among 2 formats to convert to, given a certain src format.
Similar to avcodec_find_best_pix_fmt(), but instead only compares two destination pix fmts and selects one of these fmts as the best dest format when converting from a given source format. Also, as opposed to avcodec_find_best_pix_fmt() which supports only the first 64 defined pixel formats, this supports as input any of the defined pixel formats. Also replaces the old function to rely on the new function. Signed-off-by: Matthew Einhorn <moiein2000@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_direct.c')
0 files changed, 0 insertions, 0 deletions