mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-17 18:33:41 +02:00
Mode fb and picviewer cleanup; unify channel logo display code
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@259 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -30,7 +30,7 @@ unsigned char * simple_resize(unsigned char * orgin,int ox,int oy,int dx,int dy)
|
||||
|
||||
unsigned char * color_average_resize(unsigned char * orgin,int ox,int oy,int dx,int dy)
|
||||
{
|
||||
// dbout("color_average_resize{\n");
|
||||
/* dbout("color_average_resize{\n");*/
|
||||
unsigned char *cr,*p,*q;
|
||||
int i,j,k,l,ya,yb;
|
||||
int sq,r,g,b;
|
||||
@@ -39,7 +39,7 @@ unsigned char * color_average_resize(unsigned char * orgin,int ox,int oy,int dx,
|
||||
if(cr==NULL)
|
||||
{
|
||||
printf("Error: malloc\n");
|
||||
// dbout("color_average_resize}\n");
|
||||
/* dbout("color_average_resize}\n"); */
|
||||
return(orgin);
|
||||
}
|
||||
p=cr;
|
||||
@@ -72,6 +72,6 @@ unsigned char * color_average_resize(unsigned char * orgin,int ox,int oy,int dx,
|
||||
}
|
||||
}
|
||||
free(orgin);
|
||||
// dbout("color_average_resize}\n");
|
||||
/* dbout("color_average_resize}\n"); */
|
||||
return(cr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user