Data Structures | Functions | Variables
h264_redundant_pps_bsf.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_h264.h"
#include "h264.h"

Go to the source code of this file.

Data Structures

struct  H264RedundantPPSContext


static int h264_redundant_pps_fixup_pps (H264RedundantPPSContext *ctx, H264RawPPS *pps)
static int h264_redundant_pps_fixup_slice (H264RedundantPPSContext *ctx, H264RawSliceHeader *slice)
static int h264_redundant_pps_filter (AVBSFContext *bsf, AVPacket *pkt)
static int h264_redundant_pps_init (AVBSFContext *bsf)
static void h264_redundant_pps_flush (AVBSFContext *bsf)
static void h264_redundant_pps_close (AVBSFContext *bsf)


static enum AVCodecID h264_redundant_pps_codec_ids []
const AVBitStreamFilter ff_h264_redundant_pps_bsf

Function Documentation

static int h264_redundant_pps_fixup_pps ( H264RedundantPPSContext ctx,
H264RawPPS pps 

Definition at line 43 of file h264_redundant_pps_bsf.c.

Referenced by h264_redundant_pps_filter(), and h264_redundant_pps_init().

static int h264_redundant_pps_fixup_slice ( H264RedundantPPSContext ctx,
H264RawSliceHeader slice 

Definition at line 59 of file h264_redundant_pps_bsf.c.

Referenced by h264_redundant_pps_filter().

static int h264_redundant_pps_filter ( AVBSFContext bsf,
AVPacket pkt 

Definition at line 70 of file h264_redundant_pps_bsf.c.

static int h264_redundant_pps_init ( AVBSFContext bsf)

Definition at line 123 of file h264_redundant_pps_bsf.c.

static void h264_redundant_pps_flush ( AVBSFContext bsf)

Definition at line 168 of file h264_redundant_pps_bsf.c.

static void h264_redundant_pps_close ( AVBSFContext bsf)

Definition at line 174 of file h264_redundant_pps_bsf.c.

Variable Documentation

enum AVCodecID h264_redundant_pps_codec_ids[]
Initial value:

Definition at line 183 of file h264_redundant_pps_bsf.c.

const AVBitStreamFilter ff_h264_redundant_pps_bsf
Initial value:
= {
.name = "h264_redundant_pps",
.priv_data_size = sizeof(H264RedundantPPSContext),
static int h264_redundant_pps_init(AVBSFContext *bsf)
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
static void h264_redundant_pps_flush(AVBSFContext *bsf)
static void h264_redundant_pps_close(AVBSFContext *bsf)
static enum AVCodecID codec_ids[]
static enum AVCodecID h264_redundant_pps_codec_ids[]
static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *pkt)

Definition at line 187 of file h264_redundant_pps_bsf.c.