aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-24 21:28:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-27 14:14:56 +0200
commit66b691f99f77ebb59d5c192aab4eefec4d200be8 (patch)
treeed008b92aa702300b16757f05d90dec0b09aab79 /libavcodec/snow.c
parente2c24e6a299b7e0e5387bdc50c11d16857b950a0 (diff)
downloadffmpeg-66b691f99f77ebb59d5c192aab4eefec4d200be8.tar.gz
avcodec/internal: Move ff_get_buffer() to decode.h
Only used by decoders (encoders have ff_encode_alloc_frame()). Also clean up the other headers a bit while removing now redundant internal.h inclusions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 5e0033063d..aa15fccc42 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -18,21 +18,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/intmath.h"
#include "libavutil/log.h"
-#include "libavutil/opt.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "decode.h"
#include "encode.h"
#include "me_cmp.h"
#include "snow_dwt.h"
-#include "internal.h"
#include "snow.h"
#include "snowdata.h"
-#include "rangecoder.h"
-#include "mathops.h"
-
void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8){