forked from len0rd/rockbox
Add read_jpeg_* to feature_wrappers.h, add import-from-core for jpeg_load.c on mono targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20839 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b40878043c
commit
75f2629778
3 changed files with 30 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ buflib.c
|
||||||
*/
|
*/
|
||||||
#if LCD_DEPTH == 1
|
#if LCD_DEPTH == 1
|
||||||
pluginlib_resize.c
|
pluginlib_resize.c
|
||||||
|
pluginlib_jpeg_load.c
|
||||||
#endif
|
#endif
|
||||||
grey_core.c
|
grey_core.c
|
||||||
grey_draw.c
|
grey_draw.c
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,8 @@
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_ALBUMART
|
#ifdef HAVE_ALBUMART
|
||||||
#define search_albumart_files rb->search_albumart_files
|
#define search_albumart_files rb->search_albumart_files
|
||||||
|
#define read_jpeg_file rb->read_jpeg_file
|
||||||
|
#define read_jpeg_fd rb->read_jpeg_fd
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This should only be used when loading scaled bitmaps, or using custom output
|
/* This should only be used when loading scaled bitmaps, or using custom output
|
||||||
|
|
|
||||||
27
apps/plugins/lib/pluginlib_jpeg_load.c
Normal file
27
apps/plugins/lib/pluginlib_jpeg_load.c
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2009 by Andrew Mahone
|
||||||
|
*
|
||||||
|
* This is a wrapper for the core jpeg_load.c
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation; either version 2
|
||||||
|
* of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||||
|
* KIND, either express or implied.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <plugin.h>
|
||||||
|
#include "wrappers.h"
|
||||||
|
|
||||||
|
#include "../../recorder/jpeg_load.c"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue