Changeset a56479498b8b7feeb01d6ad58110c59b7600f99e

Show
Ignore:
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
  • modules/video_chroma/i420_rgb16.c

    re40d134 ra564794  
    371371    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    372372                    p_dest->p->i_pitch| 
    373                     ((int)p_y)| 
    374                     ((int)p_buffer))) ) 
     373                    ((intptr_t)p_y)| 
     374                    ((intptr_t)p_buffer))) ) 
    375375    { 
    376376        /* use faster SSE2 aligned fetch and store */ 
     
    612612    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    613613                    p_dest->p->i_pitch| 
    614                     ((int)p_y)| 
    615                     ((int)p_buffer))) ) 
     614                    ((intptr_t)p_y)| 
     615                    ((intptr_t)p_buffer))) ) 
    616616    { 
    617617        /* use faster SSE2 aligned fetch and store */ 
     
    965965    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    966966                    p_dest->p->i_pitch| 
    967                     ((int)p_y)| 
    968                     ((int)p_buffer))) ) 
     967                    ((intptr_t)p_y)| 
     968                    ((intptr_t)p_buffer))) ) 
    969969    { 
    970970        /* use faster SSE2 aligned fetch and store */ 
     
    12041204    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    12051205                    p_dest->p->i_pitch| 
    1206                     ((int)p_y)| 
    1207                     ((int)p_buffer))) ) 
     1206                    ((intptr_t)p_y)| 
     1207                    ((intptr_t)p_buffer))) ) 
    12081208    { 
    12091209        /* use faster SSE2 aligned fetch and store */ 
     
    14431443    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    14441444                    p_dest->p->i_pitch| 
    1445                     ((int)p_y)| 
    1446                     ((int)p_buffer))) ) 
     1445                    ((intptr_t)p_y)| 
     1446                    ((intptr_t)p_buffer))) ) 
    14471447    { 
    14481448        /* use faster SSE2 aligned fetch and store */ 
     
    16791679    if( 0 == (15 & (p_src->p[Y_PLANE].i_pitch| 
    16801680                    p_dest->p->i_pitch| 
    1681                     ((int)p_y)| 
    1682                     ((int)p_buffer))) ) 
     1681                    ((intptr_t)p_y)| 
     1682                    ((intptr_t)p_buffer))) ) 
    16831683    { 
    16841684        /* use faster SSE2 aligned fetch and store */ 
  • modules/video_chroma/i420_yuy2.c

    re40d134 ra564794  
    320320 
    321321    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))) ) 
    323323    { 
    324324        /* use faster SSE2 aligned fetch and store */ 
     
    530530    */ 
    531531    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))) ) 
    533533    { 
    534534        /* use faster SSE2 aligned fetch and store */ 
     
    739739    */ 
    740740    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))) ) 
    742742    { 
    743743        /* use faster SSE2 aligned fetch and store */ 
     
    879879    */ 
    880880    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))) ) 
    882882    { 
    883883        /* use faster SSE2 aligned fetch and store */ 
  • modules/video_chroma/i422_yuy2.c

    re40d134 ra564794  
    162162 
    163163    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))) ) 
    165165    { 
    166166        /* use faster SSE2 aligned fetch and store */ 
     
    255255 
    256256    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))) ) 
    258258    { 
    259259        /* use faster SSE2 aligned fetch and store */ 
     
    348348 
    349349    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))) ) 
    351351    { 
    352352        /* use faster SSE2 aligned fetch and store */ 
     
    451451 
    452452    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))) ) 
    454454    { 
    455455        /* use faster SSE2 aligned fetch and store */