[vlc-devel] [PATCH 00/11] Deinterlace refactoring v2

Steve Lhomme robux4 at videolabs.io
Tue Jun 27 10:21:36 CEST 2017


Same set of patches as before with the following changes:
- rework the fallback from "auto" to "x"
- add an assert to ensure RenderDiscard() is always called with field 0
- don't use a flag anymore to detect phosphor mode, group the phosphor init in
  a single location


Steve Lhomme (11):
  video_filter:deinterlace: use an array of metadata rather than the
    array in the metadata
  video_filter:deinterlace: only compute the field duration when needed
  video_filter:deinterlace: make sure we use the same setup for auto and
    X
  video_filter:deinterlace: use a union to store phosphor and ivtc
    parameters
  video_filter:deinterlace: don't use the field parameter in
    RenderDiscard()
  video_filter:deinterlace: remove useless fallback values
  video_filter:deinterlace: use the same signature for all render
    methods
  video_filter:deinterlace: tell which methods won't care about the
    field element
  video_filter:deinterlace: move all phosphor handling after
    GetOutputFormat
  video_filter:deinterlace: use a callback to call do the rendering on a
    field
  video_filter:deinterlace: move some structures in common.h

 modules/video_filter/Makefile.am                 |   3 +-
 modules/video_filter/deinterlace/algo_basic.c    |  43 ++-
 modules/video_filter/deinterlace/algo_basic.h    |  18 +-
 modules/video_filter/deinterlace/algo_ivtc.c     |  40 ++-
 modules/video_filter/deinterlace/algo_ivtc.h     |   3 +-
 modules/video_filter/deinterlace/algo_phosphor.c |   7 +-
 modules/video_filter/deinterlace/algo_phosphor.h |   2 +-
 modules/video_filter/deinterlace/algo_x.c        |   7 +-
 modules/video_filter/deinterlace/algo_x.h        |   3 +-
 modules/video_filter/deinterlace/algo_yadif.c    |  12 +-
 modules/video_filter/deinterlace/common.c        | 317 +++++++++++++++++
 modules/video_filter/deinterlace/common.h        |  62 +++-
 modules/video_filter/deinterlace/deinterlace.c   | 422 +++--------------------
 modules/video_filter/deinterlace/deinterlace.h   |  50 +--
 14 files changed, 525 insertions(+), 464 deletions(-)
 create mode 100644 modules/video_filter/deinterlace/common.c

-- 
2.12.1



More information about the vlc-devel mailing list