comparison libvo/mga_template.c @ 32375:cbf877922fee

Spelling fix.
author reimar
date Sat, 09 Oct 2010 11:45:45 +0000
parents 40bb8aa55f55
children c4891d10ddbb
comparison
equal deleted inserted replaced
32374:40bb8aa55f55 32375:cbf877922fee
96 96
97 dest = vid_data + bespitch*mga_vid_config.src_height + bespitch2 * y + x; 97 dest = vid_data + bespitch*mga_vid_config.src_height + bespitch2 * y + x;
98 dest2= dest + bespitch2*mga_vid_config.src_height / 2; 98 dest2= dest + bespitch2*mga_vid_config.src_height / 2;
99 99
100 if(mga_vid_config.format==MGA_VID_FORMAT_YV12){ 100 if(mga_vid_config.format==MGA_VID_FORMAT_YV12){
101 // mga_vid's YV12 assumes Y,U,V order (insteda of Y,V,U) :( 101 // mga_vid's YV12 assumes Y,U,V order (instead of Y,V,U) :(
102 mem2agpcpy_pic(dest, image[1], w, h, bespitch2, stride[1]); 102 mem2agpcpy_pic(dest, image[1], w, h, bespitch2, stride[1]);
103 mem2agpcpy_pic(dest2,image[2], w, h, bespitch2, stride[2]); 103 mem2agpcpy_pic(dest2,image[2], w, h, bespitch2, stride[2]);
104 } else { 104 } else {
105 mem2agpcpy_pic(dest, image[2], w, h, bespitch2, stride[2]); 105 mem2agpcpy_pic(dest, image[2], w, h, bespitch2, stride[2]);
106 mem2agpcpy_pic(dest2,image[1], w, h, bespitch2, stride[1]); 106 mem2agpcpy_pic(dest2,image[1], w, h, bespitch2, stride[1]);