On 09/05/15 22:45, Jean-Baptiste Kempf wrote: > On 09 May, Luca Barbato wrote : >> --- >> doc/APIchanges | 3 +++ >> libavutil/pixdesc.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ >> libavutil/pixfmt.h | 15 +++++++++++++++ >> libavutil/version.h | 4 ++-- >> 4 files changed, 65 insertions(+), 2 deletions(-) > > Why ? >
Actually why not: - the pixel format cannot deliver sanely the parameters useful to render bayer correctly - the users HATE having more pixel formats - the list I picked is not exaustive That said, the alternative is to output AV_CODEC_ID_BAYER packets, with bayer layout, gamma and white balance exported as side_data So the user that has already a mean to render it correctly will have the data available doesn't matter if the layout is not accounted by the pixel formats enumerated so far (There are countless CFA layouts...). Sounds better this way? lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
