[FFmpeg-soc] [soc]: r995 - in dirac/libavcodec: dirac.c dirac_wavelet.c dirac_wavelet.h
marco
subversion at mplayerhq.hu
Sun Aug 19 00:58:37 CEST 2007
Author: marco
Date: Sun Aug 19 00:58:37 2007
New Revision: 995
Log:
add dirac_wavelet.h
Added:
dirac/libavcodec/dirac_wavelet.h
Modified:
dirac/libavcodec/dirac.c
dirac/libavcodec/dirac_wavelet.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sun Aug 19 00:58:37 2007
@@ -33,6 +33,7 @@
#include "bytestream.h"
#include "golomb.h"
#include "dirac_arith.h"
+#include "dirac_wavelet.h"
#include "mpeg12data.h"
typedef enum {
Modified: dirac/libavcodec/dirac_wavelet.c
==============================================================================
--- dirac/libavcodec/dirac_wavelet.c (original)
+++ dirac/libavcodec/dirac_wavelet.c Sun Aug 19 00:58:37 2007
@@ -28,6 +28,7 @@
#define DEBUG 1
#include "avcodec.h"
+#include "dirac_wavelet.h"
/**
* Reorder coefficients so the IDWT synthesis can run in place
Added: dirac/libavcodec/dirac_wavelet.h
==============================================================================
--- (empty file)
+++ dirac/libavcodec/dirac_wavelet.h Sun Aug 19 00:58:37 2007
@@ -0,0 +1,45 @@
+/* -*- indent-tabs-mode:nil; c-basic-offset:4; -*- */
+/*
+ * Copyright (C) 2007 Marco Gerards <marco at gnu.org>
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/**
+ * @file dirac_arith.h
+ * Dirac support interfaces
+ * @author Marco Gerards <marco at gnu.org>
+ */
+
+#ifndef AVCODEC_DIRAC_WAVELET_H
+#define AVCODEC_DIRAC_WAVELET_H
+
+#include "avcodec.h"
+
+int dirac_subband_idwt_53(AVCodecContext *avctx, int width, int height,
+ int padded_width, int16_t *data, int level);
+
+int dirac_subband_idwt_95(AVCodecContext *avctx, int width, int height,
+ int padded_width, int16_t *data, int level);
+
+int dirac_subband_dwt_53(AVCodecContext *avctx, int width, int height,
+ int padded_width, int16_t *data, int level);
+
+int dirac_subband_dwt_95(AVCodecContext *avctx, int width, int height,
+ int padded_width, int16_t *data, int level);
+
+#endif // AVCODEC_DIRACWAVELET_H
More information about the FFmpeg-soc
mailing list