[FFmpeg-devel] [PATCH 0/9] hevc: misc cleanups

Christophe Gisquet christophe.gisquet at gmail.com
Thu Jul 10 08:47:47 CEST 2014


The 4 first patches reduce memory allocations as, in a simplified view,
only the previous ctb line is needed for the various prediction mechanisms.
The actual required allocation is much smaller, but would require too many
changes. And the margin of this mail is too small to explain it.

The next 2 are another instance of "don't just implement the specs as is":
the list of MVs does not need to be fully derived, so don't waste time on it.

This is a semi-serious patchset, the intent is more to point out potential
improvements.

Christophe Gisquet (9):
  hevc: reduce allocation for split_cu_flag
  hevc: reduce allocation for skip_flag
  hevc: reduce allocation for tab_ipm
  hevc: reduce cu depth allocation
  hevc: derive partial merge list
  hevc: derive partially amvp list
  hevc: use intreadwrite
  hevc: simplify rounding
  hevc: reorder loops

 libavcodec/hevc.c       | 38 +++++++++++++-------------
 libavcodec/hevc.h       |  4 +--
 libavcodec/hevc_cabac.c |  4 +--
 libavcodec/hevc_mvs.c   | 71 ++++++++++++++++++++++++++++++-------------------
 4 files changed, 67 insertions(+), 50 deletions(-)

-- 
1.9.2.msysgit.0



More information about the ffmpeg-devel mailing list