Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: source/patched-ffmpeg-mt/libavcodec/x86/dnxhd_mmx.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/x86/cpuid.c ('k') | source/patched-ffmpeg-mt/libavcodec/x86/dsputil_h264_template_mmx.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698