Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching full:mask

166  *     - remove "$" from addressing of Shift and Mask variables [20000823]
181 * and *Mask* globals and got rid of leading "$" signs.
265 * - revised png_combine_row() to reuse mask in lieu of external _unmask
314 * *MASK* and LOAD/RESTORE macros
906 "andl $0x800000, %%edx \n\t" // mask out all bits but MMX bit (23)
958 of interlaced images, depending on the mask value.
959 The mask value describes which pixels are to be combined with
964 If you want all pixels to be combined, pass 0xff (255) in mask. */
970 png_combine_row(png_structp png_ptr, png_bytep row, int mask)
988 if (mask == 0xff)
990 png_debug(2,"mask == 0xff: doing single png_memcpy()\n");
994 else /* (png_combine_row() is never called with mask == 0) */
1018 "not %%edx \n\t" // mask => unmask
1020 "not %%edx \n\t" // unmask => mask for later
1083 // preload "movl mask, %%edx \n\t"
1111 "1" (mask), // edx
1184 "not %%edx \n\t" // mask => unmask
1186 "not %%edx \n\t" // unmask => mask for later
1259 // preload "movl mask, %%edx \n\t"
1284 "1" (mask), // edx
1355 "not %%edx \n\t" // mask => unmask
1357 "not %%edx \n\t" // unmask => mask for later
1394 // preload "movl mask, %%edx \n\t"
1419 "1" (mask), // edx
1501 if (m & mask)
1559 if (m & mask)
1614 if (m & mask)
1657 "not %%edx \n\t" // mask => unmask
1659 "not %%edx \n\t" // unmask => mask for later
1710 // preload "movl mask, %%edx \n\t"
1735 "1" (mask), // edx
1806 "not %%edx \n\t" // mask => unmask
1808 "not %%edx \n\t" // unmask => mask for later
1898 // preload "movl mask, %%edx \n\t"
1925 "1" (mask), // edx
2027 } /* end if (non-trivial mask) */
3286 // get # of bytes to alignment (32-bit mask _would_ be good enough
3288 // (if swapped edx and ebp, could do 8-bit or 16-bit mask...FIXME?)
3292 // "andl $0xfffffff8, %%ebp \n\t" // mask to alignment boundary (32-bit!)
3293 CLEAR_BOTTOM_3_BITS PBP "\n\t" // mask to alignment boundary
3411 "psllq $24, %%mm6 \n\t" // shift the mm6 mask to cover
3431 "psllq $24, %%mm6 \n\t" // shift mm6 mask to cover last
3498 "psllq $32, %%mm6 \n\t" // mask for 2nd active group
3684 "psllq $16, %%mm6 \n\t" // shift the mm6 mask to cover
3705 "psllq $16, %%mm6 \n\t" // shift the mm6 mask to cover
3725 "psllq $16, %%mm6 \n\t" // shift the mm6 mask to cover
3790 "psllq $48, %%mm6 \n\t" // mask for 2nd active group
4052 // "andl $0xfffffff8, %%ebp \n\t" // mask to alignment boundary (32-bit!)
4053 CLEAR_BOTTOM_3_BITS PBP "\n\t" // mask to alignment boundary
4204 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4207 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4213 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4222 // use mm7 mask to merge pa & pb
4224 // use mm0 mask copy to merge a & b
4265 "pcmpgtw %%mm5, %%mm0 \n\t" // create mask pbv bytes < 0
4266 "pcmpgtw %%mm4, %%mm7 \n\t" // create mask pav bytes < 0
4274 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4282 // use mm7 mask to merge pa & pb
4284 // use mm0 mask copy to merge a & b
4328 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4329 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4337 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4345 // use mm0 mask copy to merge a & b
4347 // use mm7 mask to merge pa & pb
4419 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4422 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4428 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4437 // use mm7 mask to merge pa & pb
4439 // use mm0 mask copy to merge a & b
4478 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4481 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4487 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4496 // use mm7 mask to merge pa & pb
4498 // use mm0 mask copy to merge a & b
4697 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4700 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4706 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4715 // use mm7 mask to merge pa & pb
4717 // use mm0 mask copy to merge a & b
4763 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4766 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4772 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4781 // use mm7 mask to merge pa & pb
4783 // use mm0 mask copy to merge a & b
4853 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4856 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4862 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4871 // use mm7 mask to merge pa & pb
4873 // use mm0 mask copy to merge a & b
4912 "pcmpgtw %%mm4, %%mm0 \n\t" // create mask pav bytes < 0
4915 "pcmpgtw %%mm5, %%mm7 \n\t" // create mask pbv bytes < 0
4921 "pcmpgtw %%mm6, %%mm0 \n\t" // create mask pcv bytes < 0
4930 // use mm7 mask to merge pa & pb
4932 // use mm0 mask copy to merge a & b
5153 // "andl $0xfffffff8, %%ebp \n\t" // mask to alignment boundary (32-bit!)
5154 CLEAR_BOTTOM_3_BITS PBP "\n\t" // mask to alignment boundary
5209 "psllq $24, %%mm6 \n\t" // move mask in mm6 to cover
5215 "psrlq $40, %%mm1 \n\t" // bpp bytes (no need for mask;
5224 "pand %%mm7, %%mm1 \n\t" // mask to use 2nd active group
5230 "pand %%mm6, %%mm1 \n\t" // mask to use 3rd active group
5273 "psrlq $32, %%mm1 \n\t" // bpp bytes (no need for mask;
5356 "psllq $16, %%mm6 \n\t" // move mask in mm6 to cover
5362 "psllq $16, %%mm5 \n\t" // move mask in mm5 to cover
5368 "psrlq $48, %%mm1 \n\t" // bpp bytes (no need for mask;
5377 "pand %%mm7, %%mm1 \n\t" // mask to use 2nd active group
5383 "pand %%mm6, %%mm1 \n\t" // mask to use 3rd active group
5389 "pand %%mm5, %%mm1 \n\t" // mask to use 4th active group
5431 "psrlq $16, %%mm1 \n\t" // bpp bytes (no need for mask;
5634 // "andl $0xfffffff8, %%ecx \n\t" // mask to alignment boundary (32-bit!)
5635 CLEAR_BOTTOM_3_BITS PCX "\n\t" // mask to alignment boundary