| OLD | NEW |
| 1 /* | 1 /* |
| 2 * VC3/DNxHD SIMD functions | 2 * VC3/DNxHD SIMD functions |
| 3 * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot
com> | 3 * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot
com> |
| 4 * | 4 * |
| 5 * VC-3 encoder funded by the British Broadcasting Corporation | 5 * VC-3 encoder funded by the British Broadcasting Corporation |
| 6 * | 6 * |
| 7 * This file is part of FFmpeg. | 7 * This file is part of FFmpeg. |
| 8 * | 8 * |
| 9 * FFmpeg is free software; you can redistribute it and/or | 9 * FFmpeg is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "movdqa %%xmm2 , 80(%1) \n\t" | 45 "movdqa %%xmm2 , 80(%1) \n\t" |
| 46 "movdqa %%xmm1 , 96(%1) \n\t" | 46 "movdqa %%xmm1 , 96(%1) \n\t" |
| 47 "movdqa %%xmm0, 112(%1) \n\t" | 47 "movdqa %%xmm0, 112(%1) \n\t" |
| 48 : "+r" (pixels) | 48 : "+r" (pixels) |
| 49 : "r" (block), "r" ((x86_reg)line_size) | 49 : "r" (block), "r" ((x86_reg)line_size) |
| 50 ); | 50 ); |
| 51 } | 51 } |
| 52 | 52 |
| 53 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx) | 53 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx) |
| 54 { | 54 { |
| 55 if (mm_flags & FF_MM_SSE2) { | 55 if (av_get_cpu_flags() & AV_CPU_FLAG_SSE2) { |
| 56 ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2; | 56 ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2; |
| 57 } | 57 } |
| 58 } | 58 } |
| OLD | NEW |