Mercurial > mplayer.hg
comparison libmpcodecs/vf_rgb2bgr.c @ 5595:979dd8764fa6
10l
author | arpi |
---|---|
date | Sat, 13 Apr 2002 14:21:52 +0000 |
parents | dc8ebd9736f4 |
children | 70e88ec799b4 |
comparison
equal
deleted
inserted
replaced
5594:dc8ebd9736f4 | 5595:979dd8764fa6 |
---|---|
60 for(y=0;y<mpi->h;y++){ | 60 for(y=0;y<mpi->h;y++){ |
61 if(mpi->bpp==32) | 61 if(mpi->bpp==32) |
62 rgb32tobgr32(src,dst,srcsize); | 62 rgb32tobgr32(src,dst,srcsize); |
63 else | 63 else |
64 rgb24tobgr24(src,dst,srcsize); | 64 rgb24tobgr24(src,dst,srcsize); |
65 src+=mpi->stride[0]; | |
66 dst+=dmpi->stride[0]; | |
65 } | 67 } |
66 } else { | 68 } else { |
67 if(mpi->bpp==32) | 69 if(mpi->bpp==32) |
68 rgb32tobgr32(mpi->planes[0],dmpi->planes[0],mpi->w*mpi->h*4); | 70 rgb32tobgr32(mpi->planes[0],dmpi->planes[0],mpi->w*mpi->h*4); |
69 else | 71 else |