| OLD | NEW |
| 1 /* | 1 /* |
| 2 * XVID MPEG-4 VIDEO CODEC | 2 * XVID MPEG-4 VIDEO CODEC |
| 3 * - SSE2 inverse discrete cosine transform - | 3 * - SSE2 inverse discrete cosine transform - |
| 4 * | 4 * |
| 5 * Copyright(C) 2003 Pascal Massimino <skal@planet-d.net> | 5 * Copyright(C) 2003 Pascal Massimino <skal@planet-d.net> |
| 6 * | 6 * |
| 7 * Conversion to gcc syntax with modifications | 7 * Conversion to gcc syntax with modifications |
| 8 * by Alexander Strange <astrange@ithinksw.com> | 8 * by Alexander Strange <astrange@ithinksw.com> |
| 9 * | 9 * |
| 10 * Originally from dct/x86_asm/fdct_sse2_skal.asm in Xvid. | 10 * Originally from dct/x86_asm/fdct_sse2_skal.asm in Xvid. |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 iLLM_PASS("%0") | 378 iLLM_PASS("%0") |
| 379 "6: \n\t" | 379 "6: \n\t" |
| 380 : "+r"(block) | 380 : "+r"(block) |
| 381 : | 381 : |
| 382 : "%eax", "%ecx", "%edx", "%esi", "memory"); | 382 : "%eax", "%ecx", "%edx", "%esi", "memory"); |
| 383 } | 383 } |
| 384 | 384 |
| 385 void ff_idct_xvid_sse2_put(uint8_t *dest, int line_size, short *block) | 385 void ff_idct_xvid_sse2_put(uint8_t *dest, int line_size, short *block) |
| 386 { | 386 { |
| 387 ff_idct_xvid_sse2(block); | 387 ff_idct_xvid_sse2(block); |
| 388 put_pixels_clamped_mmx(block, dest, line_size); | 388 ff_put_pixels_clamped_mmx(block, dest, line_size); |
| 389 } | 389 } |
| 390 | 390 |
| 391 void ff_idct_xvid_sse2_add(uint8_t *dest, int line_size, short *block) | 391 void ff_idct_xvid_sse2_add(uint8_t *dest, int line_size, short *block) |
| 392 { | 392 { |
| 393 ff_idct_xvid_sse2(block); | 393 ff_idct_xvid_sse2(block); |
| 394 add_pixels_clamped_mmx(block, dest, line_size); | 394 ff_add_pixels_clamped_mmx(block, dest, line_size); |
| 395 } | 395 } |
| OLD | NEW |