misc: Rename JPEG buffer size.

This commit is contained in:
iabdalkader 2024-06-29 20:16:47 +02:00
parent ab92e46edd
commit c9de724be0
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
#define FB_ALIGN_SIZE_ROUND_DOWN(x) (((x) / FRAMEBUFFER_ALIGNMENT) * FRAMEBUFFER_ALIGNMENT)
#define FB_ALIGN_SIZE_ROUND_UP(x) FB_ALIGN_SIZE_ROUND_DOWN(((x) + FRAMEBUFFER_ALIGNMENT - 1))
#define CONSERVATIVE_JPEG_BUF_SIZE (OMV_JPEG_BUF_SIZE - 64)
#define CONSERVATIVE_JPEG_BUF_SIZE (OMV_JPEG_SIZE - 64)
extern char _fb_base;
extern char _fb_end;

View File

@ -74,7 +74,7 @@
extern void pendsv_init(void);
extern uint8_t __StackTop, __StackBottom;
static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_HEAP_SIZE], 4), ".heap");
static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_GC_BLOCK0_SIZE], 4), ".heap");
uint8_t *OMV_BOARD_UID_ADDR;
static pico_unique_board_id_t OMV_ATTR_ALIGNED(pico_unique_id, 4);

View File

@ -199,7 +199,7 @@ SECTIONS
#if !defined(OMV_JPEG_MEMORY)
_jpeg_buf = .; // IDE JPEG buffer
. = . + OMV_JPEG_BUF_SIZE;
. = . + OMV_JPEG_SIZE;
. = ALIGN(4);
#endif
} >OMV_FB_MEMORY