|
H.264 Codec for ESP32-S3
|
#include "h264_io.h"
Macros | |
| #define | CLAMP(x) ((x) < 0 ? 0 : ((x) > 255 ? 255 : (x))) |
| #define | COLOR_NUM (sizeof(yuv_table) / sizeof(yuv_table[0])) |
Functions | |
| int | read_enc_cb (esp_h264_enc_in_frame_t *frame, int16_t width, int16_t height, esp_h264_raw_format_t format) |
| int | write_enc_cb (esp_h264_enc_out_frame_t *frame) |
| int | read_dec_cd (uint8_t *inbuf, uint32_t inbuf_len, esp_h264_dec_in_frame_t *frame) |
| int | write_dec_cd (esp_h264_dec_out_frame_t *frame, uint8_t *yuv) |
Variables | |
| const uint8_t | yuv_table [38][3] |
| #define CLAMP | ( | x | ) | ((x) < 0 ? 0 : ((x) > 255 ? 255 : (x))) |
| int read_dec_cd | ( | uint8_t * | inbuf, |
| uint32_t | inbuf_len, | ||
| esp_h264_dec_in_frame_t * | frame | ||
| ) |
| int read_enc_cb | ( | esp_h264_enc_in_frame_t * | frame, |
| int16_t | width, | ||
| int16_t | height, | ||
| esp_h264_raw_format_t | format | ||
| ) |
| int write_dec_cd | ( | esp_h264_dec_out_frame_t * | frame, |
| uint8_t * | yuv | ||
| ) |
| int write_enc_cb | ( | esp_h264_enc_out_frame_t * | frame | ) |
| const uint8_t yuv_table[38][3] |