52 register int misal = ((
unsigned long)blocks & 0x00000010);
55 ((
unsigned long*)blocks)[0] = 0
L;
56 ((
unsigned long*)blocks)[1] = 0
L;
57 ((
unsigned long*)blocks)[2] = 0
L;
58 ((
unsigned long*)blocks)[3] = 0
L;
61 for ( ; i <
sizeof(int16_t)*6*64-31 ; i += 32) {
62 __asm__
volatile(
"dcbz %0,%1" : :
"b" (blocks),
"r" (i) :
"memory");
65 ((
unsigned long*)blocks)[188] = 0
L;
66 ((
unsigned long*)blocks)[189] = 0
L;
67 ((
unsigned long*)blocks)[190] = 0
L;
68 ((
unsigned long*)blocks)[191] = 0
L;
78 register int misal = ((
unsigned long)blocks & 0x0000007f);
84 memset(blocks, 0,
sizeof(int16_t)*6*64);
87 for ( ; i <
sizeof(int16_t)*6*64 ; i += 128) {
88 __asm__
volatile(
"dcbzl %0,%1" : :
"b" (blocks),
"r" (i) :
"memory");
94 memset(blocks, 0,
sizeof(int16_t)*6*64);
106 register char *fakedata =
av_malloc(1024);
107 register char *fakedata_middle;
108 register long zero = 0;
116 fakedata_middle = (fakedata + 512);
118 memset(fakedata, 0xFF, 1024);
122 __asm__
volatile(
"dcbzl %0, %1" : :
"b" (fakedata_middle),
"r" (zero));
124 for (i = 0; i < 1024 ; i ++) {
125 if (fakedata[i] == (
char)0)
145 if (avctx->dsp_mask) {
147 mm_flags |= (avctx->dsp_mask & 0xffff);
149 mm_flags &= ~(avctx->dsp_mask & 0xffff);
153 if (!high_bit_depth) {
178 #endif //CONFIG_ENCODERS