mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 11:24:17 +00:00
Cleanup types
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
006c8e9e9c
commit
7a8f36cccc
@ -27,15 +27,10 @@
|
|||||||
#include "util_altivec.h"
|
#include "util_altivec.h"
|
||||||
#define FILTER_BITS 8
|
#define FILTER_BITS 8
|
||||||
|
|
||||||
typedef union {
|
|
||||||
vector unsigned char v;
|
|
||||||
unsigned char c[16];
|
|
||||||
} vec_uc_t;
|
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
vector signed short v;
|
vector signed short v;
|
||||||
signed short s[8];
|
signed short s[8];
|
||||||
} vec_ss_t;
|
} vec_ss;
|
||||||
|
|
||||||
void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
|
void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
|
||||||
int wrap, int16_t *filter)
|
int wrap, int16_t *filter)
|
||||||
@ -43,7 +38,7 @@ void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
|
|||||||
int sum, i;
|
int sum, i;
|
||||||
const uint8_t *s;
|
const uint8_t *s;
|
||||||
vector unsigned char *tv, tmp, dstv, zero;
|
vector unsigned char *tv, tmp, dstv, zero;
|
||||||
vec_ss_t srchv[4], srclv[4], fv[4];
|
vec_ss srchv[4], srclv[4], fv[4];
|
||||||
vector signed short zeros, sumhv, sumlv;
|
vector signed short zeros, sumhv, sumlv;
|
||||||
s = src;
|
s = src;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user