This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
dsputil: Move hpel_template #include out of dsputil_template
Multiple inclusion makes no sense as it is only used in the 8-bit case.
tags/n2.3
Diego Biurrun
11 years ago
parent
d0aabeab23
commit
d3c3c1664a
3 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/dsputil.c
+0
-4
libavcodec/dsputil_template.c
+2
-0
libavcodec/hpel_template.c
+ 1
- 0
libavcodec/dsputil.c
View File
@@ -48,6 +48,7 @@ uint32_t ff_square_tab[512] = { 0, };
#undef BIT_DEPTH
#define BIT_DEPTH 8
#include "hpel_template.c"
#include "tpel_template.c"
#include "dsputil_template.c"
+ 0
- 4
libavcodec/dsputil_template.c
View File
@@ -97,10 +97,6 @@ static void FUNCC(clear_blocks)(int16_t *blocks)
}
#endif
#if BIT_DEPTH == 8
#include "hpel_template.c"
#endif
#define PIXOP2(OPNAME, OP) \
static inline void FUNC(OPNAME ## _no_rnd_pixels8_l2)(uint8_t *dst, \
const uint8_t *src1, \
+ 2
- 0
libavcodec/hpel_template.c
View File
@@ -21,6 +21,8 @@
#include "pixels.h"
#include "bit_depth_template.c"
#define DEF_HPEL(OPNAME, OP) \
static inline void FUNC(OPNAME ## _pixels8_l2)(uint8_t *dst, \
const uint8_t *src1, \
Write
Preview
Loading…
Cancel
Save