mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Move pixel format to imlib.
* Remove dependency on sensor.h
This commit is contained in:
parent
d0cde1d0f3
commit
50d17dd860
@ -375,6 +375,16 @@ extern const uint16_t ironbow_table[256];
|
||||
// Image Stuff //
|
||||
/////////////////
|
||||
|
||||
typedef enum {
|
||||
PIXFORMAT_INVALID = 0,
|
||||
PIXFORMAT_BINARY, // 1BPP/BINARY
|
||||
PIXFORMAT_GRAYSCALE, // 1BPP/GRAYSCALE
|
||||
PIXFORMAT_RGB565, // 2BPP/RGB565
|
||||
PIXFORMAT_YUV422, // 2BPP/YUV422
|
||||
PIXFORMAT_BAYER, // 1BPP/RAW
|
||||
PIXFORMAT_JPEG, // JPEG/COMPRESSED
|
||||
} pixformat_t;
|
||||
|
||||
typedef enum image_bpp
|
||||
{
|
||||
IMAGE_BPP_BINARY, // BPP = 0
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#include "ff_wrapper.h"
|
||||
#include "framebuffer.h"
|
||||
#include "sensor.h"
|
||||
#include "imlib.h"
|
||||
#include "py_assert.h"
|
||||
#include "py_helper.h"
|
||||
#include "py_image.h"
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
|
||||
#include "imlib.h"
|
||||
#include "array.h"
|
||||
#include "sensor.h"
|
||||
#include "ff_wrapper.h"
|
||||
#include "xalloc.h"
|
||||
#include "fb_alloc.h"
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
#include "py/nlr.h"
|
||||
#include "ff_wrapper.h"
|
||||
#include "framebuffer.h"
|
||||
#include "sensor.h"
|
||||
#include "py_assert.h"
|
||||
#include "py_helper.h"
|
||||
#include "py_image.h"
|
||||
|
||||
@ -36,16 +36,6 @@
|
||||
#define LEPTON_ID (0x54)
|
||||
#define HM01B0_ID (0xB0)
|
||||
|
||||
typedef enum {
|
||||
PIXFORMAT_INVALID = 0,
|
||||
PIXFORMAT_BINARY, // 1BPP/BINARY
|
||||
PIXFORMAT_GRAYSCALE, // 1BPP/GRAYSCALE
|
||||
PIXFORMAT_RGB565, // 2BPP/RGB565
|
||||
PIXFORMAT_YUV422, // 2BPP/YUV422
|
||||
PIXFORMAT_BAYER, // 1BPP/RAW
|
||||
PIXFORMAT_JPEG, // JPEG/COMPRESSED
|
||||
} pixformat_t;
|
||||
|
||||
typedef enum {
|
||||
FRAMESIZE_INVALID = 0,
|
||||
// C/SIF Resolutions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user