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

Side by Side Diff: google.patch

Issue 10386084: Update libjpeg-turbo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libjpeg_turbo/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « djpeg.c ('k') | jccolext.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Index: jdmarker.c 1 Index: jdmarker.c
2 =================================================================== 2 ===================================================================
3 --- jdmarker.c» (revision 733) 3 --- jdmarker.c» (revision 829)
4 +++ jdmarker.c (working copy) 4 +++ jdmarker.c (working copy)
5 @@ -906,7 +906,7 @@ 5 @@ -910,7 +910,7 @@
6 } 6 }
7 7
8 if (cinfo->marker->discarded_bytes != 0) { 8 if (cinfo->marker->discarded_bytes != 0) {
9 - WARNMS2(cinfo, JWRN_EXTRANEOUS_DATA, cinfo->marker->discarded_bytes, c); 9 - WARNMS2(cinfo, JWRN_EXTRANEOUS_DATA, cinfo->marker->discarded_bytes, c);
10 + TRACEMS2(cinfo, 1, JWRN_EXTRANEOUS_DATA, cinfo->marker->discarded_bytes, c) ; 10 + TRACEMS2(cinfo, 1, JWRN_EXTRANEOUS_DATA, cinfo->marker->discarded_bytes, c) ;
11 cinfo->marker->discarded_bytes = 0; 11 cinfo->marker->discarded_bytes = 0;
12 } 12 }
13 13
14 @@ -940,7 +940,144 @@ 14 @@ -944,7 +944,144 @@
15 return TRUE; 15 return TRUE;
16 } 16 }
17 17
18 +#ifdef MOTION_JPEG_SUPPORTED 18 +#ifdef MOTION_JPEG_SUPPORTED
19 19
20 +/* The default Huffman tables used by motion JPEG frames. When a motion JPEG 20 +/* The default Huffman tables used by motion JPEG frames. When a motion JPEG
21 + * frame does not have DHT tables, we should use the huffman tables suggested b y 21 + * frame does not have DHT tables, we should use the huffman tables suggested b y
22 + * the JPEG standard. Each of these tables represents a member of the JHUFF_TBL S 22 + * the JPEG standard. Each of these tables represents a member of the JHUFF_TBL S
23 + * struct so we can just copy it to the according JHUFF_TBLS member. 23 + * struct so we can just copy it to the according JHUFF_TBLS member.
24 + */ 24 + */
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 +#else 149 +#else
150 + 150 +
151 +#define mjpg_load_huff_tables(cinfo) 151 +#define mjpg_load_huff_tables(cinfo)
152 + 152 +
153 +#endif /* MOTION_JPEG_SUPPORTED */ 153 +#endif /* MOTION_JPEG_SUPPORTED */
154 + 154 +
155 + 155 +
156 /* 156 /*
157 * Read markers until SOS or EOI. 157 * Read markers until SOS or EOI.
158 * 158 *
159 @@ -1009,6 +1146,7 @@ 159 @@ -1013,6 +1150,7 @@
160 break; 160 break;
161 161
162 case M_SOS: 162 case M_SOS:
163 + mjpg_load_huff_tables(cinfo); 163 + mjpg_load_huff_tables(cinfo);
164 if (! get_sos(cinfo)) 164 if (! get_sos(cinfo))
165 return JPEG_SUSPENDED; 165 return JPEG_SUSPENDED;
166 cinfo->unread_marker = 0; /* processed the marker */ 166 cinfo->unread_marker = 0; /* processed the marker */
167 Index: jmorecfg.h 167 Index: jmorecfg.h
168 =================================================================== 168 ===================================================================
169 --- jmorecfg.h» (revision 733) 169 --- jmorecfg.h» (revision 829)
170 +++ jmorecfg.h (working copy) 170 +++ jmorecfg.h (working copy)
171 @@ -153,14 +153,18 @@ 171 @@ -153,14 +153,18 @@
172 /* INT16 must hold at least the values -32768..32767. */ 172 /* INT16 must hold at least the values -32768..32767. */
173 173
174 #ifndef XMD_H /* X11/xmd.h correctly defines INT16 */ 174 #ifndef XMD_H /* X11/xmd.h correctly defines INT16 */
175 +#ifndef _BASETSD_H_ /* basetsd.h correctly defines INT32 */ 175 +#ifndef _BASETSD_H_ /* basetsd.h correctly defines INT32 */
176 typedef short INT16; 176 typedef short INT16;
177 #endif 177 #endif
178 +#endif 178 +#endif
179 179
(...skipping 16 matching lines...) Expand all
196 #define FAR far 196 #define FAR far
197 #else 197 #else
198 #define FAR 198 #define FAR
199 #endif 199 #endif
200 +#endif 200 +#endif
201 201
202 202
203 /* 203 /*
204 Index: jpeglib.h 204 Index: jpeglib.h
205 =================================================================== 205 ===================================================================
206 --- jpeglib.h» (revision 733) 206 --- jpeglib.h» (revision 829)
207 +++ jpeglib.h (working copy) 207 +++ jpeglib.h (working copy)
208 @@ -15,6 +15,10 @@ 208 @@ -15,6 +15,10 @@
209 #ifndef JPEGLIB_H 209 #ifndef JPEGLIB_H
210 #define JPEGLIB_H 210 #define JPEGLIB_H
211 211
212 +/* Begin chromium edits */ 212 +/* Begin chromium edits */
213 +#include "jpeglibmangler.h" 213 +#include "jpeglibmangler.h"
214 +/* End chromium edits */ 214 +/* End chromium edits */
215 + 215 +
216 /* 216 /*
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 +#define jpeg_get_large chromium_jpeg_get_large 329 +#define jpeg_get_large chromium_jpeg_get_large
330 +#define jpeg_free_large chromium_jpeg_free_large 330 +#define jpeg_free_large chromium_jpeg_free_large
331 +#define jpeg_mem_available chromium_jpeg_mem_available 331 +#define jpeg_mem_available chromium_jpeg_mem_available
332 +#define jpeg_open_backing_store chromium_jpeg_open_backing_store 332 +#define jpeg_open_backing_store chromium_jpeg_open_backing_store
333 +#define jpeg_mem_init chromium_jpeg_mem_init 333 +#define jpeg_mem_init chromium_jpeg_mem_init
334 +#define jpeg_mem_term chromium_jpeg_mem_term 334 +#define jpeg_mem_term chromium_jpeg_mem_term
335 + 335 +
336 +#endif // THIRD_PARTY_LIBJPEG_TURBO_JPEGLIBMANGLER_H_ 336 +#endif // THIRD_PARTY_LIBJPEG_TURBO_JPEGLIBMANGLER_H_
337 Index: simd/jcgrass2-64.asm 337 Index: simd/jcgrass2-64.asm
338 =================================================================== 338 ===================================================================
339 --- simd/jcgrass2-64.asm» (revision 733) 339 --- simd/jcgrass2-64.asm» (revision 829)
340 +++ simd/jcgrass2-64.asm (working copy) 340 +++ simd/jcgrass2-64.asm (working copy)
341 @@ -30,7 +30,7 @@ 341 @@ -30,7 +30,7 @@
342 SECTION SEG_CONST 342 SECTION SEG_CONST
343 343
344 alignz 16 344 alignz 16
345 - global EXTN(jconst_rgb_gray_convert_sse2) 345 - global EXTN(jconst_rgb_gray_convert_sse2)
346 + global EXTN(jconst_rgb_gray_convert_sse2) PRIVATE 346 + global EXTN(jconst_rgb_gray_convert_sse2) PRIVATE
347 347
348 EXTN(jconst_rgb_gray_convert_sse2): 348 EXTN(jconst_rgb_gray_convert_sse2):
349 349
350 Index: simd/jiss2fst.asm 350 Index: simd/jiss2fst.asm
351 =================================================================== 351 ===================================================================
352 --- simd/jiss2fst.asm» (revision 733) 352 --- simd/jiss2fst.asm» (revision 829)
353 +++ simd/jiss2fst.asm (working copy) 353 +++ simd/jiss2fst.asm (working copy)
354 @@ -59,7 +59,7 @@ 354 @@ -59,7 +59,7 @@
355 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 355 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
356 356
357 alignz 16 357 alignz 16
358 - global EXTN(jconst_idct_ifast_sse2) 358 - global EXTN(jconst_idct_ifast_sse2)
359 + global EXTN(jconst_idct_ifast_sse2) PRIVATE 359 + global EXTN(jconst_idct_ifast_sse2) PRIVATE
360 360
361 EXTN(jconst_idct_ifast_sse2): 361 EXTN(jconst_idct_ifast_sse2):
362 362
363 @@ -92,7 +92,7 @@ 363 @@ -92,7 +92,7 @@
364 %define WK_NUM 2 364 %define WK_NUM 2
365 365
366 align 16 366 align 16
367 - global EXTN(jsimd_idct_ifast_sse2) 367 - global EXTN(jsimd_idct_ifast_sse2)
368 + global EXTN(jsimd_idct_ifast_sse2) PRIVATE 368 + global EXTN(jsimd_idct_ifast_sse2) PRIVATE
369 369
370 EXTN(jsimd_idct_ifast_sse2): 370 EXTN(jsimd_idct_ifast_sse2):
371 push ebp 371 push ebp
372 Index: simd/jcclrss2-64.asm
373 ===================================================================
374 --- simd/jcclrss2-64.asm (revision 829)
375 +++ simd/jcclrss2-64.asm (working copy)
376 @@ -37,7 +37,7 @@
377
378 align 16
379
380 - global EXTN(jsimd_rgb_ycc_convert_sse2)
381 + global EXTN(jsimd_rgb_ycc_convert_sse2) PRIVATE
382
383 EXTN(jsimd_rgb_ycc_convert_sse2):
384 push rbp
372 Index: simd/jiss2red-64.asm 385 Index: simd/jiss2red-64.asm
373 =================================================================== 386 ===================================================================
374 --- simd/jiss2red-64.asm» (revision 733) 387 --- simd/jiss2red-64.asm» (revision 829)
375 +++ simd/jiss2red-64.asm (working copy) 388 +++ simd/jiss2red-64.asm (working copy)
376 @@ -73,7 +73,7 @@ 389 @@ -73,7 +73,7 @@
377 SECTION SEG_CONST 390 SECTION SEG_CONST
378 391
379 alignz 16 392 alignz 16
380 - global EXTN(jconst_idct_red_sse2) 393 - global EXTN(jconst_idct_red_sse2)
381 + global EXTN(jconst_idct_red_sse2) PRIVATE 394 + global EXTN(jconst_idct_red_sse2) PRIVATE
382 395
383 EXTN(jconst_idct_red_sse2): 396 EXTN(jconst_idct_red_sse2):
384 397
385 @@ -114,7 +114,7 @@ 398 @@ -114,7 +114,7 @@
386 %define WK_NUM 2 399 %define WK_NUM 2
387 400
388 align 16 401 align 16
389 - global EXTN(jsimd_idct_4x4_sse2) 402 - global EXTN(jsimd_idct_4x4_sse2)
390 + global EXTN(jsimd_idct_4x4_sse2) PRIVATE 403 + global EXTN(jsimd_idct_4x4_sse2) PRIVATE
391 404
392 EXTN(jsimd_idct_4x4_sse2): 405 EXTN(jsimd_idct_4x4_sse2):
393 push rbp 406 push rbp
394 @@ -413,7 +413,7 @@ 407 @@ -413,7 +413,7 @@
395 ; r13 = JDIMENSION output_col 408 ; r13 = JDIMENSION output_col
396 409
397 align 16 410 align 16
398 - global EXTN(jsimd_idct_2x2_sse2) 411 - global EXTN(jsimd_idct_2x2_sse2)
399 + global EXTN(jsimd_idct_2x2_sse2) PRIVATE 412 + global EXTN(jsimd_idct_2x2_sse2) PRIVATE
400 413
401 EXTN(jsimd_idct_2x2_sse2): 414 EXTN(jsimd_idct_2x2_sse2):
402 push rbp 415 push rbp
403 Index: simd/jcclrss2-64.asm
404 ===================================================================
405 --- simd/jcclrss2-64.asm (revision 733)
406 +++ simd/jcclrss2-64.asm (working copy)
407 @@ -37,7 +37,7 @@
408
409 align 16
410
411 - global EXTN(jsimd_rgb_ycc_convert_sse2)
412 + global EXTN(jsimd_rgb_ycc_convert_sse2) PRIVATE
413
414 EXTN(jsimd_rgb_ycc_convert_sse2):
415 push rbp
416 Index: simd/ji3dnflt.asm 416 Index: simd/ji3dnflt.asm
417 =================================================================== 417 ===================================================================
418 --- simd/ji3dnflt.asm» (revision 733) 418 --- simd/ji3dnflt.asm» (revision 829)
419 +++ simd/ji3dnflt.asm (working copy) 419 +++ simd/ji3dnflt.asm (working copy)
420 @@ -27,7 +27,7 @@ 420 @@ -27,7 +27,7 @@
421 SECTION SEG_CONST 421 SECTION SEG_CONST
422 422
423 alignz 16 423 alignz 16
424 - global EXTN(jconst_idct_float_3dnow) 424 - global EXTN(jconst_idct_float_3dnow)
425 + global EXTN(jconst_idct_float_3dnow) PRIVATE 425 + global EXTN(jconst_idct_float_3dnow) PRIVATE
426 426
427 EXTN(jconst_idct_float_3dnow): 427 EXTN(jconst_idct_float_3dnow):
428 428
429 @@ -63,7 +63,7 @@ 429 @@ -63,7 +63,7 @@
430 ; FAST_FLOAT workspace[DCTSIZE2] 430 ; FAST_FLOAT workspace[DCTSIZE2]
431 431
432 align 16 432 align 16
433 - global EXTN(jsimd_idct_float_3dnow) 433 - global EXTN(jsimd_idct_float_3dnow)
434 + global EXTN(jsimd_idct_float_3dnow) PRIVATE 434 + global EXTN(jsimd_idct_float_3dnow) PRIVATE
435 435
436 EXTN(jsimd_idct_float_3dnow): 436 EXTN(jsimd_idct_float_3dnow):
437 push ebp 437 push ebp
438 Index: simd/jsimdcpu.asm 438 Index: simd/jsimdcpu.asm
439 =================================================================== 439 ===================================================================
440 --- simd/jsimdcpu.asm» (revision 733) 440 --- simd/jsimdcpu.asm» (revision 829)
441 +++ simd/jsimdcpu.asm (working copy) 441 +++ simd/jsimdcpu.asm (working copy)
442 @@ -29,7 +29,7 @@ 442 @@ -29,7 +29,7 @@
443 ; 443 ;
444 444
445 align 16 445 align 16
446 - global EXTN(jpeg_simd_cpu_support) 446 - global EXTN(jpeg_simd_cpu_support)
447 + global EXTN(jpeg_simd_cpu_support) PRIVATE 447 + global EXTN(jpeg_simd_cpu_support) PRIVATE
448 448
449 EXTN(jpeg_simd_cpu_support): 449 EXTN(jpeg_simd_cpu_support):
450 push ebx 450 push ebx
451 Index: simd/jdmerss2-64.asm
452 ===================================================================
453 --- simd/jdmerss2-64.asm (revision 829)
454 +++ simd/jdmerss2-64.asm (working copy)
455 @@ -35,7 +35,7 @@
456 SECTION SEG_CONST
457
458 alignz 16
459 - global EXTN(jconst_merged_upsample_sse2)
460 + global EXTN(jconst_merged_upsample_sse2) PRIVATE
461
462 EXTN(jconst_merged_upsample_sse2):
463
451 Index: simd/jdsammmx.asm 464 Index: simd/jdsammmx.asm
452 =================================================================== 465 ===================================================================
453 --- simd/jdsammmx.asm» (revision 733) 466 --- simd/jdsammmx.asm» (revision 829)
454 +++ simd/jdsammmx.asm (working copy) 467 +++ simd/jdsammmx.asm (working copy)
455 @@ -22,7 +22,7 @@ 468 @@ -22,7 +22,7 @@
456 SECTION SEG_CONST 469 SECTION SEG_CONST
457 470
458 alignz 16 471 alignz 16
459 - global EXTN(jconst_fancy_upsample_mmx) 472 - global EXTN(jconst_fancy_upsample_mmx)
460 + global EXTN(jconst_fancy_upsample_mmx) PRIVATE 473 + global EXTN(jconst_fancy_upsample_mmx) PRIVATE
461 474
462 EXTN(jconst_fancy_upsample_mmx): 475 EXTN(jconst_fancy_upsample_mmx):
463 476
(...skipping 26 matching lines...) Expand all
490 push ebp 503 push ebp
491 @@ -643,7 +643,7 @@ 504 @@ -643,7 +643,7 @@
492 %define output_data_ptr(b) (b)+20 ; JSAMPARRAY * output_data_ptr 505 %define output_data_ptr(b) (b)+20 ; JSAMPARRAY * output_data_ptr
493 506
494 align 16 507 align 16
495 - global EXTN(jsimd_h2v2_upsample_mmx) 508 - global EXTN(jsimd_h2v2_upsample_mmx)
496 + global EXTN(jsimd_h2v2_upsample_mmx) PRIVATE 509 + global EXTN(jsimd_h2v2_upsample_mmx) PRIVATE
497 510
498 EXTN(jsimd_h2v2_upsample_mmx): 511 EXTN(jsimd_h2v2_upsample_mmx):
499 push ebp 512 push ebp
500 Index: simd/jdmerss2-64.asm
501 ===================================================================
502 --- simd/jdmerss2-64.asm (revision 733)
503 +++ simd/jdmerss2-64.asm (working copy)
504 @@ -35,7 +35,7 @@
505 SECTION SEG_CONST
506
507 alignz 16
508 - global EXTN(jconst_merged_upsample_sse2)
509 + global EXTN(jconst_merged_upsample_sse2) PRIVATE
510
511 EXTN(jconst_merged_upsample_sse2):
512
513 Index: simd/jdmrgmmx.asm 513 Index: simd/jdmrgmmx.asm
514 =================================================================== 514 ===================================================================
515 --- simd/jdmrgmmx.asm» (revision 733) 515 --- simd/jdmrgmmx.asm» (revision 829)
516 +++ simd/jdmrgmmx.asm (working copy) 516 +++ simd/jdmrgmmx.asm (working copy)
517 @@ -40,7 +40,7 @@ 517 @@ -40,7 +40,7 @@
518 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 518 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
519 519
520 align 16 520 align 16
521 - global EXTN(jsimd_h2v1_merged_upsample_mmx) 521 - global EXTN(jsimd_h2v1_merged_upsample_mmx)
522 + global EXTN(jsimd_h2v1_merged_upsample_mmx) PRIVATE 522 + global EXTN(jsimd_h2v1_merged_upsample_mmx) PRIVATE
523 523
524 EXTN(jsimd_h2v1_merged_upsample_mmx): 524 EXTN(jsimd_h2v1_merged_upsample_mmx):
525 push ebp 525 push ebp
526 @@ -409,7 +409,7 @@ 526 @@ -409,7 +409,7 @@
527 %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf 527 %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf
528 528
529 align 16 529 align 16
530 - global EXTN(jsimd_h2v2_merged_upsample_mmx) 530 - global EXTN(jsimd_h2v2_merged_upsample_mmx)
531 + global EXTN(jsimd_h2v2_merged_upsample_mmx) PRIVATE 531 + global EXTN(jsimd_h2v2_merged_upsample_mmx) PRIVATE
532 532
533 EXTN(jsimd_h2v2_merged_upsample_mmx): 533 EXTN(jsimd_h2v2_merged_upsample_mmx):
534 push ebp 534 push ebp
535 Index: simd/jdsamss2.asm 535 Index: simd/jdsamss2.asm
536 =================================================================== 536 ===================================================================
537 --- simd/jdsamss2.asm» (revision 733) 537 --- simd/jdsamss2.asm» (revision 829)
538 +++ simd/jdsamss2.asm (working copy) 538 +++ simd/jdsamss2.asm (working copy)
539 @@ -22,7 +22,7 @@ 539 @@ -22,7 +22,7 @@
540 SECTION SEG_CONST 540 SECTION SEG_CONST
541 541
542 alignz 16 542 alignz 16
543 - global EXTN(jconst_fancy_upsample_sse2) 543 - global EXTN(jconst_fancy_upsample_sse2)
544 + global EXTN(jconst_fancy_upsample_sse2) PRIVATE 544 + global EXTN(jconst_fancy_upsample_sse2) PRIVATE
545 545
546 EXTN(jconst_fancy_upsample_sse2): 546 EXTN(jconst_fancy_upsample_sse2):
547 547
(...skipping 28 matching lines...) Expand all
576 %define output_data_ptr(b) (b)+20 ; JSAMPARRAY * output_data_ptr 576 %define output_data_ptr(b) (b)+20 ; JSAMPARRAY * output_data_ptr
577 577
578 align 16 578 align 16
579 - global EXTN(jsimd_h2v2_upsample_sse2) 579 - global EXTN(jsimd_h2v2_upsample_sse2)
580 + global EXTN(jsimd_h2v2_upsample_sse2) PRIVATE 580 + global EXTN(jsimd_h2v2_upsample_sse2) PRIVATE
581 581
582 EXTN(jsimd_h2v2_upsample_sse2): 582 EXTN(jsimd_h2v2_upsample_sse2):
583 push ebp 583 push ebp
584 Index: simd/jiss2flt-64.asm 584 Index: simd/jiss2flt-64.asm
585 =================================================================== 585 ===================================================================
586 --- simd/jiss2flt-64.asm» (revision 733) 586 --- simd/jiss2flt-64.asm» (revision 829)
587 +++ simd/jiss2flt-64.asm (working copy) 587 +++ simd/jiss2flt-64.asm (working copy)
588 @@ -38,7 +38,7 @@ 588 @@ -38,7 +38,7 @@
589 SECTION SEG_CONST 589 SECTION SEG_CONST
590 590
591 alignz 16 591 alignz 16
592 - global EXTN(jconst_idct_float_sse2) 592 - global EXTN(jconst_idct_float_sse2)
593 + global EXTN(jconst_idct_float_sse2) PRIVATE 593 + global EXTN(jconst_idct_float_sse2) PRIVATE
594 594
595 EXTN(jconst_idct_float_sse2): 595 EXTN(jconst_idct_float_sse2):
596 596
597 @@ -74,7 +74,7 @@ 597 @@ -74,7 +74,7 @@
598 ; FAST_FLOAT workspace[DCTSIZE2] 598 ; FAST_FLOAT workspace[DCTSIZE2]
599 599
600 align 16 600 align 16
601 - global EXTN(jsimd_idct_float_sse2) 601 - global EXTN(jsimd_idct_float_sse2)
602 + global EXTN(jsimd_idct_float_sse2) PRIVATE 602 + global EXTN(jsimd_idct_float_sse2) PRIVATE
603 603
604 EXTN(jsimd_idct_float_sse2): 604 EXTN(jsimd_idct_float_sse2):
605 push rbp 605 push rbp
606 Index: simd/jfss2int-64.asm 606 Index: simd/jfss2int-64.asm
607 =================================================================== 607 ===================================================================
608 --- simd/jfss2int-64.asm» (revision 733) 608 --- simd/jfss2int-64.asm» (revision 829)
609 +++ simd/jfss2int-64.asm (working copy) 609 +++ simd/jfss2int-64.asm (working copy)
610 @@ -67,7 +67,7 @@ 610 @@ -67,7 +67,7 @@
611 SECTION SEG_CONST 611 SECTION SEG_CONST
612 612
613 alignz 16 613 alignz 16
614 - global EXTN(jconst_fdct_islow_sse2) 614 - global EXTN(jconst_fdct_islow_sse2)
615 + global EXTN(jconst_fdct_islow_sse2) PRIVATE 615 + global EXTN(jconst_fdct_islow_sse2) PRIVATE
616 616
617 EXTN(jconst_fdct_islow_sse2): 617 EXTN(jconst_fdct_islow_sse2):
618 618
619 @@ -101,7 +101,7 @@ 619 @@ -101,7 +101,7 @@
620 %define WK_NUM 6 620 %define WK_NUM 6
621 621
622 align 16 622 align 16
623 - global EXTN(jsimd_fdct_islow_sse2) 623 - global EXTN(jsimd_fdct_islow_sse2)
624 + global EXTN(jsimd_fdct_islow_sse2) PRIVATE 624 + global EXTN(jsimd_fdct_islow_sse2) PRIVATE
625 625
626 EXTN(jsimd_fdct_islow_sse2): 626 EXTN(jsimd_fdct_islow_sse2):
627 push rbp 627 push rbp
628 Index: simd/jcqnts2f.asm 628 Index: simd/jcqnts2f.asm
629 =================================================================== 629 ===================================================================
630 --- simd/jcqnts2f.asm» (revision 733) 630 --- simd/jcqnts2f.asm» (revision 829)
631 +++ simd/jcqnts2f.asm (working copy) 631 +++ simd/jcqnts2f.asm (working copy)
632 @@ -35,7 +35,7 @@ 632 @@ -35,7 +35,7 @@
633 %define workspace ebp+16 ; FAST_FLOAT * workspace 633 %define workspace ebp+16 ; FAST_FLOAT * workspace
634 634
635 align 16 635 align 16
636 - global EXTN(jsimd_convsamp_float_sse2) 636 - global EXTN(jsimd_convsamp_float_sse2)
637 + global EXTN(jsimd_convsamp_float_sse2) PRIVATE 637 + global EXTN(jsimd_convsamp_float_sse2) PRIVATE
638 638
639 EXTN(jsimd_convsamp_float_sse2): 639 EXTN(jsimd_convsamp_float_sse2):
640 push ebp 640 push ebp
641 @@ -115,7 +115,7 @@ 641 @@ -115,7 +115,7 @@
642 %define workspace ebp+16 ; FAST_FLOAT * workspace 642 %define workspace ebp+16 ; FAST_FLOAT * workspace
643 643
644 align 16 644 align 16
645 - global EXTN(jsimd_quantize_float_sse2) 645 - global EXTN(jsimd_quantize_float_sse2)
646 + global EXTN(jsimd_quantize_float_sse2) PRIVATE 646 + global EXTN(jsimd_quantize_float_sse2) PRIVATE
647 647
648 EXTN(jsimd_quantize_float_sse2): 648 EXTN(jsimd_quantize_float_sse2):
649 push ebp 649 push ebp
650 Index: simd/jdmrgss2.asm 650 Index: simd/jdmrgss2.asm
651 =================================================================== 651 ===================================================================
652 --- simd/jdmrgss2.asm» (revision 733) 652 --- simd/jdmrgss2.asm» (revision 829)
653 +++ simd/jdmrgss2.asm (working copy) 653 +++ simd/jdmrgss2.asm (working copy)
654 @@ -40,7 +40,7 @@ 654 @@ -40,7 +40,7 @@
655 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 655 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
656 656
657 align 16 657 align 16
658 - global EXTN(jsimd_h2v1_merged_upsample_sse2) 658 - global EXTN(jsimd_h2v1_merged_upsample_sse2)
659 + global EXTN(jsimd_h2v1_merged_upsample_sse2) PRIVATE 659 + global EXTN(jsimd_h2v1_merged_upsample_sse2) PRIVATE
660 660
661 EXTN(jsimd_h2v1_merged_upsample_sse2): 661 EXTN(jsimd_h2v1_merged_upsample_sse2):
662 push ebp 662 push ebp
663 @@ -560,7 +560,7 @@ 663 @@ -560,7 +560,7 @@
664 %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf 664 %define output_buf(b) (b)+20 ; JSAMPARRAY output_buf
665 665
666 align 16 666 align 16
667 - global EXTN(jsimd_h2v2_merged_upsample_sse2) 667 - global EXTN(jsimd_h2v2_merged_upsample_sse2)
668 + global EXTN(jsimd_h2v2_merged_upsample_sse2) PRIVATE 668 + global EXTN(jsimd_h2v2_merged_upsample_sse2) PRIVATE
669 669
670 EXTN(jsimd_h2v2_merged_upsample_sse2): 670 EXTN(jsimd_h2v2_merged_upsample_sse2):
671 push ebp 671 push ebp
672 Index: simd/jfmmxint.asm 672 Index: simd/jfmmxint.asm
673 =================================================================== 673 ===================================================================
674 --- simd/jfmmxint.asm» (revision 733) 674 --- simd/jfmmxint.asm» (revision 829)
675 +++ simd/jfmmxint.asm (working copy) 675 +++ simd/jfmmxint.asm (working copy)
676 @@ -66,7 +66,7 @@ 676 @@ -66,7 +66,7 @@
677 SECTION SEG_CONST 677 SECTION SEG_CONST
678 678
679 alignz 16 679 alignz 16
680 - global EXTN(jconst_fdct_islow_mmx) 680 - global EXTN(jconst_fdct_islow_mmx)
681 + global EXTN(jconst_fdct_islow_mmx) PRIVATE 681 + global EXTN(jconst_fdct_islow_mmx) PRIVATE
682 682
683 EXTN(jconst_fdct_islow_mmx): 683 EXTN(jconst_fdct_islow_mmx):
684 684
685 @@ -101,7 +101,7 @@ 685 @@ -101,7 +101,7 @@
686 %define WK_NUM 2 686 %define WK_NUM 2
687 687
688 align 16 688 align 16
689 - global EXTN(jsimd_fdct_islow_mmx) 689 - global EXTN(jsimd_fdct_islow_mmx)
690 + global EXTN(jsimd_fdct_islow_mmx) PRIVATE 690 + global EXTN(jsimd_fdct_islow_mmx) PRIVATE
691 691
692 EXTN(jsimd_fdct_islow_mmx): 692 EXTN(jsimd_fdct_islow_mmx):
693 push ebp 693 push ebp
694 Index: simd/jcgryss2-64.asm 694 Index: simd/jcgryss2-64.asm
695 =================================================================== 695 ===================================================================
696 --- simd/jcgryss2-64.asm» (revision 733) 696 --- simd/jcgryss2-64.asm» (revision 829)
697 +++ simd/jcgryss2-64.asm (working copy) 697 +++ simd/jcgryss2-64.asm (working copy)
698 @@ -37,7 +37,7 @@ 698 @@ -37,7 +37,7 @@
699 699
700 align 16 700 align 16
701 701
702 - global EXTN(jsimd_rgb_gray_convert_sse2) 702 - global EXTN(jsimd_rgb_gray_convert_sse2)
703 + global EXTN(jsimd_rgb_gray_convert_sse2) PRIVATE 703 + global EXTN(jsimd_rgb_gray_convert_sse2) PRIVATE
704 704
705 EXTN(jsimd_rgb_gray_convert_sse2): 705 EXTN(jsimd_rgb_gray_convert_sse2):
706 push rbp 706 push rbp
707 Index: simd/jcqnts2i.asm 707 Index: simd/jcqnts2i.asm
708 =================================================================== 708 ===================================================================
709 --- simd/jcqnts2i.asm» (revision 733) 709 --- simd/jcqnts2i.asm» (revision 829)
710 +++ simd/jcqnts2i.asm (working copy) 710 +++ simd/jcqnts2i.asm (working copy)
711 @@ -35,7 +35,7 @@ 711 @@ -35,7 +35,7 @@
712 %define workspace ebp+16 ; DCTELEM * workspace 712 %define workspace ebp+16 ; DCTELEM * workspace
713 713
714 align 16 714 align 16
715 - global EXTN(jsimd_convsamp_sse2) 715 - global EXTN(jsimd_convsamp_sse2)
716 + global EXTN(jsimd_convsamp_sse2) PRIVATE 716 + global EXTN(jsimd_convsamp_sse2) PRIVATE
717 717
718 EXTN(jsimd_convsamp_sse2): 718 EXTN(jsimd_convsamp_sse2):
719 push ebp 719 push ebp
720 @@ -117,7 +117,7 @@ 720 @@ -117,7 +117,7 @@
721 %define workspace ebp+16 ; DCTELEM * workspace 721 %define workspace ebp+16 ; DCTELEM * workspace
722 722
723 align 16 723 align 16
724 - global EXTN(jsimd_quantize_sse2) 724 - global EXTN(jsimd_quantize_sse2)
725 + global EXTN(jsimd_quantize_sse2) PRIVATE 725 + global EXTN(jsimd_quantize_sse2) PRIVATE
726 726
727 EXTN(jsimd_quantize_sse2): 727 EXTN(jsimd_quantize_sse2):
728 push ebp 728 push ebp
729 Index: simd/jiss2fst-64.asm 729 Index: simd/jiss2fst-64.asm
730 =================================================================== 730 ===================================================================
731 --- simd/jiss2fst-64.asm» (revision 733) 731 --- simd/jiss2fst-64.asm» (revision 829)
732 +++ simd/jiss2fst-64.asm (working copy) 732 +++ simd/jiss2fst-64.asm (working copy)
733 @@ -60,7 +60,7 @@ 733 @@ -60,7 +60,7 @@
734 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 734 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
735 735
736 alignz 16 736 alignz 16
737 - global EXTN(jconst_idct_ifast_sse2) 737 - global EXTN(jconst_idct_ifast_sse2)
738 + global EXTN(jconst_idct_ifast_sse2) PRIVATE 738 + global EXTN(jconst_idct_ifast_sse2) PRIVATE
739 739
740 EXTN(jconst_idct_ifast_sse2): 740 EXTN(jconst_idct_ifast_sse2):
741 741
742 @@ -93,7 +93,7 @@ 742 @@ -93,7 +93,7 @@
743 %define WK_NUM 2 743 %define WK_NUM 2
744 744
745 align 16 745 align 16
746 - global EXTN(jsimd_idct_ifast_sse2) 746 - global EXTN(jsimd_idct_ifast_sse2)
747 + global EXTN(jsimd_idct_ifast_sse2) PRIVATE 747 + global EXTN(jsimd_idct_ifast_sse2) PRIVATE
748 748
749 EXTN(jsimd_idct_ifast_sse2): 749 EXTN(jsimd_idct_ifast_sse2):
750 push rbp 750 push rbp
751 Index: simd/jiss2flt.asm 751 Index: simd/jiss2flt.asm
752 =================================================================== 752 ===================================================================
753 --- simd/jiss2flt.asm» (revision 733) 753 --- simd/jiss2flt.asm» (revision 829)
754 +++ simd/jiss2flt.asm (working copy) 754 +++ simd/jiss2flt.asm (working copy)
755 @@ -37,7 +37,7 @@ 755 @@ -37,7 +37,7 @@
756 SECTION SEG_CONST 756 SECTION SEG_CONST
757 757
758 alignz 16 758 alignz 16
759 - global EXTN(jconst_idct_float_sse2) 759 - global EXTN(jconst_idct_float_sse2)
760 + global EXTN(jconst_idct_float_sse2) PRIVATE 760 + global EXTN(jconst_idct_float_sse2) PRIVATE
761 761
762 EXTN(jconst_idct_float_sse2): 762 EXTN(jconst_idct_float_sse2):
763 763
764 @@ -73,7 +73,7 @@ 764 @@ -73,7 +73,7 @@
765 ; FAST_FLOAT workspace[DCTSIZE2] 765 ; FAST_FLOAT workspace[DCTSIZE2]
766 766
767 align 16 767 align 16
768 - global EXTN(jsimd_idct_float_sse2) 768 - global EXTN(jsimd_idct_float_sse2)
769 + global EXTN(jsimd_idct_float_sse2) PRIVATE 769 + global EXTN(jsimd_idct_float_sse2) PRIVATE
770 770
771 EXTN(jsimd_idct_float_sse2): 771 EXTN(jsimd_idct_float_sse2):
772 push ebp 772 push ebp
773 Index: simd/jiss2int.asm 773 Index: simd/jiss2int.asm
774 =================================================================== 774 ===================================================================
775 --- simd/jiss2int.asm» (revision 733) 775 --- simd/jiss2int.asm» (revision 829)
776 +++ simd/jiss2int.asm (working copy) 776 +++ simd/jiss2int.asm (working copy)
777 @@ -66,7 +66,7 @@ 777 @@ -66,7 +66,7 @@
778 SECTION SEG_CONST 778 SECTION SEG_CONST
779 779
780 alignz 16 780 alignz 16
781 - global EXTN(jconst_idct_islow_sse2) 781 - global EXTN(jconst_idct_islow_sse2)
782 + global EXTN(jconst_idct_islow_sse2) PRIVATE 782 + global EXTN(jconst_idct_islow_sse2) PRIVATE
783 783
784 EXTN(jconst_idct_islow_sse2): 784 EXTN(jconst_idct_islow_sse2):
785 785
786 @@ -105,7 +105,7 @@ 786 @@ -105,7 +105,7 @@
787 %define WK_NUM 12 787 %define WK_NUM 12
788 788
789 align 16 789 align 16
790 - global EXTN(jsimd_idct_islow_sse2) 790 - global EXTN(jsimd_idct_islow_sse2)
791 + global EXTN(jsimd_idct_islow_sse2) PRIVATE 791 + global EXTN(jsimd_idct_islow_sse2) PRIVATE
792 792
793 EXTN(jsimd_idct_islow_sse2): 793 EXTN(jsimd_idct_islow_sse2):
794 push ebp 794 push ebp
795 Index: simd/jfsseflt-64.asm 795 Index: simd/jfsseflt-64.asm
796 =================================================================== 796 ===================================================================
797 --- simd/jfsseflt-64.asm» (revision 733) 797 --- simd/jfsseflt-64.asm» (revision 829)
798 +++ simd/jfsseflt-64.asm (working copy) 798 +++ simd/jfsseflt-64.asm (working copy)
799 @@ -38,7 +38,7 @@ 799 @@ -38,7 +38,7 @@
800 SECTION SEG_CONST 800 SECTION SEG_CONST
801 801
802 alignz 16 802 alignz 16
803 - global EXTN(jconst_fdct_float_sse) 803 - global EXTN(jconst_fdct_float_sse)
804 + global EXTN(jconst_fdct_float_sse) PRIVATE 804 + global EXTN(jconst_fdct_float_sse) PRIVATE
805 805
806 EXTN(jconst_fdct_float_sse): 806 EXTN(jconst_fdct_float_sse):
807 807
808 @@ -65,7 +65,7 @@ 808 @@ -65,7 +65,7 @@
809 %define WK_NUM 2 809 %define WK_NUM 2
810 810
811 align 16 811 align 16
812 - global EXTN(jsimd_fdct_float_sse) 812 - global EXTN(jsimd_fdct_float_sse)
813 + global EXTN(jsimd_fdct_float_sse) PRIVATE 813 + global EXTN(jsimd_fdct_float_sse) PRIVATE
814 814
815 EXTN(jsimd_fdct_float_sse): 815 EXTN(jsimd_fdct_float_sse):
816 push rbp 816 push rbp
817 Index: simd/jccolss2-64.asm 817 Index: simd/jccolss2-64.asm
818 =================================================================== 818 ===================================================================
819 --- simd/jccolss2-64.asm» (revision 733) 819 --- simd/jccolss2-64.asm» (revision 829)
820 +++ simd/jccolss2-64.asm (working copy) 820 +++ simd/jccolss2-64.asm (working copy)
821 @@ -34,7 +34,7 @@ 821 @@ -34,7 +34,7 @@
822 SECTION SEG_CONST 822 SECTION SEG_CONST
823 823
824 alignz 16 824 alignz 16
825 - global EXTN(jconst_rgb_ycc_convert_sse2) 825 - global EXTN(jconst_rgb_ycc_convert_sse2)
826 + global EXTN(jconst_rgb_ycc_convert_sse2) PRIVATE 826 + global EXTN(jconst_rgb_ycc_convert_sse2) PRIVATE
827 827
828 EXTN(jconst_rgb_ycc_convert_sse2): 828 EXTN(jconst_rgb_ycc_convert_sse2):
829 829
830 Index: simd/jcsamss2-64.asm 830 Index: simd/jcsamss2-64.asm
831 =================================================================== 831 ===================================================================
832 --- simd/jcsamss2-64.asm» (revision 733) 832 --- simd/jcsamss2-64.asm» (revision 829)
833 +++ simd/jcsamss2-64.asm (working copy) 833 +++ simd/jcsamss2-64.asm (working copy)
834 @@ -41,7 +41,7 @@ 834 @@ -41,7 +41,7 @@
835 ; r15 = JSAMPARRAY output_data 835 ; r15 = JSAMPARRAY output_data
836 836
837 align 16 837 align 16
838 - global EXTN(jsimd_h2v1_downsample_sse2) 838 - global EXTN(jsimd_h2v1_downsample_sse2)
839 + global EXTN(jsimd_h2v1_downsample_sse2) PRIVATE 839 + global EXTN(jsimd_h2v1_downsample_sse2) PRIVATE
840 840
841 EXTN(jsimd_h2v1_downsample_sse2): 841 EXTN(jsimd_h2v1_downsample_sse2):
842 push rbp 842 push rbp
843 @@ -185,7 +185,7 @@ 843 @@ -185,7 +185,7 @@
844 ; r15 = JSAMPARRAY output_data 844 ; r15 = JSAMPARRAY output_data
845 845
846 align 16 846 align 16
847 - global EXTN(jsimd_h2v2_downsample_sse2) 847 - global EXTN(jsimd_h2v2_downsample_sse2)
848 + global EXTN(jsimd_h2v2_downsample_sse2) PRIVATE 848 + global EXTN(jsimd_h2v2_downsample_sse2) PRIVATE
849 849
850 EXTN(jsimd_h2v2_downsample_sse2): 850 EXTN(jsimd_h2v2_downsample_sse2):
851 push rbp 851 push rbp
852 Index: simd/jdclrss2-64.asm 852 Index: simd/jdclrss2-64.asm
853 =================================================================== 853 ===================================================================
854 --- simd/jdclrss2-64.asm» (revision 733) 854 --- simd/jdclrss2-64.asm» (revision 829)
855 +++ simd/jdclrss2-64.asm (working copy) 855 +++ simd/jdclrss2-64.asm (working copy)
856 @@ -39,7 +39,7 @@ 856 @@ -39,7 +39,7 @@
857 %define WK_NUM 2 857 %define WK_NUM 2
858 858
859 align 16 859 align 16
860 - global EXTN(jsimd_ycc_rgb_convert_sse2) 860 - global EXTN(jsimd_ycc_rgb_convert_sse2)
861 + global EXTN(jsimd_ycc_rgb_convert_sse2) PRIVATE 861 + global EXTN(jsimd_ycc_rgb_convert_sse2) PRIVATE
862 862
863 EXTN(jsimd_ycc_rgb_convert_sse2): 863 EXTN(jsimd_ycc_rgb_convert_sse2):
864 push rbp 864 push rbp
865 Index: simd/jdcolmmx.asm 865 Index: simd/jdcolmmx.asm
866 =================================================================== 866 ===================================================================
867 --- simd/jdcolmmx.asm» (revision 733) 867 --- simd/jdcolmmx.asm» (revision 829)
868 +++ simd/jdcolmmx.asm (working copy) 868 +++ simd/jdcolmmx.asm (working copy)
869 @@ -35,7 +35,7 @@ 869 @@ -35,7 +35,7 @@
870 SECTION SEG_CONST 870 SECTION SEG_CONST
871 871
872 alignz 16 872 alignz 16
873 - global EXTN(jconst_ycc_rgb_convert_mmx) 873 - global EXTN(jconst_ycc_rgb_convert_mmx)
874 + global EXTN(jconst_ycc_rgb_convert_mmx) PRIVATE 874 + global EXTN(jconst_ycc_rgb_convert_mmx) PRIVATE
875 875
876 EXTN(jconst_ycc_rgb_convert_mmx): 876 EXTN(jconst_ycc_rgb_convert_mmx):
877 877
878 Index: simd/jcclrmmx.asm 878 Index: simd/jcclrmmx.asm
879 =================================================================== 879 ===================================================================
880 --- simd/jcclrmmx.asm» (revision 733) 880 --- simd/jcclrmmx.asm» (revision 829)
881 +++ simd/jcclrmmx.asm (working copy) 881 +++ simd/jcclrmmx.asm (working copy)
882 @@ -40,7 +40,7 @@ 882 @@ -40,7 +40,7 @@
883 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 883 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
884 884
885 align 16 885 align 16
886 - global EXTN(jsimd_rgb_ycc_convert_mmx) 886 - global EXTN(jsimd_rgb_ycc_convert_mmx)
887 + global EXTN(jsimd_rgb_ycc_convert_mmx) PRIVATE 887 + global EXTN(jsimd_rgb_ycc_convert_mmx) PRIVATE
888 888
889 EXTN(jsimd_rgb_ycc_convert_mmx): 889 EXTN(jsimd_rgb_ycc_convert_mmx):
890 push ebp 890 push ebp
891 Index: simd/jfsseflt.asm 891 Index: simd/jfsseflt.asm
892 =================================================================== 892 ===================================================================
893 --- simd/jfsseflt.asm» (revision 733) 893 --- simd/jfsseflt.asm» (revision 829)
894 +++ simd/jfsseflt.asm (working copy) 894 +++ simd/jfsseflt.asm (working copy)
895 @@ -37,7 +37,7 @@ 895 @@ -37,7 +37,7 @@
896 SECTION SEG_CONST 896 SECTION SEG_CONST
897 897
898 alignz 16 898 alignz 16
899 - global EXTN(jconst_fdct_float_sse) 899 - global EXTN(jconst_fdct_float_sse)
900 + global EXTN(jconst_fdct_float_sse) PRIVATE 900 + global EXTN(jconst_fdct_float_sse) PRIVATE
901 901
902 EXTN(jconst_fdct_float_sse): 902 EXTN(jconst_fdct_float_sse):
903 903
904 @@ -65,7 +65,7 @@ 904 @@ -65,7 +65,7 @@
905 %define WK_NUM 2 905 %define WK_NUM 2
906 906
907 align 16 907 align 16
908 - global EXTN(jsimd_fdct_float_sse) 908 - global EXTN(jsimd_fdct_float_sse)
909 + global EXTN(jsimd_fdct_float_sse) PRIVATE 909 + global EXTN(jsimd_fdct_float_sse) PRIVATE
910 910
911 EXTN(jsimd_fdct_float_sse): 911 EXTN(jsimd_fdct_float_sse):
912 push ebp 912 push ebp
913 Index: simd/jdmrgss2-64.asm 913 Index: simd/jdmrgss2-64.asm
914 =================================================================== 914 ===================================================================
915 --- simd/jdmrgss2-64.asm» (revision 733) 915 --- simd/jdmrgss2-64.asm» (revision 829)
916 +++ simd/jdmrgss2-64.asm (working copy) 916 +++ simd/jdmrgss2-64.asm (working copy)
917 @@ -39,7 +39,7 @@ 917 @@ -39,7 +39,7 @@
918 %define WK_NUM 3 918 %define WK_NUM 3
919 919
920 align 16 920 align 16
921 - global EXTN(jsimd_h2v1_merged_upsample_sse2) 921 - global EXTN(jsimd_h2v1_merged_upsample_sse2)
922 + global EXTN(jsimd_h2v1_merged_upsample_sse2) PRIVATE 922 + global EXTN(jsimd_h2v1_merged_upsample_sse2) PRIVATE
923 923
924 EXTN(jsimd_h2v1_merged_upsample_sse2): 924 EXTN(jsimd_h2v1_merged_upsample_sse2):
925 push rbp 925 push rbp
926 @@ -543,7 +543,7 @@ 926 @@ -543,7 +543,7 @@
927 ; r13 = JSAMPARRAY output_buf 927 ; r13 = JSAMPARRAY output_buf
928 928
929 align 16 929 align 16
930 - global EXTN(jsimd_h2v2_merged_upsample_sse2) 930 - global EXTN(jsimd_h2v2_merged_upsample_sse2)
931 + global EXTN(jsimd_h2v2_merged_upsample_sse2) PRIVATE 931 + global EXTN(jsimd_h2v2_merged_upsample_sse2) PRIVATE
932 932
933 EXTN(jsimd_h2v2_merged_upsample_sse2): 933 EXTN(jsimd_h2v2_merged_upsample_sse2):
934 push rbp 934 push rbp
935 Index: simd/jdcolss2.asm
936 ===================================================================
937 --- simd/jdcolss2.asm (revision 829)
938 +++ simd/jdcolss2.asm (working copy)
939 @@ -35,7 +35,7 @@
940 SECTION SEG_CONST
941
942 alignz 16
943 - global EXTN(jconst_ycc_rgb_convert_sse2)
944 + global EXTN(jconst_ycc_rgb_convert_sse2) PRIVATE
945
946 EXTN(jconst_ycc_rgb_convert_sse2):
947
935 Index: simd/jdmermmx.asm 948 Index: simd/jdmermmx.asm
936 =================================================================== 949 ===================================================================
937 --- simd/jdmermmx.asm» (revision 733) 950 --- simd/jdmermmx.asm» (revision 829)
938 +++ simd/jdmermmx.asm (working copy) 951 +++ simd/jdmermmx.asm (working copy)
939 @@ -35,7 +35,7 @@ 952 @@ -35,7 +35,7 @@
940 SECTION SEG_CONST 953 SECTION SEG_CONST
941 954
942 alignz 16 955 alignz 16
943 - global EXTN(jconst_merged_upsample_mmx) 956 - global EXTN(jconst_merged_upsample_mmx)
944 + global EXTN(jconst_merged_upsample_mmx) PRIVATE 957 + global EXTN(jconst_merged_upsample_mmx) PRIVATE
945 958
946 EXTN(jconst_merged_upsample_mmx): 959 EXTN(jconst_merged_upsample_mmx):
947 960
948 Index: simd/jdcolss2.asm 961 Index: simd/jcclrss2.asm
949 =================================================================== 962 ===================================================================
950 --- simd/jdcolss2.asm» (revision 733) 963 --- simd/jcclrss2.asm» (revision 829)
951 +++ simd/jdcolss2.asm» (working copy) 964 +++ simd/jcclrss2.asm» (working copy)
952 @@ -35,7 +35,7 @@ 965 @@ -38,7 +38,7 @@
953 » SECTION»SEG_CONST
954 966
955 » alignz» 16 967 » align» 16
956 -» global» EXTN(jconst_ycc_rgb_convert_sse2)
957 +» global» EXTN(jconst_ycc_rgb_convert_sse2) PRIVATE
958 968
959 EXTN(jconst_ycc_rgb_convert_sse2): 969 -» global» EXTN(jsimd_rgb_ycc_convert_sse2)
970 +» global» EXTN(jsimd_rgb_ycc_convert_sse2) PRIVATE
960 971
972 EXTN(jsimd_rgb_ycc_convert_sse2):
973 push ebp
961 Index: simd/jiss2red.asm 974 Index: simd/jiss2red.asm
962 =================================================================== 975 ===================================================================
963 --- simd/jiss2red.asm» (revision 733) 976 --- simd/jiss2red.asm» (revision 829)
964 +++ simd/jiss2red.asm (working copy) 977 +++ simd/jiss2red.asm (working copy)
965 @@ -72,7 +72,7 @@ 978 @@ -72,7 +72,7 @@
966 SECTION SEG_CONST 979 SECTION SEG_CONST
967 980
968 alignz 16 981 alignz 16
969 - global EXTN(jconst_idct_red_sse2) 982 - global EXTN(jconst_idct_red_sse2)
970 + global EXTN(jconst_idct_red_sse2) PRIVATE 983 + global EXTN(jconst_idct_red_sse2) PRIVATE
971 984
972 EXTN(jconst_idct_red_sse2): 985 EXTN(jconst_idct_red_sse2):
973 986
974 @@ -113,7 +113,7 @@ 987 @@ -113,7 +113,7 @@
975 %define WK_NUM 2 988 %define WK_NUM 2
976 989
977 align 16 990 align 16
978 - global EXTN(jsimd_idct_4x4_sse2) 991 - global EXTN(jsimd_idct_4x4_sse2)
979 + global EXTN(jsimd_idct_4x4_sse2) PRIVATE 992 + global EXTN(jsimd_idct_4x4_sse2) PRIVATE
980 993
981 EXTN(jsimd_idct_4x4_sse2): 994 EXTN(jsimd_idct_4x4_sse2):
982 push ebp 995 push ebp
983 @@ -424,7 +424,7 @@ 996 @@ -424,7 +424,7 @@
984 %define output_col(b) (b)+20 ; JDIMENSION output_col 997 %define output_col(b) (b)+20 ; JDIMENSION output_col
985 998
986 align 16 999 align 16
987 - global EXTN(jsimd_idct_2x2_sse2) 1000 - global EXTN(jsimd_idct_2x2_sse2)
988 + global EXTN(jsimd_idct_2x2_sse2) PRIVATE 1001 + global EXTN(jsimd_idct_2x2_sse2) PRIVATE
989 1002
990 EXTN(jsimd_idct_2x2_sse2): 1003 EXTN(jsimd_idct_2x2_sse2):
991 push ebp 1004 push ebp
992 Index: simd/jcclrss2.asm
993 ===================================================================
994 --- simd/jcclrss2.asm (revision 733)
995 +++ simd/jcclrss2.asm (working copy)
996 @@ -38,7 +38,7 @@
997
998 align 16
999
1000 - global EXTN(jsimd_rgb_ycc_convert_sse2)
1001 + global EXTN(jsimd_rgb_ycc_convert_sse2) PRIVATE
1002
1003 EXTN(jsimd_rgb_ycc_convert_sse2):
1004 push ebp
1005 Index: simd/jdmerss2.asm 1005 Index: simd/jdmerss2.asm
1006 =================================================================== 1006 ===================================================================
1007 --- simd/jdmerss2.asm» (revision 733) 1007 --- simd/jdmerss2.asm» (revision 829)
1008 +++ simd/jdmerss2.asm (working copy) 1008 +++ simd/jdmerss2.asm (working copy)
1009 @@ -35,7 +35,7 @@ 1009 @@ -35,7 +35,7 @@
1010 SECTION SEG_CONST 1010 SECTION SEG_CONST
1011 1011
1012 alignz 16 1012 alignz 16
1013 - global EXTN(jconst_merged_upsample_sse2) 1013 - global EXTN(jconst_merged_upsample_sse2)
1014 + global EXTN(jconst_merged_upsample_sse2) PRIVATE 1014 + global EXTN(jconst_merged_upsample_sse2) PRIVATE
1015 1015
1016 EXTN(jconst_merged_upsample_sse2): 1016 EXTN(jconst_merged_upsample_sse2):
1017 1017
1018 Index: simd/jfss2fst-64.asm 1018 Index: simd/jfss2fst-64.asm
1019 =================================================================== 1019 ===================================================================
1020 --- simd/jfss2fst-64.asm» (revision 733) 1020 --- simd/jfss2fst-64.asm» (revision 829)
1021 +++ simd/jfss2fst-64.asm (working copy) 1021 +++ simd/jfss2fst-64.asm (working copy)
1022 @@ -53,7 +53,7 @@ 1022 @@ -53,7 +53,7 @@
1023 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 1023 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
1024 1024
1025 alignz 16 1025 alignz 16
1026 - global EXTN(jconst_fdct_ifast_sse2) 1026 - global EXTN(jconst_fdct_ifast_sse2)
1027 + global EXTN(jconst_fdct_ifast_sse2) PRIVATE 1027 + global EXTN(jconst_fdct_ifast_sse2) PRIVATE
1028 1028
1029 EXTN(jconst_fdct_ifast_sse2): 1029 EXTN(jconst_fdct_ifast_sse2):
1030 1030
1031 @@ -80,7 +80,7 @@ 1031 @@ -80,7 +80,7 @@
1032 %define WK_NUM 2 1032 %define WK_NUM 2
1033 1033
1034 align 16 1034 align 16
1035 - global EXTN(jsimd_fdct_ifast_sse2) 1035 - global EXTN(jsimd_fdct_ifast_sse2)
1036 + global EXTN(jsimd_fdct_ifast_sse2) PRIVATE 1036 + global EXTN(jsimd_fdct_ifast_sse2) PRIVATE
1037 1037
1038 EXTN(jsimd_fdct_ifast_sse2): 1038 EXTN(jsimd_fdct_ifast_sse2):
1039 push rbp 1039 push rbp
1040 Index: simd/jcqntmmx.asm
1041 ===================================================================
1042 --- simd/jcqntmmx.asm (revision 829)
1043 +++ simd/jcqntmmx.asm (working copy)
1044 @@ -35,7 +35,7 @@
1045 %define workspace ebp+16 ; DCTELEM * workspace
1046
1047 align 16
1048 - global EXTN(jsimd_convsamp_mmx)
1049 + global EXTN(jsimd_convsamp_mmx) PRIVATE
1050
1051 EXTN(jsimd_convsamp_mmx):
1052 push ebp
1053 @@ -140,7 +140,7 @@
1054 %define workspace ebp+16 ; DCTELEM * workspace
1055
1056 align 16
1057 - global EXTN(jsimd_quantize_mmx)
1058 + global EXTN(jsimd_quantize_mmx) PRIVATE
1059
1060 EXTN(jsimd_quantize_mmx):
1061 push ebp
1040 Index: simd/jimmxfst.asm 1062 Index: simd/jimmxfst.asm
1041 =================================================================== 1063 ===================================================================
1042 --- simd/jimmxfst.asm» (revision 733) 1064 --- simd/jimmxfst.asm» (revision 829)
1043 +++ simd/jimmxfst.asm (working copy) 1065 +++ simd/jimmxfst.asm (working copy)
1044 @@ -59,7 +59,7 @@ 1066 @@ -59,7 +59,7 @@
1045 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 1067 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
1046 1068
1047 alignz 16 1069 alignz 16
1048 - global EXTN(jconst_idct_ifast_mmx) 1070 - global EXTN(jconst_idct_ifast_mmx)
1049 + global EXTN(jconst_idct_ifast_mmx) PRIVATE 1071 + global EXTN(jconst_idct_ifast_mmx) PRIVATE
1050 1072
1051 EXTN(jconst_idct_ifast_mmx): 1073 EXTN(jconst_idct_ifast_mmx):
1052 1074
1053 @@ -94,7 +94,7 @@ 1075 @@ -94,7 +94,7 @@
1054 ; JCOEF workspace[DCTSIZE2] 1076 ; JCOEF workspace[DCTSIZE2]
1055 1077
1056 align 16 1078 align 16
1057 - global EXTN(jsimd_idct_ifast_mmx) 1079 - global EXTN(jsimd_idct_ifast_mmx)
1058 + global EXTN(jsimd_idct_ifast_mmx) PRIVATE 1080 + global EXTN(jsimd_idct_ifast_mmx) PRIVATE
1059 1081
1060 EXTN(jsimd_idct_ifast_mmx): 1082 EXTN(jsimd_idct_ifast_mmx):
1061 push ebp 1083 push ebp
1062 Index: simd/jcqntmmx.asm
1063 ===================================================================
1064 --- simd/jcqntmmx.asm (revision 733)
1065 +++ simd/jcqntmmx.asm (working copy)
1066 @@ -35,7 +35,7 @@
1067 %define workspace ebp+16 ; DCTELEM * workspace
1068
1069 align 16
1070 - global EXTN(jsimd_convsamp_mmx)
1071 + global EXTN(jsimd_convsamp_mmx) PRIVATE
1072
1073 EXTN(jsimd_convsamp_mmx):
1074 push ebp
1075 @@ -140,7 +140,7 @@
1076 %define workspace ebp+16 ; DCTELEM * workspace
1077
1078 align 16
1079 - global EXTN(jsimd_quantize_mmx)
1080 + global EXTN(jsimd_quantize_mmx) PRIVATE
1081
1082 EXTN(jsimd_quantize_mmx):
1083 push ebp
1084 Index: simd/jfss2fst.asm 1084 Index: simd/jfss2fst.asm
1085 =================================================================== 1085 ===================================================================
1086 --- simd/jfss2fst.asm» (revision 733) 1086 --- simd/jfss2fst.asm» (revision 829)
1087 +++ simd/jfss2fst.asm (working copy) 1087 +++ simd/jfss2fst.asm (working copy)
1088 @@ -52,7 +52,7 @@ 1088 @@ -52,7 +52,7 @@
1089 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 1089 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
1090 1090
1091 alignz 16 1091 alignz 16
1092 - global EXTN(jconst_fdct_ifast_sse2) 1092 - global EXTN(jconst_fdct_ifast_sse2)
1093 + global EXTN(jconst_fdct_ifast_sse2) PRIVATE 1093 + global EXTN(jconst_fdct_ifast_sse2) PRIVATE
1094 1094
1095 EXTN(jconst_fdct_ifast_sse2): 1095 EXTN(jconst_fdct_ifast_sse2):
1096 1096
1097 @@ -80,7 +80,7 @@ 1097 @@ -80,7 +80,7 @@
1098 %define WK_NUM 2 1098 %define WK_NUM 2
1099 1099
1100 align 16 1100 align 16
1101 - global EXTN(jsimd_fdct_ifast_sse2) 1101 - global EXTN(jsimd_fdct_ifast_sse2)
1102 + global EXTN(jsimd_fdct_ifast_sse2) PRIVATE 1102 + global EXTN(jsimd_fdct_ifast_sse2) PRIVATE
1103 1103
1104 EXTN(jsimd_fdct_ifast_sse2): 1104 EXTN(jsimd_fdct_ifast_sse2):
1105 push ebp 1105 push ebp
1106 Index: simd/jcgrammx.asm 1106 Index: simd/jcgrammx.asm
1107 =================================================================== 1107 ===================================================================
1108 --- simd/jcgrammx.asm» (revision 733) 1108 --- simd/jcgrammx.asm» (revision 829)
1109 +++ simd/jcgrammx.asm (working copy) 1109 +++ simd/jcgrammx.asm (working copy)
1110 @@ -33,7 +33,7 @@ 1110 @@ -33,7 +33,7 @@
1111 SECTION SEG_CONST 1111 SECTION SEG_CONST
1112 1112
1113 alignz 16 1113 alignz 16
1114 - global EXTN(jconst_rgb_gray_convert_mmx) 1114 - global EXTN(jconst_rgb_gray_convert_mmx)
1115 + global EXTN(jconst_rgb_gray_convert_mmx) PRIVATE 1115 + global EXTN(jconst_rgb_gray_convert_mmx) PRIVATE
1116 1116
1117 EXTN(jconst_rgb_gray_convert_mmx): 1117 EXTN(jconst_rgb_gray_convert_mmx):
1118 1118
1119 Index: simd/jdcolss2-64.asm
1120 ===================================================================
1121 --- simd/jdcolss2-64.asm (revision 829)
1122 +++ simd/jdcolss2-64.asm (working copy)
1123 @@ -35,7 +35,7 @@
1124 SECTION SEG_CONST
1125
1126 alignz 16
1127 - global EXTN(jconst_ycc_rgb_convert_sse2)
1128 + global EXTN(jconst_ycc_rgb_convert_sse2) PRIVATE
1129
1130 EXTN(jconst_ycc_rgb_convert_sse2):
1131
1119 Index: simd/jf3dnflt.asm 1132 Index: simd/jf3dnflt.asm
1120 =================================================================== 1133 ===================================================================
1121 --- simd/jf3dnflt.asm» (revision 733) 1134 --- simd/jf3dnflt.asm» (revision 829)
1122 +++ simd/jf3dnflt.asm (working copy) 1135 +++ simd/jf3dnflt.asm (working copy)
1123 @@ -27,7 +27,7 @@ 1136 @@ -27,7 +27,7 @@
1124 SECTION SEG_CONST 1137 SECTION SEG_CONST
1125 1138
1126 alignz 16 1139 alignz 16
1127 - global EXTN(jconst_fdct_float_3dnow) 1140 - global EXTN(jconst_fdct_float_3dnow)
1128 + global EXTN(jconst_fdct_float_3dnow) PRIVATE 1141 + global EXTN(jconst_fdct_float_3dnow) PRIVATE
1129 1142
1130 EXTN(jconst_fdct_float_3dnow): 1143 EXTN(jconst_fdct_float_3dnow):
1131 1144
1132 @@ -55,7 +55,7 @@ 1145 @@ -55,7 +55,7 @@
1133 %define WK_NUM 2 1146 %define WK_NUM 2
1134 1147
1135 align 16 1148 align 16
1136 - global EXTN(jsimd_fdct_float_3dnow) 1149 - global EXTN(jsimd_fdct_float_3dnow)
1137 + global EXTN(jsimd_fdct_float_3dnow) PRIVATE 1150 + global EXTN(jsimd_fdct_float_3dnow) PRIVATE
1138 1151
1139 EXTN(jsimd_fdct_float_3dnow): 1152 EXTN(jsimd_fdct_float_3dnow):
1140 push ebp 1153 push ebp
1141 Index: simd/jdcolss2-64.asm
1142 ===================================================================
1143 --- simd/jdcolss2-64.asm (revision 733)
1144 +++ simd/jdcolss2-64.asm (working copy)
1145 @@ -35,7 +35,7 @@
1146 SECTION SEG_CONST
1147
1148 alignz 16
1149 - global EXTN(jconst_ycc_rgb_convert_sse2)
1150 + global EXTN(jconst_ycc_rgb_convert_sse2) PRIVATE
1151
1152 EXTN(jconst_ycc_rgb_convert_sse2):
1153
1154 Index: simd/jdsamss2-64.asm 1154 Index: simd/jdsamss2-64.asm
1155 =================================================================== 1155 ===================================================================
1156 --- simd/jdsamss2-64.asm» (revision 733) 1156 --- simd/jdsamss2-64.asm» (revision 829)
1157 +++ simd/jdsamss2-64.asm (working copy) 1157 +++ simd/jdsamss2-64.asm (working copy)
1158 @@ -23,7 +23,7 @@ 1158 @@ -23,7 +23,7 @@
1159 SECTION SEG_CONST 1159 SECTION SEG_CONST
1160 1160
1161 alignz 16 1161 alignz 16
1162 - global EXTN(jconst_fancy_upsample_sse2) 1162 - global EXTN(jconst_fancy_upsample_sse2)
1163 + global EXTN(jconst_fancy_upsample_sse2) PRIVATE 1163 + global EXTN(jconst_fancy_upsample_sse2) PRIVATE
1164 1164
1165 EXTN(jconst_fancy_upsample_sse2): 1165 EXTN(jconst_fancy_upsample_sse2):
1166 1166
(...skipping 28 matching lines...) Expand all
1195 ; r13 = JSAMPARRAY * output_data_ptr 1195 ; r13 = JSAMPARRAY * output_data_ptr
1196 1196
1197 align 16 1197 align 16
1198 - global EXTN(jsimd_h2v2_upsample_sse2) 1198 - global EXTN(jsimd_h2v2_upsample_sse2)
1199 + global EXTN(jsimd_h2v2_upsample_sse2) PRIVATE 1199 + global EXTN(jsimd_h2v2_upsample_sse2) PRIVATE
1200 1200
1201 EXTN(jsimd_h2v2_upsample_sse2): 1201 EXTN(jsimd_h2v2_upsample_sse2):
1202 push rbp 1202 push rbp
1203 Index: simd/jcgrass2.asm 1203 Index: simd/jcgrass2.asm
1204 =================================================================== 1204 ===================================================================
1205 --- simd/jcgrass2.asm» (revision 733) 1205 --- simd/jcgrass2.asm» (revision 829)
1206 +++ simd/jcgrass2.asm (working copy) 1206 +++ simd/jcgrass2.asm (working copy)
1207 @@ -30,7 +30,7 @@ 1207 @@ -30,7 +30,7 @@
1208 SECTION SEG_CONST 1208 SECTION SEG_CONST
1209 1209
1210 alignz 16 1210 alignz 16
1211 - global EXTN(jconst_rgb_gray_convert_sse2) 1211 - global EXTN(jconst_rgb_gray_convert_sse2)
1212 + global EXTN(jconst_rgb_gray_convert_sse2) PRIVATE 1212 + global EXTN(jconst_rgb_gray_convert_sse2) PRIVATE
1213 1213
1214 EXTN(jconst_rgb_gray_convert_sse2): 1214 EXTN(jconst_rgb_gray_convert_sse2):
1215 1215
1216 Index: simd/jcsammmx.asm 1216 Index: simd/jcsammmx.asm
1217 =================================================================== 1217 ===================================================================
1218 --- simd/jcsammmx.asm» (revision 733) 1218 --- simd/jcsammmx.asm» (revision 829)
1219 +++ simd/jcsammmx.asm (working copy) 1219 +++ simd/jcsammmx.asm (working copy)
1220 @@ -40,7 +40,7 @@ 1220 @@ -40,7 +40,7 @@
1221 %define output_data(b) (b)+28 ; JSAMPARRAY output_data 1221 %define output_data(b) (b)+28 ; JSAMPARRAY output_data
1222 1222
1223 align 16 1223 align 16
1224 - global EXTN(jsimd_h2v1_downsample_mmx) 1224 - global EXTN(jsimd_h2v1_downsample_mmx)
1225 + global EXTN(jsimd_h2v1_downsample_mmx) PRIVATE 1225 + global EXTN(jsimd_h2v1_downsample_mmx) PRIVATE
1226 1226
1227 EXTN(jsimd_h2v1_downsample_mmx): 1227 EXTN(jsimd_h2v1_downsample_mmx):
1228 push ebp 1228 push ebp
1229 @@ -182,7 +182,7 @@ 1229 @@ -182,7 +182,7 @@
1230 %define output_data(b) (b)+28 ; JSAMPARRAY output_data 1230 %define output_data(b) (b)+28 ; JSAMPARRAY output_data
1231 1231
1232 align 16 1232 align 16
1233 - global EXTN(jsimd_h2v2_downsample_mmx) 1233 - global EXTN(jsimd_h2v2_downsample_mmx)
1234 + global EXTN(jsimd_h2v2_downsample_mmx) PRIVATE 1234 + global EXTN(jsimd_h2v2_downsample_mmx) PRIVATE
1235 1235
1236 EXTN(jsimd_h2v2_downsample_mmx): 1236 EXTN(jsimd_h2v2_downsample_mmx):
1237 push ebp 1237 push ebp
1238 Index: simd/jsimd_i386.c
1239 ===================================================================
1240 --- simd/jsimd_i386.c (revision 829)
1241 +++ simd/jsimd_i386.c (working copy)
1242 @@ -61,6 +61,7 @@
1243 simd_support &= JSIMD_SSE2;
1244 }
1245
1246 +#ifndef JPEG_DECODE_ONLY
1247 GLOBAL(int)
1248 jsimd_can_rgb_ycc (void)
1249 {
1250 @@ -82,6 +83,7 @@
1251
1252 return 0;
1253 }
1254 +#endif
1255
1256 GLOBAL(int)
1257 jsimd_can_rgb_gray (void)
1258 @@ -127,6 +129,7 @@
1259 return 0;
1260 }
1261
1262 +#ifndef JPEG_DECODE_ONLY
1263 GLOBAL(void)
1264 jsimd_rgb_ycc_convert (j_compress_ptr cinfo,
1265 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
1266 @@ -179,6 +182,7 @@
1267 mmxfct(cinfo->image_width, input_buf,
1268 output_buf, output_row, num_rows);
1269 }
1270 +#endif
1271
1272 GLOBAL(void)
1273 jsimd_rgb_gray_convert (j_compress_ptr cinfo,
1274 @@ -286,6 +290,7 @@
1275 input_row, output_buf, num_rows);
1276 }
1277
1278 +#ifndef JPEG_DECODE_ONLY
1279 GLOBAL(int)
1280 jsimd_can_h2v2_downsample (void)
1281 {
1282 @@ -351,6 +356,7 @@
1283 compptr->v_samp_factor, compptr->width_in_blocks,
1284 input_data, output_data);
1285 }
1286 +#endif
1287
1288 GLOBAL(int)
1289 jsimd_can_h2v2_upsample (void)
1290 @@ -636,6 +642,7 @@
1291 in_row_group_ctr, output_buf);
1292 }
1293
1294 +#ifndef JPEG_DECODE_ONLY
1295 GLOBAL(int)
1296 jsimd_can_convsamp (void)
1297 {
1298 @@ -855,6 +862,7 @@
1299 else if (simd_support & JSIMD_3DNOW)
1300 jsimd_quantize_float_3dnow(coef_block, divisors, workspace);
1301 }
1302 +#endif
1303
1304 GLOBAL(int)
1305 jsimd_can_idct_2x2 (void)
1306 @@ -1045,4 +1053,3 @@
1307 jsimd_idct_float_3dnow(compptr->dct_table, coef_block,
1308 output_buf, output_col);
1309 }
1310 -
1238 Index: simd/jcqnts2f-64.asm 1311 Index: simd/jcqnts2f-64.asm
1239 =================================================================== 1312 ===================================================================
1240 --- simd/jcqnts2f-64.asm» (revision 733) 1313 --- simd/jcqnts2f-64.asm» (revision 829)
1241 +++ simd/jcqnts2f-64.asm (working copy) 1314 +++ simd/jcqnts2f-64.asm (working copy)
1242 @@ -36,7 +36,7 @@ 1315 @@ -36,7 +36,7 @@
1243 ; r12 = FAST_FLOAT * workspace 1316 ; r12 = FAST_FLOAT * workspace
1244 1317
1245 align 16 1318 align 16
1246 - global EXTN(jsimd_convsamp_float_sse2) 1319 - global EXTN(jsimd_convsamp_float_sse2)
1247 + global EXTN(jsimd_convsamp_float_sse2) PRIVATE 1320 + global EXTN(jsimd_convsamp_float_sse2) PRIVATE
1248 1321
1249 EXTN(jsimd_convsamp_float_sse2): 1322 EXTN(jsimd_convsamp_float_sse2):
1250 push rbp 1323 push rbp
1251 @@ -110,7 +110,7 @@ 1324 @@ -110,7 +110,7 @@
1252 ; r12 = FAST_FLOAT * workspace 1325 ; r12 = FAST_FLOAT * workspace
1253 1326
1254 align 16 1327 align 16
1255 - global EXTN(jsimd_quantize_float_sse2) 1328 - global EXTN(jsimd_quantize_float_sse2)
1256 + global EXTN(jsimd_quantize_float_sse2) PRIVATE 1329 + global EXTN(jsimd_quantize_float_sse2) PRIVATE
1257 1330
1258 EXTN(jsimd_quantize_float_sse2): 1331 EXTN(jsimd_quantize_float_sse2):
1259 push rbp 1332 push rbp
1260 Index: simd/jcqnt3dn.asm 1333 Index: simd/jcqnt3dn.asm
1261 =================================================================== 1334 ===================================================================
1262 --- simd/jcqnt3dn.asm» (revision 733) 1335 --- simd/jcqnt3dn.asm» (revision 829)
1263 +++ simd/jcqnt3dn.asm (working copy) 1336 +++ simd/jcqnt3dn.asm (working copy)
1264 @@ -35,7 +35,7 @@ 1337 @@ -35,7 +35,7 @@
1265 %define workspace ebp+16 ; FAST_FLOAT * workspace 1338 %define workspace ebp+16 ; FAST_FLOAT * workspace
1266 1339
1267 align 16 1340 align 16
1268 - global EXTN(jsimd_convsamp_float_3dnow) 1341 - global EXTN(jsimd_convsamp_float_3dnow)
1269 + global EXTN(jsimd_convsamp_float_3dnow) PRIVATE 1342 + global EXTN(jsimd_convsamp_float_3dnow) PRIVATE
1270 1343
1271 EXTN(jsimd_convsamp_float_3dnow): 1344 EXTN(jsimd_convsamp_float_3dnow):
1272 push ebp 1345 push ebp
1273 @@ -138,7 +138,7 @@ 1346 @@ -138,7 +138,7 @@
1274 %define workspace ebp+16 ; FAST_FLOAT * workspace 1347 %define workspace ebp+16 ; FAST_FLOAT * workspace
1275 1348
1276 align 16 1349 align 16
1277 - global EXTN(jsimd_quantize_float_3dnow) 1350 - global EXTN(jsimd_quantize_float_3dnow)
1278 + global EXTN(jsimd_quantize_float_3dnow) PRIVATE 1351 + global EXTN(jsimd_quantize_float_3dnow) PRIVATE
1279 1352
1280 EXTN(jsimd_quantize_float_3dnow): 1353 EXTN(jsimd_quantize_float_3dnow):
1281 push ebp 1354 push ebp
1282 Index: simd/jcsamss2.asm 1355 Index: simd/jcsamss2.asm
1283 =================================================================== 1356 ===================================================================
1284 --- simd/jcsamss2.asm» (revision 733) 1357 --- simd/jcsamss2.asm» (revision 829)
1285 +++ simd/jcsamss2.asm (working copy) 1358 +++ simd/jcsamss2.asm (working copy)
1286 @@ -40,7 +40,7 @@ 1359 @@ -40,7 +40,7 @@
1287 %define output_data(b) (b)+28 ; JSAMPARRAY output_data 1360 %define output_data(b) (b)+28 ; JSAMPARRAY output_data
1288 1361
1289 align 16 1362 align 16
1290 - global EXTN(jsimd_h2v1_downsample_sse2) 1363 - global EXTN(jsimd_h2v1_downsample_sse2)
1291 + global EXTN(jsimd_h2v1_downsample_sse2) PRIVATE 1364 + global EXTN(jsimd_h2v1_downsample_sse2) PRIVATE
1292 1365
1293 EXTN(jsimd_h2v1_downsample_sse2): 1366 EXTN(jsimd_h2v1_downsample_sse2):
1294 push ebp 1367 push ebp
1295 @@ -195,7 +195,7 @@ 1368 @@ -195,7 +195,7 @@
1296 %define output_data(b) (b)+28 ; JSAMPARRAY output_data 1369 %define output_data(b) (b)+28 ; JSAMPARRAY output_data
1297 1370
1298 align 16 1371 align 16
1299 - global EXTN(jsimd_h2v2_downsample_sse2) 1372 - global EXTN(jsimd_h2v2_downsample_sse2)
1300 + global EXTN(jsimd_h2v2_downsample_sse2) PRIVATE 1373 + global EXTN(jsimd_h2v2_downsample_sse2) PRIVATE
1301 1374
1302 EXTN(jsimd_h2v2_downsample_sse2): 1375 EXTN(jsimd_h2v2_downsample_sse2):
1303 push ebp 1376 push ebp
1377 Index: simd/jsimd_x86_64.c
1378 ===================================================================
1379 --- simd/jsimd_x86_64.c (revision 829)
1380 +++ simd/jsimd_x86_64.c (working copy)
1381 @@ -29,6 +29,7 @@
1382
1383 #define IS_ALIGNED_SSE(ptr) (IS_ALIGNED(ptr, 4)) /* 16 byte alignment */
1384
1385 +#ifndef JPEG_DECODE_ONLY
1386 GLOBAL(int)
1387 jsimd_can_rgb_ycc (void)
1388 {
1389 @@ -45,6 +46,7 @@
1390
1391 return 1;
1392 }
1393 +#endif
1394
1395 GLOBAL(int)
1396 jsimd_can_rgb_gray (void)
1397 @@ -80,6 +82,7 @@
1398 return 1;
1399 }
1400
1401 +#ifndef JPEG_DECODE_ONLY
1402 GLOBAL(void)
1403 jsimd_rgb_ycc_convert (j_compress_ptr cinfo,
1404 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
1405 @@ -118,6 +121,7 @@
1406
1407 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows);
1408 }
1409 +#endif
1410
1411 GLOBAL(void)
1412 jsimd_rgb_gray_convert (j_compress_ptr cinfo,
1413 @@ -197,6 +201,7 @@
1414 sse2fct(cinfo->output_width, input_buf, input_row, output_buf, num_rows);
1415 }
1416
1417 +#ifndef JPEG_DECODE_ONLY
1418 GLOBAL(int)
1419 jsimd_can_h2v2_downsample (void)
1420 {
1421 @@ -242,6 +247,7 @@
1422 compptr->width_in_blocks,
1423 input_data, output_data);
1424 }
1425 +#endif
1426
1427 GLOBAL(int)
1428 jsimd_can_h2v2_upsample (void)
1429 @@ -451,6 +457,7 @@
1430 sse2fct(cinfo->output_width, input_buf, in_row_group_ctr, output_buf);
1431 }
1432
1433 +#ifndef JPEG_DECODE_ONLY
1434 GLOBAL(int)
1435 jsimd_can_convsamp (void)
1436 {
1437 @@ -601,6 +608,7 @@
1438 {
1439 jsimd_quantize_float_sse2(coef_block, divisors, workspace);
1440 }
1441 +#endif
1442
1443 GLOBAL(int)
1444 jsimd_can_idct_2x2 (void)
1445 @@ -750,4 +758,3 @@
1446 jsimd_idct_float_sse2(compptr->dct_table, coef_block,
1447 output_buf, output_col);
1448 }
1449 -
1304 Index: simd/jimmxint.asm 1450 Index: simd/jimmxint.asm
1305 =================================================================== 1451 ===================================================================
1306 --- simd/jimmxint.asm» (revision 733) 1452 --- simd/jimmxint.asm» (revision 829)
1307 +++ simd/jimmxint.asm (working copy) 1453 +++ simd/jimmxint.asm (working copy)
1308 @@ -66,7 +66,7 @@ 1454 @@ -66,7 +66,7 @@
1309 SECTION SEG_CONST 1455 SECTION SEG_CONST
1310 1456
1311 alignz 16 1457 alignz 16
1312 - global EXTN(jconst_idct_islow_mmx) 1458 - global EXTN(jconst_idct_islow_mmx)
1313 + global EXTN(jconst_idct_islow_mmx) PRIVATE 1459 + global EXTN(jconst_idct_islow_mmx) PRIVATE
1314 1460
1315 EXTN(jconst_idct_islow_mmx): 1461 EXTN(jconst_idct_islow_mmx):
1316 1462
1317 @@ -107,7 +107,7 @@ 1463 @@ -107,7 +107,7 @@
1318 ; JCOEF workspace[DCTSIZE2] 1464 ; JCOEF workspace[DCTSIZE2]
1319 1465
1320 align 16 1466 align 16
1321 - global EXTN(jsimd_idct_islow_mmx) 1467 - global EXTN(jsimd_idct_islow_mmx)
1322 + global EXTN(jsimd_idct_islow_mmx) PRIVATE 1468 + global EXTN(jsimd_idct_islow_mmx) PRIVATE
1323 1469
1324 EXTN(jsimd_idct_islow_mmx): 1470 EXTN(jsimd_idct_islow_mmx):
1325 push ebp 1471 push ebp
1326 Index: simd/jcgrymmx.asm 1472 Index: simd/jcgrymmx.asm
1327 =================================================================== 1473 ===================================================================
1328 --- simd/jcgrymmx.asm» (revision 733) 1474 --- simd/jcgrymmx.asm» (revision 829)
1329 +++ simd/jcgrymmx.asm (working copy) 1475 +++ simd/jcgrymmx.asm (working copy)
1330 @@ -41,7 +41,7 @@ 1476 @@ -41,7 +41,7 @@
1331 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 1477 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
1332 1478
1333 align 16 1479 align 16
1334 - global EXTN(jsimd_rgb_gray_convert_mmx) 1480 - global EXTN(jsimd_rgb_gray_convert_mmx)
1335 + global EXTN(jsimd_rgb_gray_convert_mmx) PRIVATE 1481 + global EXTN(jsimd_rgb_gray_convert_mmx) PRIVATE
1336 1482
1337 EXTN(jsimd_rgb_gray_convert_mmx): 1483 EXTN(jsimd_rgb_gray_convert_mmx):
1338 push ebp 1484 push ebp
1339 Index: simd/jfss2int.asm 1485 Index: simd/jfss2int.asm
1340 =================================================================== 1486 ===================================================================
1341 --- simd/jfss2int.asm» (revision 733) 1487 --- simd/jfss2int.asm» (revision 829)
1342 +++ simd/jfss2int.asm (working copy) 1488 +++ simd/jfss2int.asm (working copy)
1343 @@ -66,7 +66,7 @@ 1489 @@ -66,7 +66,7 @@
1344 SECTION SEG_CONST 1490 SECTION SEG_CONST
1345 1491
1346 alignz 16 1492 alignz 16
1347 - global EXTN(jconst_fdct_islow_sse2) 1493 - global EXTN(jconst_fdct_islow_sse2)
1348 + global EXTN(jconst_fdct_islow_sse2) PRIVATE 1494 + global EXTN(jconst_fdct_islow_sse2) PRIVATE
1349 1495
1350 EXTN(jconst_fdct_islow_sse2): 1496 EXTN(jconst_fdct_islow_sse2):
1351 1497
1352 @@ -101,7 +101,7 @@ 1498 @@ -101,7 +101,7 @@
1353 %define WK_NUM 6 1499 %define WK_NUM 6
1354 1500
1355 align 16 1501 align 16
1356 - global EXTN(jsimd_fdct_islow_sse2) 1502 - global EXTN(jsimd_fdct_islow_sse2)
1357 + global EXTN(jsimd_fdct_islow_sse2) PRIVATE 1503 + global EXTN(jsimd_fdct_islow_sse2) PRIVATE
1358 1504
1359 EXTN(jsimd_fdct_islow_sse2): 1505 EXTN(jsimd_fdct_islow_sse2):
1360 push ebp 1506 push ebp
1361 Index: simd/jcgryss2.asm 1507 Index: simd/jcgryss2.asm
1362 =================================================================== 1508 ===================================================================
1363 --- simd/jcgryss2.asm» (revision 733) 1509 --- simd/jcgryss2.asm» (revision 829)
1364 +++ simd/jcgryss2.asm (working copy) 1510 +++ simd/jcgryss2.asm (working copy)
1365 @@ -39,7 +39,7 @@ 1511 @@ -39,7 +39,7 @@
1366 1512
1367 align 16 1513 align 16
1368 1514
1369 - global EXTN(jsimd_rgb_gray_convert_sse2) 1515 - global EXTN(jsimd_rgb_gray_convert_sse2)
1370 + global EXTN(jsimd_rgb_gray_convert_sse2) PRIVATE 1516 + global EXTN(jsimd_rgb_gray_convert_sse2) PRIVATE
1371 1517
1372 EXTN(jsimd_rgb_gray_convert_sse2): 1518 EXTN(jsimd_rgb_gray_convert_sse2):
1373 push ebp 1519 push ebp
1374 Index: simd/jccolmmx.asm 1520 Index: simd/jccolmmx.asm
1375 =================================================================== 1521 ===================================================================
1376 --- simd/jccolmmx.asm» (revision 733) 1522 --- simd/jccolmmx.asm» (revision 829)
1377 +++ simd/jccolmmx.asm (working copy) 1523 +++ simd/jccolmmx.asm (working copy)
1378 @@ -37,7 +37,7 @@ 1524 @@ -37,7 +37,7 @@
1379 SECTION SEG_CONST 1525 SECTION SEG_CONST
1380 1526
1381 alignz 16 1527 alignz 16
1382 - global EXTN(jconst_rgb_ycc_convert_mmx) 1528 - global EXTN(jconst_rgb_ycc_convert_mmx)
1383 + global EXTN(jconst_rgb_ycc_convert_mmx) PRIVATE 1529 + global EXTN(jconst_rgb_ycc_convert_mmx) PRIVATE
1384 1530
1385 EXTN(jconst_rgb_ycc_convert_mmx): 1531 EXTN(jconst_rgb_ycc_convert_mmx):
1386 1532
1387 Index: simd/jimmxred.asm 1533 Index: simd/jimmxred.asm
1388 =================================================================== 1534 ===================================================================
1389 --- simd/jimmxred.asm» (revision 733) 1535 --- simd/jimmxred.asm» (revision 829)
1390 +++ simd/jimmxred.asm (working copy) 1536 +++ simd/jimmxred.asm (working copy)
1391 @@ -72,7 +72,7 @@ 1537 @@ -72,7 +72,7 @@
1392 SECTION SEG_CONST 1538 SECTION SEG_CONST
1393 1539
1394 alignz 16 1540 alignz 16
1395 - global EXTN(jconst_idct_red_mmx) 1541 - global EXTN(jconst_idct_red_mmx)
1396 + global EXTN(jconst_idct_red_mmx) PRIVATE 1542 + global EXTN(jconst_idct_red_mmx) PRIVATE
1397 1543
1398 EXTN(jconst_idct_red_mmx): 1544 EXTN(jconst_idct_red_mmx):
1399 1545
(...skipping 10 matching lines...) Expand all
1410 %define output_col(b) (b)+20 ; JDIMENSION output_col 1556 %define output_col(b) (b)+20 ; JDIMENSION output_col
1411 1557
1412 align 16 1558 align 16
1413 - global EXTN(jsimd_idct_2x2_mmx) 1559 - global EXTN(jsimd_idct_2x2_mmx)
1414 + global EXTN(jsimd_idct_2x2_mmx) PRIVATE 1560 + global EXTN(jsimd_idct_2x2_mmx) PRIVATE
1415 1561
1416 EXTN(jsimd_idct_2x2_mmx): 1562 EXTN(jsimd_idct_2x2_mmx):
1417 push ebp 1563 push ebp
1418 Index: simd/jsimdext.inc 1564 Index: simd/jsimdext.inc
1419 =================================================================== 1565 ===================================================================
1420 --- simd/jsimdext.inc» (revision 733) 1566 --- simd/jsimdext.inc» (revision 829)
1421 +++ simd/jsimdext.inc (working copy) 1567 +++ simd/jsimdext.inc (working copy)
1422 @@ -73,6 +73,9 @@ 1568 @@ -73,6 +73,9 @@
1423 ; * *BSD family Unix using elf format 1569 ; * *BSD family Unix using elf format
1424 ; * Unix System V, including Solaris x86, UnixWare and SCO Unix 1570 ; * Unix System V, including Solaris x86, UnixWare and SCO Unix
1425 1571
1426 +; PIC is the default on Linux 1572 +; PIC is the default on Linux
1427 +%define PIC 1573 +%define PIC
1428 + 1574 +
1429 ; mark stack as non-executable 1575 ; mark stack as non-executable
1430 section .note.GNU-stack noalloc noexec nowrite progbits 1576 section .note.GNU-stack noalloc noexec nowrite progbits
1431 1577
1432 @@ -375,4 +378,14 @@ 1578 @@ -375,4 +378,14 @@
1433 ; 1579 ;
1434 %include "jsimdcfg.inc" 1580 %include "jsimdcfg.inc"
1435 1581
1436 +; Begin chromium edits 1582 +; Begin chromium edits
1437 +%ifdef MACHO ; ----(nasm -fmacho -DMACHO ...)-------- 1583 +%ifdef MACHO ; ----(nasm -fmacho -DMACHO ...)--------
1438 +%define PRIVATE :private_extern 1584 +%define PRIVATE :private_extern
1439 +%elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------ 1585 +%elifdef ELF ; ----(nasm -felf[64] -DELF ...)------------
1440 +%define PRIVATE :hidden 1586 +%define PRIVATE :hidden
1441 +%else 1587 +%else
1442 +%define PRIVATE 1588 +%define PRIVATE
1443 +%endif 1589 +%endif
1444 +; End chromium edits 1590 +; End chromium edits
1445 + 1591 +
1446 ; -------------------------------------------------------------------------- 1592 ; --------------------------------------------------------------------------
1447 Index: simd/jdclrmmx.asm 1593 Index: simd/jdclrmmx.asm
1448 =================================================================== 1594 ===================================================================
1449 --- simd/jdclrmmx.asm» (revision 733) 1595 --- simd/jdclrmmx.asm» (revision 829)
1450 +++ simd/jdclrmmx.asm (working copy) 1596 +++ simd/jdclrmmx.asm (working copy)
1451 @@ -40,7 +40,7 @@ 1597 @@ -40,7 +40,7 @@
1452 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 1598 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
1453 1599
1454 align 16 1600 align 16
1455 - global EXTN(jsimd_ycc_rgb_convert_mmx) 1601 - global EXTN(jsimd_ycc_rgb_convert_mmx)
1456 + global EXTN(jsimd_ycc_rgb_convert_mmx) PRIVATE 1602 + global EXTN(jsimd_ycc_rgb_convert_mmx) PRIVATE
1457 1603
1458 EXTN(jsimd_ycc_rgb_convert_mmx): 1604 EXTN(jsimd_ycc_rgb_convert_mmx):
1459 push ebp 1605 push ebp
1460 Index: simd/jccolss2.asm 1606 Index: simd/jccolss2.asm
1461 =================================================================== 1607 ===================================================================
1462 --- simd/jccolss2.asm» (revision 733) 1608 --- simd/jccolss2.asm» (revision 829)
1463 +++ simd/jccolss2.asm (working copy) 1609 +++ simd/jccolss2.asm (working copy)
1464 @@ -34,7 +34,7 @@ 1610 @@ -34,7 +34,7 @@
1465 SECTION SEG_CONST 1611 SECTION SEG_CONST
1466 1612
1467 alignz 16 1613 alignz 16
1468 - global EXTN(jconst_rgb_ycc_convert_sse2) 1614 - global EXTN(jconst_rgb_ycc_convert_sse2)
1469 + global EXTN(jconst_rgb_ycc_convert_sse2) PRIVATE 1615 + global EXTN(jconst_rgb_ycc_convert_sse2) PRIVATE
1470 1616
1471 EXTN(jconst_rgb_ycc_convert_sse2): 1617 EXTN(jconst_rgb_ycc_convert_sse2):
1472 1618
1473 Index: simd/jisseflt.asm 1619 Index: simd/jisseflt.asm
1474 =================================================================== 1620 ===================================================================
1475 --- simd/jisseflt.asm» (revision 733) 1621 --- simd/jisseflt.asm» (revision 829)
1476 +++ simd/jisseflt.asm (working copy) 1622 +++ simd/jisseflt.asm (working copy)
1477 @@ -37,7 +37,7 @@ 1623 @@ -37,7 +37,7 @@
1478 SECTION SEG_CONST 1624 SECTION SEG_CONST
1479 1625
1480 alignz 16 1626 alignz 16
1481 - global EXTN(jconst_idct_float_sse) 1627 - global EXTN(jconst_idct_float_sse)
1482 + global EXTN(jconst_idct_float_sse) PRIVATE 1628 + global EXTN(jconst_idct_float_sse) PRIVATE
1483 1629
1484 EXTN(jconst_idct_float_sse): 1630 EXTN(jconst_idct_float_sse):
1485 1631
1486 @@ -73,7 +73,7 @@ 1632 @@ -73,7 +73,7 @@
1487 ; FAST_FLOAT workspace[DCTSIZE2] 1633 ; FAST_FLOAT workspace[DCTSIZE2]
1488 1634
1489 align 16 1635 align 16
1490 - global EXTN(jsimd_idct_float_sse) 1636 - global EXTN(jsimd_idct_float_sse)
1491 + global EXTN(jsimd_idct_float_sse) PRIVATE 1637 + global EXTN(jsimd_idct_float_sse) PRIVATE
1492 1638
1493 EXTN(jsimd_idct_float_sse): 1639 EXTN(jsimd_idct_float_sse):
1494 push ebp 1640 push ebp
1495 Index: simd/jcqnts2i-64.asm 1641 Index: simd/jcqnts2i-64.asm
1496 =================================================================== 1642 ===================================================================
1497 --- simd/jcqnts2i-64.asm» (revision 733) 1643 --- simd/jcqnts2i-64.asm» (revision 829)
1498 +++ simd/jcqnts2i-64.asm (working copy) 1644 +++ simd/jcqnts2i-64.asm (working copy)
1499 @@ -36,7 +36,7 @@ 1645 @@ -36,7 +36,7 @@
1500 ; r12 = DCTELEM * workspace 1646 ; r12 = DCTELEM * workspace
1501 1647
1502 align 16 1648 align 16
1503 - global EXTN(jsimd_convsamp_sse2) 1649 - global EXTN(jsimd_convsamp_sse2)
1504 + global EXTN(jsimd_convsamp_sse2) PRIVATE 1650 + global EXTN(jsimd_convsamp_sse2) PRIVATE
1505 1651
1506 EXTN(jsimd_convsamp_sse2): 1652 EXTN(jsimd_convsamp_sse2):
1507 push rbp 1653 push rbp
1508 @@ -112,7 +112,7 @@ 1654 @@ -112,7 +112,7 @@
1509 ; r12 = DCTELEM * workspace 1655 ; r12 = DCTELEM * workspace
1510 1656
1511 align 16 1657 align 16
1512 - global EXTN(jsimd_quantize_sse2) 1658 - global EXTN(jsimd_quantize_sse2)
1513 + global EXTN(jsimd_quantize_sse2) PRIVATE 1659 + global EXTN(jsimd_quantize_sse2) PRIVATE
1514 1660
1515 EXTN(jsimd_quantize_sse2): 1661 EXTN(jsimd_quantize_sse2):
1516 push rbp 1662 push rbp
1517 Index: simd/jdclrss2.asm 1663 Index: simd/jdclrss2.asm
1518 =================================================================== 1664 ===================================================================
1519 --- simd/jdclrss2.asm» (revision 733) 1665 --- simd/jdclrss2.asm» (revision 829)
1520 +++ simd/jdclrss2.asm (working copy) 1666 +++ simd/jdclrss2.asm (working copy)
1521 @@ -40,7 +40,7 @@ 1667 @@ -40,7 +40,7 @@
1522 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr 1668 %define gotptr wk(0)-SIZEOF_POINTER ; void * gotptr
1523 1669
1524 align 16 1670 align 16
1525 - global EXTN(jsimd_ycc_rgb_convert_sse2) 1671 - global EXTN(jsimd_ycc_rgb_convert_sse2)
1526 + global EXTN(jsimd_ycc_rgb_convert_sse2) PRIVATE 1672 + global EXTN(jsimd_ycc_rgb_convert_sse2) PRIVATE
1527 1673
1528 EXTN(jsimd_ycc_rgb_convert_sse2): 1674 EXTN(jsimd_ycc_rgb_convert_sse2):
1529 push ebp 1675 push ebp
1530 Index: simd/jcqntsse.asm 1676 Index: simd/jcqntsse.asm
1531 =================================================================== 1677 ===================================================================
1532 --- simd/jcqntsse.asm» (revision 733) 1678 --- simd/jcqntsse.asm» (revision 829)
1533 +++ simd/jcqntsse.asm (working copy) 1679 +++ simd/jcqntsse.asm (working copy)
1534 @@ -35,7 +35,7 @@ 1680 @@ -35,7 +35,7 @@
1535 %define workspace ebp+16 ; FAST_FLOAT * workspace 1681 %define workspace ebp+16 ; FAST_FLOAT * workspace
1536 1682
1537 align 16 1683 align 16
1538 - global EXTN(jsimd_convsamp_float_sse) 1684 - global EXTN(jsimd_convsamp_float_sse)
1539 + global EXTN(jsimd_convsamp_float_sse) PRIVATE 1685 + global EXTN(jsimd_convsamp_float_sse) PRIVATE
1540 1686
1541 EXTN(jsimd_convsamp_float_sse): 1687 EXTN(jsimd_convsamp_float_sse):
1542 push ebp 1688 push ebp
1543 @@ -138,7 +138,7 @@ 1689 @@ -138,7 +138,7 @@
1544 %define workspace ebp+16 ; FAST_FLOAT * workspace 1690 %define workspace ebp+16 ; FAST_FLOAT * workspace
1545 1691
1546 align 16 1692 align 16
1547 - global EXTN(jsimd_quantize_float_sse) 1693 - global EXTN(jsimd_quantize_float_sse)
1548 + global EXTN(jsimd_quantize_float_sse) PRIVATE 1694 + global EXTN(jsimd_quantize_float_sse) PRIVATE
1549 1695
1550 EXTN(jsimd_quantize_float_sse): 1696 EXTN(jsimd_quantize_float_sse):
1551 push ebp 1697 push ebp
1552 Index: simd/jiss2int-64.asm 1698 Index: simd/jiss2int-64.asm
1553 =================================================================== 1699 ===================================================================
1554 --- simd/jiss2int-64.asm» (revision 733) 1700 --- simd/jiss2int-64.asm» (revision 829)
1555 +++ simd/jiss2int-64.asm (working copy) 1701 +++ simd/jiss2int-64.asm (working copy)
1556 @@ -67,7 +67,7 @@ 1702 @@ -67,7 +67,7 @@
1557 SECTION SEG_CONST 1703 SECTION SEG_CONST
1558 1704
1559 alignz 16 1705 alignz 16
1560 - global EXTN(jconst_idct_islow_sse2) 1706 - global EXTN(jconst_idct_islow_sse2)
1561 + global EXTN(jconst_idct_islow_sse2) PRIVATE 1707 + global EXTN(jconst_idct_islow_sse2) PRIVATE
1562 1708
1563 EXTN(jconst_idct_islow_sse2): 1709 EXTN(jconst_idct_islow_sse2):
1564 1710
1565 @@ -106,7 +106,7 @@ 1711 @@ -106,7 +106,7 @@
1566 %define WK_NUM 12 1712 %define WK_NUM 12
1567 1713
1568 align 16 1714 align 16
1569 - global EXTN(jsimd_idct_islow_sse2) 1715 - global EXTN(jsimd_idct_islow_sse2)
1570 + global EXTN(jsimd_idct_islow_sse2) PRIVATE 1716 + global EXTN(jsimd_idct_islow_sse2) PRIVATE
1571 1717
1572 EXTN(jsimd_idct_islow_sse2): 1718 EXTN(jsimd_idct_islow_sse2):
1573 push rbp 1719 push rbp
1574 Index: simd/jfmmxfst.asm 1720 Index: simd/jfmmxfst.asm
1575 =================================================================== 1721 ===================================================================
1576 --- simd/jfmmxfst.asm» (revision 733) 1722 --- simd/jfmmxfst.asm» (revision 829)
1577 +++ simd/jfmmxfst.asm (working copy) 1723 +++ simd/jfmmxfst.asm (working copy)
1578 @@ -52,7 +52,7 @@ 1724 @@ -52,7 +52,7 @@
1579 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS) 1725 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
1580 1726
1581 alignz 16 1727 alignz 16
1582 - global EXTN(jconst_fdct_ifast_mmx) 1728 - global EXTN(jconst_fdct_ifast_mmx)
1583 + global EXTN(jconst_fdct_ifast_mmx) PRIVATE 1729 + global EXTN(jconst_fdct_ifast_mmx) PRIVATE
1584 1730
1585 EXTN(jconst_fdct_ifast_mmx): 1731 EXTN(jconst_fdct_ifast_mmx):
1586 1732
1587 @@ -80,7 +80,7 @@ 1733 @@ -80,7 +80,7 @@
1588 %define WK_NUM 2 1734 %define WK_NUM 2
1589 1735
1590 align 16 1736 align 16
1591 - global EXTN(jsimd_fdct_ifast_mmx) 1737 - global EXTN(jsimd_fdct_ifast_mmx)
1592 + global EXTN(jsimd_fdct_ifast_mmx) PRIVATE 1738 + global EXTN(jsimd_fdct_ifast_mmx) PRIVATE
1593 1739
1594 EXTN(jsimd_fdct_ifast_mmx): 1740 EXTN(jsimd_fdct_ifast_mmx):
1595 push ebp 1741 push ebp
1596 Index: jdarith.c 1742 Index: jdarith.c
1597 =================================================================== 1743 ===================================================================
1598 --- jdarith.c» (revision 733) 1744 --- jdarith.c» (revision 829)
1599 +++ jdarith.c (working copy) 1745 +++ jdarith.c (working copy)
1600 @@ -150,8 +150,8 @@ 1746 @@ -150,8 +150,8 @@
1601 */ 1747 */
1602 sv = *st; 1748 sv = *st;
1603 qe = jpeg_aritab[sv & 0x7F]; /* => Qe_Value */ 1749 qe = jpeg_aritab[sv & 0x7F]; /* => Qe_Value */
1604 - nl = qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS */ 1750 - nl = qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS */
1605 - nm = qe & 0xFF; qe >>= 8; /* Next_Index_MPS */ 1751 - nm = qe & 0xFF; qe >>= 8; /* Next_Index_MPS */
1606 + nl = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS * / 1752 + nl = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_LPS + Switch_MPS * /
1607 + nm = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_MPS */ 1753 + nm = (unsigned char) qe & 0xFF; qe >>= 8; /* Next_Index_MPS */
1608 1754
1609 /* Decode & estimation procedures per sections D.2.4 & D.2.5 */ 1755 /* Decode & estimation procedures per sections D.2.4 & D.2.5 */
1610 temp = e->a - qe; 1756 temp = e->a - qe;
1611 Index: jdhuff.c 1757 Index: jdhuff.c
1612 =================================================================== 1758 ===================================================================
1613 --- jdhuff.c» (revision 733) 1759 --- jdhuff.c» (revision 829)
1614 +++ jdhuff.c (working copy) 1760 +++ jdhuff.c (working copy)
1615 @@ -742,7 +742,7 @@ 1761 @@ -742,7 +742,7 @@
1616 * this module, since we'll just re-assign them on the next call.) 1762 * this module, since we'll just re-assign them on the next call.)
1617 */ 1763 */
1618 1764
1619 -#define BUFSIZE (DCTSIZE2 * 2) 1765 -#define BUFSIZE (DCTSIZE2 * 2)
1620 +#define BUFSIZE (DCTSIZE2 * 2u) 1766 +#define BUFSIZE (DCTSIZE2 * 2u)
1621 1767
1622 METHODDEF(boolean) 1768 METHODDEF(boolean)
1623 decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data) 1769 decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
OLDNEW
« no previous file with comments | « djpeg.c ('k') | jccolext.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698