mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Removed unused JPEG_OFFS_SIZE.
This commit is contained in:
parent
15d6b96bed
commit
669e9ad072
@ -34,11 +34,6 @@ static struct jpegbuffer {
|
|||||||
// Returns MAIN FB size
|
// Returns MAIN FB size
|
||||||
#define MAIN_FB_SIZE() (MAIN_FB()->w*MAIN_FB()->h*MAIN_FB()->bpp)
|
#define MAIN_FB_SIZE() (MAIN_FB()->w*MAIN_FB()->h*MAIN_FB()->bpp)
|
||||||
|
|
||||||
// The JPEG offset allows JPEG compression of the framebuffer without overwriting the pixels.
|
|
||||||
// The offset size may need to be adjusted depending on the quality, otherwise JPEG data may
|
|
||||||
// overwrite image pixels before they are compressed.
|
|
||||||
#define FB_JPEG_OFFS_SIZE (1024)
|
|
||||||
|
|
||||||
// Use this macro to get a pointer to the free SRAM area located after the framebuffer.
|
// Use this macro to get a pointer to the free SRAM area located after the framebuffer.
|
||||||
#define FB_PIXELS() (MAIN_FB()->pixels+MAIN_FB_SIZE())
|
#define FB_PIXELS() (MAIN_FB()->pixels+MAIN_FB_SIZE())
|
||||||
#endif /* __FRAMEBUFFER_H__ */
|
#endif /* __FRAMEBUFFER_H__ */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user