Changeset a56479498b8b7feeb01d6ad58110c59b7600f99e
- Timestamp:
- 08/27/07 23:02:14
(1 year ago)
- Author:
- Damien Fouilleul <damienf@videolan.org>
- git-committer:
- Damien Fouilleul <damienf@videolan.org> 1188248534 +0000
- git-parent:
[6878660d6779b79e42d4e76f86b51eb0dd61bc6f]
- git-author:
- Damien Fouilleul <damienf@videolan.org> 1188248534 +0000
- Message:
make ptr -> int conversion 64 bit friendly
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re40d134 |
ra564794 |
|
| 371 | 371 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 372 | 372 | p_dest->p->i_pitch| |
|---|
| 373 | | ((int)p_y)| |
|---|
| 374 | | ((int)p_buffer))) ) |
|---|
| | 373 | ((intptr_t)p_y)| |
|---|
| | 374 | ((intptr_t)p_buffer))) ) |
|---|
| 375 | 375 | { |
|---|
| 376 | 376 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 612 | 612 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 613 | 613 | p_dest->p->i_pitch| |
|---|
| 614 | | ((int)p_y)| |
|---|
| 615 | | ((int)p_buffer))) ) |
|---|
| | 614 | ((intptr_t)p_y)| |
|---|
| | 615 | ((intptr_t)p_buffer))) ) |
|---|
| 616 | 616 | { |
|---|
| 617 | 617 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 965 | 965 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 966 | 966 | p_dest->p->i_pitch| |
|---|
| 967 | | ((int)p_y)| |
|---|
| 968 | | ((int)p_buffer))) ) |
|---|
| | 967 | ((intptr_t)p_y)| |
|---|
| | 968 | ((intptr_t)p_buffer))) ) |
|---|
| 969 | 969 | { |
|---|
| 970 | 970 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 1204 | 1204 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 1205 | 1205 | p_dest->p->i_pitch| |
|---|
| 1206 | | ((int)p_y)| |
|---|
| 1207 | | ((int)p_buffer))) ) |
|---|
| | 1206 | ((intptr_t)p_y)| |
|---|
| | 1207 | ((intptr_t)p_buffer))) ) |
|---|
| 1208 | 1208 | { |
|---|
| 1209 | 1209 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 1443 | 1443 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 1444 | 1444 | p_dest->p->i_pitch| |
|---|
| 1445 | | ((int)p_y)| |
|---|
| 1446 | | ((int)p_buffer))) ) |
|---|
| | 1445 | ((intptr_t)p_y)| |
|---|
| | 1446 | ((intptr_t)p_buffer))) ) |
|---|
| 1447 | 1447 | { |
|---|
| 1448 | 1448 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 1679 | 1679 | if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| |
|---|
| 1680 | 1680 | p_dest->p->i_pitch| |
|---|
| 1681 | | ((int)p_y)| |
|---|
| 1682 | | ((int)p_buffer))) ) |
|---|
| | 1681 | ((intptr_t)p_y)| |
|---|
| | 1682 | ((intptr_t)p_buffer))) ) |
|---|
| 1683 | 1683 | { |
|---|
| 1684 | 1684 | /* use faster SSE2 aligned fetch and store */ |
|---|
| re40d134 |
ra564794 |
|
| 320 | 320 | |
|---|
| 321 | 321 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 322 | | ((int)p_line2|(int)p_y2))) ) |
|---|
| | 322 | ((intptr_t)p_line2|(intptr_t)p_y2))) ) |
|---|
| 323 | 323 | { |
|---|
| 324 | 324 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 530 | 530 | */ |
|---|
| 531 | 531 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 532 | | ((int)p_line2|(int)p_y2))) ) |
|---|
| | 532 | ((intptr_t)p_line2|(intptr_t)p_y2))) ) |
|---|
| 533 | 533 | { |
|---|
| 534 | 534 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 739 | 739 | */ |
|---|
| 740 | 740 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 741 | | ((int)p_line2|(int)p_y2))) ) |
|---|
| | 741 | ((intptr_t)p_line2|(intptr_t)p_y2))) ) |
|---|
| 742 | 742 | { |
|---|
| 743 | 743 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 879 | 879 | */ |
|---|
| 880 | 880 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 881 | | ((int)p_line2|(int)p_y2))) ) |
|---|
| | 881 | ((intptr_t)p_line2|(intptr_t)p_y2))) ) |
|---|
| 882 | 882 | { |
|---|
| 883 | 883 | /* use faster SSE2 aligned fetch and store */ |
|---|
| re40d134 |
ra564794 |
|
| 162 | 162 | |
|---|
| 163 | 163 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 164 | | ((int)p_line|(int)p_y))) ) |
|---|
| | 164 | ((intptr_t)p_line|(intptr_t)p_y))) ) |
|---|
| 165 | 165 | { |
|---|
| 166 | 166 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 255 | 255 | |
|---|
| 256 | 256 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 257 | | ((int)p_line|(int)p_y))) ) |
|---|
| | 257 | ((intptr_t)p_line|(intptr_t)p_y))) ) |
|---|
| 258 | 258 | { |
|---|
| 259 | 259 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 348 | 348 | |
|---|
| 349 | 349 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 350 | | ((int)p_line|(int)p_y))) ) |
|---|
| | 350 | ((intptr_t)p_line|(intptr_t)p_y))) ) |
|---|
| 351 | 351 | { |
|---|
| 352 | 352 | /* use faster SSE2 aligned fetch and store */ |
|---|
| … | … | |
| 451 | 451 | |
|---|
| 452 | 452 | if( 0 == (15 & (p_source->p[Y_PLANE].i_pitch|p_dest->p->i_pitch| |
|---|
| 453 | | ((int)p_line|(int)p_y))) ) |
|---|
| | 453 | ((intptr_t)p_line|(intptr_t)p_y))) ) |
|---|
| 454 | 454 | { |
|---|
| 455 | 455 | /* use faster SSE2 aligned fetch and store */ |
|---|