Mercurial > mplayer.hg
comparison libvo/vo_macosx.m @ 23457:a124f3abc1ec
Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.
author | reimar |
---|---|
date | Tue, 05 Jun 2007 14:27:54 +0000 |
parents | 300e9b7c499f |
children | 55bbcab62cd0 |
comparison
equal
deleted
inserted
replaced
23456:1582297cc3d2 | 23457:a124f3abc1ec |
---|---|
200 { | 200 { |
201 switch (image_format) | 201 switch (image_format) |
202 { | 202 { |
203 case IMGFMT_BGR32: | 203 case IMGFMT_BGR32: |
204 case IMGFMT_RGB32: | 204 case IMGFMT_RGB32: |
205 memcpy(image_data, src[0], image_width*image_height*image_bytes); | 205 fast_memcpy(image_data, src[0], image_width*image_height*image_bytes); |
206 break; | 206 break; |
207 | 207 |
208 case IMGFMT_YUY2: | 208 case IMGFMT_YUY2: |
209 memcpy_pic(image_data, src[0], image_width * 2, image_height, image_width * 2, image_width * 2); | 209 memcpy_pic(image_data, src[0], image_width * 2, image_height, image_width * 2, image_width * 2); |
210 break; | 210 break; |