diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 8b42eee638..aadb9a811a 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -50,9 +50,6 @@ void ff_fdct_mmx(int16_t *block); void ff_fdct_mmxext(int16_t *block); void ff_fdct_sse2(int16_t *block); -void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp); -void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc); - /* encoding scans */ extern const uint8_t ff_alternate_horizontal_scan[64]; extern const uint8_t ff_alternate_vertical_scan[64]; diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d52b932222..464c40338c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -39,6 +39,7 @@ #include "golomb.h" #include "mathops.h" #include "rectangle.h" +#include "svq3.h" #include "thread.h" #include "vdpau_internal.h" #include "libavutil/avassert.h" diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 4b5a8d03eb..2fbf40d7a8 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -57,6 +57,7 @@ #endif #include "svq1.h" +#include "svq3.h" /** * @file diff --git a/libavcodec/svq3.h b/libavcodec/svq3.h new file mode 100644 index 0000000000..8c67a23789 --- /dev/null +++ b/libavcodec/svq3.h @@ -0,0 +1,27 @@ +/* + * This file is part of Libav. + * + * Libav 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. + * + * Libav 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 Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_SVQ3_H +#define AVCODEC_SVQ3_H + +#include + +void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp); +void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc); + +#endif /* AVCODEC_DSPUTIL_H */