[libav-devel] [PATCH 1/9] libavutil: add planar sample formats and av_sample_fmt_is_planar()

Måns Rullgård mans at mansr.com
Sat Nov 12 23:51:22 CET 2011


Justin Ruggles <justin.ruggles at gmail.com> writes:

> +    AV_SAMPLE_FMT_U8_PLANAR,   ///< unsigned 8 bits, planar
> +    AV_SAMPLE_FMT_S16_PLANAR,  ///< signed 16 bits, planar
> +    AV_SAMPLE_FMT_S32_PLANAR,  ///< signed 32 bits, planar
> +    AV_SAMPLE_FMT_FLT_PLANAR,  ///< float, planar
> +    AV_SAMPLE_FMT_DBL_PLANAR,  ///< double, planar

Bikeshed: a simple P suffix (AV_SAMPLE_FMT_S16P etc) would be consistent
with pixel format names as well as being shorter.

-- 
Måns Rullgård
mans at mansr.com


More information about the libav-devel mailing list