# HG changeset patch # User arpi # Date 1041212060 0 # Node ID 2c4cebb8637d2e192705b60792b525be00c1345f # Parent 5af3d90a8f6be174037c3142f3c2b89b31e34c85 - optional slice height for -vo gl (example: -vo gl:32) based on patch by Dmitry Baryshkov - default height changed from 1 to 4, seems to be more optimal and works fast on both g400max & gf4ti4200 diff -r 5af3d90a8f6b -r 2c4cebb8637d libvo/vo_gl.c --- a/libvo/vo_gl.c Mon Dec 30 00:47:43 2002 +0000 +++ b/libvo/vo_gl.c Mon Dec 30 01:34:20 2002 +0000 @@ -58,6 +58,8 @@ static uint32_t texture_width; static uint32_t texture_height; +static int slice_height=1; + static void resize(int x,int y){ printf("[gl] Resize: %dx%d\n",x,y); glViewport( 0, 0, x, y ); @@ -286,13 +288,13 @@ yuv2rgb(ImageData, src[0], src[1], src[2], w,h, dstride, stride[0],stride[1]); - for(i=0;i