mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
Move ff_emulated_edge_mc prototypes to videodsp.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
55e35c98d5
commit
c7e3e55429
@ -37,6 +37,7 @@
|
||||
#include "dirac_dwt.h"
|
||||
#include "dirac.h"
|
||||
#include "diracdsp.h"
|
||||
#include "videodsp.h" // for ff_emulated_edge_mc_8
|
||||
|
||||
/**
|
||||
* The spec limits the number of wavelet decompositions to 4 for both
|
||||
|
@ -139,14 +139,6 @@ void ff_init_scantable(uint8_t *, ScanTable *st, const uint8_t *src_scantable);
|
||||
void ff_init_scantable_permutation(uint8_t *idct_permutation,
|
||||
int idct_permutation_type);
|
||||
|
||||
#define EMULATED_EDGE(depth) \
|
||||
void ff_emulated_edge_mc_ ## depth (uint8_t *buf, const uint8_t *src, ptrdiff_t linesize,\
|
||||
int block_w, int block_h,\
|
||||
int src_x, int src_y, int w, int h);
|
||||
|
||||
EMULATED_EDGE(8)
|
||||
EMULATED_EDGE(16)
|
||||
|
||||
/**
|
||||
* DSPContext.
|
||||
*/
|
||||
|
@ -29,6 +29,14 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define EMULATED_EDGE(depth) \
|
||||
void ff_emulated_edge_mc_ ## depth (uint8_t *buf, const uint8_t *src, ptrdiff_t linesize,\
|
||||
int block_w, int block_h,\
|
||||
int src_x, int src_y, int w, int h);
|
||||
|
||||
EMULATED_EDGE(8)
|
||||
EMULATED_EDGE(16)
|
||||
|
||||
typedef struct VideoDSPContext {
|
||||
/**
|
||||
* Copy a rectangular area of samples to a temporary buffer and replicate
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "libavcodec/h264dsp.h"
|
||||
#include "libavcodec/mpegvideo.h"
|
||||
#include "libavcodec/simple_idct.h"
|
||||
#include "libavcodec/videodsp.h"
|
||||
#include "dsputil_mmx.h"
|
||||
#include "idct_xvid.h"
|
||||
#include "diracdsp_mmx.h"
|
||||
|
Loading…
Reference in New Issue
Block a user