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

Side by Side Diff: third_party/libjpeg_turbo/simd/jdclrss2.asm

Issue 7554002: Updates libjpeg-turbo to 1.1.90 (r677) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: '' Created 9 years, 4 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 ; jdclrss2.asm - colorspace conversion (SSE2) 2 ; jdclrss2.asm - colorspace conversion (SSE2)
3 ; 3 ;
4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB 4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 ; 5 ;
6 ; Based on 6 ; Based on
7 ; x86 SIMD extension for IJG JPEG library 7 ; x86 SIMD extension for IJG JPEG library
8 ; Copyright (C) 1999-2006, MIYASAKA Masaru. 8 ; Copyright (C) 1999-2006, MIYASAKA Masaru.
9 ; For conditions of distribution and use, see copyright notice in jsimdext.inc 9 ; For conditions of distribution and use, see copyright notice in jsimdext.inc
10 ; 10 ;
11 ; This file should be assembled with NASM (Netwide Assembler), 11 ; This file should be assembled with NASM (Netwide Assembler),
12 ; can *not* be assembled with Microsoft's MASM or any compatible 12 ; can *not* be assembled with Microsoft's MASM or any compatible
13 ; assembler (including Borland's Turbo Assembler). 13 ; assembler (including Borland's Turbo Assembler).
14 ; NASM is available from http://nasm.sourceforge.net/ or 14 ; NASM is available from http://nasm.sourceforge.net/ or
15 ; http://sourceforge.net/project/showfiles.php?group_id=6208 15 ; http://sourceforge.net/project/showfiles.php?group_id=6208
16 ; 16 ;
17 ; [TAB8] 17 ; [TAB8]
18 18
19 %include "jcolsamp.inc" 19 %include "jcolsamp.inc"
20 20
21 ; -------------------------------------------------------------------------- 21 ; --------------------------------------------------------------------------
22 %ifndef NEED_SECTION
23 %define NEED_SECTION
24 SECTION SEG_TEXT
25 BITS 32
26 %endif
27
28 ; 22 ;
29 ; Convert some rows of samples to the output colorspace. 23 ; Convert some rows of samples to the output colorspace.
30 ; 24 ;
31 ; GLOBAL(void) 25 ; GLOBAL(void)
32 ; jsimd_ycc_rgb_convert_sse2 (JDIMENSION out_width, 26 ; jsimd_ycc_rgb_convert_sse2 (JDIMENSION out_width,
33 ; JSAMPIMAGE input_buf, JDIMENSION input_row, 27 ; JSAMPIMAGE input_buf, JDIMENSION input_row,
34 ; JSAMPARRAY output_buf, int num_rows) 28 ; JSAMPARRAY output_buf, int num_rows)
35 ; 29 ;
36 30
37 %define out_width(b) (b)+8 ; JDIMENSION out_width 31 %define out_width(b) (b)+8 ; JDIMENSION out_width
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 ; pop ecx ; need not be preserved 547 ; pop ecx ; need not be preserved
554 pop ebx 548 pop ebx
555 mov esp,ebp ; esp <- aligned ebp 549 mov esp,ebp ; esp <- aligned ebp
556 pop esp ; esp <- original ebp 550 pop esp ; esp <- original ebp
557 pop ebp 551 pop ebp
558 ret 552 ret
559 553
560 ; For some reason, the OS X linker does not honor the request to align the 554 ; For some reason, the OS X linker does not honor the request to align the
561 ; segment unless we do this. 555 ; segment unless we do this.
562 align 16 556 align 16
OLDNEW
« no previous file with comments | « third_party/libjpeg_turbo/simd/jdclrmmx.asm ('k') | third_party/libjpeg_turbo/simd/jdclrss2-64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698