All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
hevc_mp4toannexb_bsf.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bsf.h"
#include "bytestream.h"
#include "hevc.h"

Go to the source code of this file.

Data Structures

struct  HEVCBSFContext


#define MIN_HEVCC_LENGTH   23


static int hevc_extradata_to_annexb (AVBSFContext *ctx)
static int hevc_mp4toannexb_init (AVBSFContext *ctx)
static int hevc_mp4toannexb_filter (AVBSFContext *ctx, AVPacket *out)


static enum AVCodecID codec_ids []
const AVBitStreamFilter ff_hevc_mp4toannexb_bsf

Macro Definition Documentation

#define MIN_HEVCC_LENGTH   23

Definition at line 32 of file hevc_mp4toannexb_bsf.c.

Referenced by hevc_mp4toannexb_init().

Function Documentation

static int hevc_extradata_to_annexb ( AVBSFContext ctx)

Definition at line 39 of file hevc_mp4toannexb_bsf.c.

Referenced by hevc_mp4toannexb_init().

static int hevc_mp4toannexb_init ( AVBSFContext ctx)

Definition at line 97 of file hevc_mp4toannexb_bsf.c.

static int hevc_mp4toannexb_filter ( AVBSFContext ctx,
AVPacket out 

Definition at line 118 of file hevc_mp4toannexb_bsf.c.

Variable Documentation

enum AVCodecID codec_ids[]
Initial value:

Definition at line 185 of file hevc_mp4toannexb_bsf.c.

const AVBitStreamFilter ff_hevc_mp4toannexb_bsf
Initial value:
= {
.name = "hevc_mp4toannexb",
.priv_data_size = sizeof(HEVCBSFContext),
static int hevc_mp4toannexb_filter(AVBSFContext *ctx, AVPacket *out)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void filter(int16_t *output, ptrdiff_t out_stride, int16_t *low, ptrdiff_t low_stride, int16_t *high, ptrdiff_t high_stride, int len, int clip)
Definition: cfhd.c:97
static int hevc_mp4toannexb_init(AVBSFContext *ctx)
static enum AVCodecID codec_ids[]

Definition at line 189 of file hevc_mp4toannexb_bsf.c.