mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
sh4: drop unused functions
{avg,put}_pixels4_c are not used.
This commit is contained in:
parent
620289a20e
commit
b2a722a87e
@ -65,34 +65,6 @@
|
|||||||
dest+=stride; \
|
dest+=stride; \
|
||||||
} while(--height)
|
} while(--height)
|
||||||
|
|
||||||
|
|
||||||
#define OP put
|
|
||||||
|
|
||||||
static void put_pixels4_c(uint8_t *dest,const uint8_t *ref, const int stride,int height)
|
|
||||||
{
|
|
||||||
switch((int)ref&3){
|
|
||||||
case 0: OP_C40(); return;
|
|
||||||
case 1: OP_C4(1); return;
|
|
||||||
case 2: OP_C4(2); return;
|
|
||||||
case 3: OP_C4(3); return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef OP
|
|
||||||
#define OP avg
|
|
||||||
|
|
||||||
static void avg_pixels4_c(uint8_t *dest,const uint8_t *ref, const int stride,int height)
|
|
||||||
{
|
|
||||||
switch((int)ref&3){
|
|
||||||
case 0: OP_C40(); return;
|
|
||||||
case 1: OP_C4(1); return;
|
|
||||||
case 2: OP_C4(2); return;
|
|
||||||
case 3: OP_C4(3); return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef OP
|
|
||||||
|
|
||||||
#define OP_C(ofs,sz,avg2) \
|
#define OP_C(ofs,sz,avg2) \
|
||||||
{ \
|
{ \
|
||||||
ref-=ofs; \
|
ref-=ofs; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user