discoverpixy
Functions
pixy_frame.c File Reference
#include "pixy_frame.h"
#include "pixy.h"
#include "tft.h"
#include <stdlib.h>
Include dependency graph for pixy_frame.c:

Functions

static int renderBA81 (uint16_t xpos, uint16_t ypos, uint16_t width, uint16_t height, uint32_t frameLen, uint8_t *frame)
 
static int saveBA81 (FILE_HANDLE *handle, uint16_t width, uint16_t height, uint32_t frameLen, uint8_t *frame)
 
int pixy_render_full_frame (uint16_t x, uint16_t y)
 
int pixy_render_cropped_frame (uint16_t x, uint16_t y, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)
 
int pixy_save_full_frame (FILE_HANDLE *handle)
 
int pixy_save_cropped_frame (FILE_HANDLE *handle, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)
 
static void interpolateBayer (uint16_t width, uint16_t x, uint16_t y, uint8_t *pixel, uint8_t *r, uint8_t *g, uint8_t *b)
 
int pixy_cc_set_region (uint8_t signum, uint16_t xoffset, uint16_t yoffset, uint16_t width, uint16_t height)
 

Function Documentation

static void interpolateBayer ( uint16_t  width,
uint16_t  x,
uint16_t  y,
uint8_t *  pixel,
uint8_t *  r,
uint8_t *  g,
uint8_t *  b 
)
static

Here is the caller graph for this function:

static int renderBA81 ( uint16_t  xpos,
uint16_t  ypos,
uint16_t  width,
uint16_t  height,
uint32_t  frameLen,
uint8_t *  frame 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int saveBA81 ( FILE_HANDLE handle,
uint16_t  width,
uint16_t  height,
uint32_t  frameLen,
uint8_t *  frame 
)
static

Here is the call graph for this function:

Here is the caller graph for this function: