On Tue, Aug 16, 2016 at 05:16:49AM -0500, Burt P wrote: > af_hdcd.c began as an extended hdcd_decode.c from foo_hdcd, and > recently the ffmpeg improvements were put back into a form that > worked with foo_hdcd, but maintaining that sharing is cumbersome. > > This patch moves the core HDCD decoder out of af_hdcd.c into > hdcd_decode2.c. This is a generic version of the decoder that > can be used in ffmpeg, foo_hdcd and whatever else. This way it is > easier to share improvements to the decoder between projects. > > af_hdcd.c is now an ffmpeg-specific wrapper to hdcd_decoder2.{h,c}. > > Signed-off-by: Burt P <pbu...@gmail.com> > --- > libavfilter/Makefile | 1 + > libavfilter/af_hdcd.c | 1674 > ++++---------------------------------------- > libavfilter/hdcd_decode2.c | 1633 ++++++++++++++++++++++++++++++++++++++++++ > libavfilter/hdcd_decode2.h | 204 ++++++
with -C this is a bit smaller though still large not sure what is best for review libavfilter/Makefile | 1 + libavfilter/af_hdcd.c | 1674 ++--------------------------- libavfilter/{af_hdcd.c => hdcd_decode2.c} | 958 +++++++---------- libavfilter/hdcd_decode2.h | 203 ++++ 4 files changed, 724 insertions(+), 2112 deletions(-) copy libavfilter/{af_hdcd.c => hdcd_decode2.c} (86%) create mode 100644 libavfilter/hdcd_decode2.h also breaks fate -- ./tests/ref/fate/source 2016-08-16 11:23:33.584756114 +0200 ++ tests/data/fate/source 2016-08-16 15:51:48.601095192 +0200 @@ -26,3 +26,4 @@ compat/avisynth/windowsPorts/windows2linux.h compat/float/float.h compat/float/limits.h +libavfilter/hdcd_decode2.h Test source failed. Look at tests/data/fate/source.err for details. make: *** [fate-source] Error 1 make: *** Waiting for unfinished jobs.... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel