On 9/9/2020 12:39 AM, Fei Wang wrote: > This av1 decoder is now only used for av1 hardware acceleration > decoder. Consider it can be extend to a local decoder like hevc > or vp9 in the future, so define its name as "av1" and put it into > external libraries codec list. > > Signed-off-by: Fei Wang <fei.w.w...@intel.com> > --- > update: > 1. reuse buffer for tile_group_info. > 2. set avctx/frame props from sequence and frame header. > 3. refine ref/unref for s->seq_ref/s->header_ref. > 4. refine av1_decode_frame to reduce duplicated code. > > Changelog | 1 + > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/av1dec.c | 860 +++++++++++++++++++++++++++++++++++++++++ > libavcodec/av1dec.h | 70 ++++ > libavcodec/version.h | 2 +- > 7 files changed, 935 insertions(+), 1 deletion(-) > create mode 100644 libavcodec/av1dec.c > create mode 100644 libavcodec/av1dec.h
It's mostly good now. A few issues like a pointer leak on failure if av_realloc_array() fails, but i can fix those before pushing. I'll let Mark review the vaapi patch and apply this one soon, since apparently there are other hwaccels implementations waiting for this to land. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".