FFmpeg
Macros | Functions | Variables
api-h264-slice-test.c File Reference
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "libavcodec/avcodec.h"
#include "libavutil/pixdesc.h"
#include "libavutil/hash.h"
#include "libavutil/bswap.h"

Go to the source code of this file.

Macros

#define MAX_SLICES   8
 

Functions

static int decode (AVCodecContext *dec_ctx, AVFrame *frame, AVPacket *pkt)
 
int main (int argc, char **argv)
 

Variables

static int header = 0
 

Macro Definition Documentation

◆ MAX_SLICES

#define MAX_SLICES   8

Definition at line 23 of file api-h264-slice-test.c.

Function Documentation

◆ decode()

static int decode ( AVCodecContext dec_ctx,
AVFrame frame,
AVPacket pkt 
)
static

Definition at line 49 of file api-h264-slice-test.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 110 of file api-h264-slice-test.c.

Variable Documentation

◆ header

int header = 0
static

Definition at line 47 of file api-h264-slice-test.c.

Referenced by decode().