#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavcodec/avcodec.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
|
| static uint8_t * | encode_frames (const AVCodec *enc, int width, int height, int n_frames, size_t *out_size) |
| |
| static void | print_parse_result (const char *label, const uint8_t *out, int out_size) |
| |
| static int | parse_once (AVCodecContext *avctx, enum AVCodecID codec_id, const char *label, const uint8_t *buf, int buf_size) |
| |
| static int | parse_stream (AVCodecContext *avctx, enum AVCodecID codec_id, const char *tag, const uint8_t *buf, int buf_size, int chunk_size, uint8_t **all_out, size_t *all_size) |
| |
| int | main (int argc, char **argv) |
| |
◆ encode_frames()
| static uint8_t * encode_frames |
( |
const AVCodec * | enc, |
|
|
int | width, |
|
|
int | height, |
|
|
int | n_frames, |
|
|
size_t * | out_size ) |
|
static |
◆ print_parse_result()
| static void print_parse_result |
( |
const char * | label, |
|
|
const uint8_t * | out, |
|
|
int | out_size ) |
|
static |
◆ parse_once()
| static int parse_once |
( |
AVCodecContext * | avctx, |
|
|
enum AVCodecID | codec_id, |
|
|
const char * | label, |
|
|
const uint8_t * | buf, |
|
|
int | buf_size ) |
|
static |
◆ parse_stream()
| static int parse_stream |
( |
AVCodecContext * | avctx, |
|
|
enum AVCodecID | codec_id, |
|
|
const char * | tag, |
|
|
const uint8_t * | buf, |
|
|
int | buf_size, |
|
|
int | chunk_size, |
|
|
uint8_t ** | all_out, |
|
|
size_t * | all_size ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ garbage