[FFmpeg-devel] [PATCH v3 0/5] Refactor avs2_parser

Zhao Zhili quinkblack at foxmail.com
Mon Jun 13 06:36:31 EEST 2022


v3:
1. Move ff_avs2_frame_rate_tab from avs2.h to avs2.c
2. Consitify `precision` in patch 3/5
3. init_get_bits8() with size limites to buf_size_min
4. Select avs2_parser for libdavs2
5. Use ff_avs2_frame_rate_tab in libdavs2

v2:
Fix warning of unused variable.

Zhao Zhili (5):
  avcodec/avs2: add AVS2 related definitions
  avcodec/avs2_parser: split data into frames
  avcodec/avs2_parser: parse more info
  configure: select avs2 parser for libdavs2 decoder
  avcodec/libdavs2: use frame rate code table

 configure                |   1 +
 libavcodec/Makefile      |   2 +-
 libavcodec/avs2.c        |  42 ++++++++++++++
 libavcodec/avs2.h        |  51 +++++++++++++++++
 libavcodec/avs2_parser.c | 115 ++++++++++++++++++++++++++++++++++++---
 libavcodec/libdavs2.c    |   4 +-
 6 files changed, 206 insertions(+), 9 deletions(-)
 create mode 100644 libavcodec/avs2.c
 create mode 100644 libavcodec/avs2.h

-- 
2.35.3



More information about the ffmpeg-devel mailing list