[FFmpeg-devel] [PATCH 1/2] dirac: Move quantization tables to the shared header file

Rostislav Pehlivanov atomnuker at gmail.com
Sat Jan 23 19:12:57 CET 2016


On 23 January 2016 at 16:28, Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Fri, Jan 22, 2016 at 06:15:42PM +0000, Rostislav Pehlivanov wrote:
> > This commit moves the quantization matricies and a single define to the
> > shared header between the encoder and decoder. This is in preparation
> > for the following commit which will introduce the encoder.
> >
> > Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> > ---
> >  libavcodec/dirac.h    | 78
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> >  libavcodec/diracdec.c | 78
> ---------------------------------------------------
> >  2 files changed, 78 insertions(+), 78 deletions(-)
>
> shouldnt the common tables be in a direcwhatever.c that gets build
> once and used by both encoder and decoder ?
>
>
Not a bad idea actually, will make a diractab.c file. Will put a few
additional custom quantization tables the encoder uses there.


More information about the ffmpeg-devel mailing list