FFmpeg  4.0
Functions | Variables
api-band-test.c File Reference
#include "libavutil/adler32.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/imgutils.h"

Go to the source code of this file.

Functions

static void draw_horiz_band (AVCodecContext *ctx, const AVFrame *fr, int offset[4], int slice_position, int type, int height)
 
static int video_decode (const char *input_filename)
 
int main (int argc, char **argv)
 

Variables

uint8_tslice_byte_buffer
 draw_horiz_band test. More...
 
uint8_t slice_byte_buffer_size
 
int draw_horiz_band_called
 

Function Documentation

◆ draw_horiz_band()

static void draw_horiz_band ( AVCodecContext ctx,
const AVFrame fr,
int  offset[4],
int  slice_position,
int  type,
int  height 
)
static

Definition at line 36 of file api-band-test.c.

Referenced by video_decode().

◆ video_decode()

static int video_decode ( const char *  input_filename)
static

Definition at line 67 of file api-band-test.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 209 of file api-band-test.c.

Variable Documentation

◆ slice_byte_buffer

uint8_t* slice_byte_buffer

draw_horiz_band test.

Definition at line 32 of file api-band-test.c.

Referenced by draw_horiz_band(), and video_decode().

◆ slice_byte_buffer_size

uint8_t slice_byte_buffer_size

Definition at line 33 of file api-band-test.c.

Referenced by video_decode().

◆ draw_horiz_band_called

int draw_horiz_band_called

Definition at line 34 of file api-band-test.c.

Referenced by draw_horiz_band(), and video_decode().