On 24/03/14 03:20, Vittorio Giovara wrote: > On Mon, Mar 24, 2014 at 3:01 AM, Luca Barbato <[email protected]> wrote: >> From: Anton Khirnov <[email protected]> >> >> The current hwaccel is broken and cannot be fixed in a compatible >> way. It will be deprecated and replaced with a new one. >> --- >> doc/APIchanges | 3 +++ >> libavutil/pixdesc.c | 4 ++++ >> libavutil/pixfmt.h | 1 + >> libavutil/version.h | 2 +- >> 4 files changed, 9 insertions(+), 1 deletion(-) >> >> diff --git a/doc/APIchanges b/doc/APIchanges >> index 38d18bc..6d030a7 100644 >> --- a/doc/APIchanges >> +++ b/doc/APIchanges >> @@ -13,6 +13,9 @@ libavutil: 2013-12-xx >> >> API changes, most recent first: >> >> +2014-xx-xx - xxxxxxx - lavu 53.7.0 - pixfmt.h >> + Add AV_PIX_FMT_VDA for new-style VDA acceleration. >> + >> 2014-xx-xx - xxxxxxx - lavu 53.06.0 - pixfmt.h >> Add RGBA64 pixel format and variants. >> >> diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c >> index d0e6919..14dc9f5 100644 >> --- a/libavutil/pixdesc.c >> +++ b/libavutil/pixdesc.c >> @@ -1483,6 +1483,10 @@ const AVPixFmtDescriptor >> av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { >> }, >> .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE, >> }, >> + [AV_PIX_FMT_VDA] = { >> + .name = "vda", >> + .flags = AV_PIX_FMT_FLAG_HWACCEL, >> + }, >> }; > > no .log2_chroma_w/h? >
Monsieur de Lapalice states: "Opaque pixel formats are opaque" I'll add a note about it in the wiki soon. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
