forked from len0rd/rockbox
Make local function static in jpeg_load.c, add missing header file in read_image.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20848 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4c428114c
commit
ad031e903c
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include <plugin.h>
|
#include <plugin.h>
|
||||||
#include "feature_wrappers.h"
|
#include "feature_wrappers.h"
|
||||||
|
#include "read_image.h"
|
||||||
|
|
||||||
int read_image_file(const char* filename, struct bitmap *bm, int maxsize,
|
int read_image_file(const char* filename, struct bitmap *bm, int maxsize,
|
||||||
int format, const struct custom_format *cformat)
|
int format, const struct custom_format *cformat)
|
||||||
|
|
|
@ -1689,7 +1689,7 @@ INLINE int huff_decode_ac(struct jpeg *p_jpeg, struct derived_tbl* tbl)
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct img_part *store_row_jpeg(void *jpeg_args)
|
static struct img_part *store_row_jpeg(void *jpeg_args)
|
||||||
{
|
{
|
||||||
struct jpeg *p_jpeg = (struct jpeg*) jpeg_args;
|
struct jpeg *p_jpeg = (struct jpeg*) jpeg_args;
|
||||||
unsigned int width = p_jpeg->x_mbl << p_jpeg->h_scale[1];
|
unsigned int width = p_jpeg->x_mbl << p_jpeg->h_scale[1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue