H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
h264_io.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#pragma once
8
9#include <stdint.h>
10#include <string.h>
11#include "esp_h264_types.h"
12
13int read_enc_cb(esp_h264_enc_in_frame_t *frame, int16_t width, int16_t height, esp_h264_raw_format_t format);
14
15int write_enc_cb(esp_h264_enc_out_frame_t *frame);
16
17int read_dec_cd(uint8_t *inbuf, uint32_t inbuf_len, esp_h264_dec_in_frame_t *frame);
18
19int write_dec_cd(esp_h264_dec_out_frame_t *frame, uint8_t *yuv);
int write_enc_cb(esp_h264_enc_out_frame_t *frame)
Definition: h264_io.c:324
int read_enc_cb(esp_h264_enc_in_frame_t *frame, int16_t width, int16_t height, esp_h264_raw_format_t format)
Definition: h264_io.c:300
int write_dec_cd(esp_h264_dec_out_frame_t *frame, uint8_t *yuv)
Definition: h264_io.c:336
int read_dec_cd(uint8_t *inbuf, uint32_t inbuf_len, esp_h264_dec_in_frame_t *frame)
Definition: h264_io.c:329