FFmpeg
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 "cbs.h"
#include "cbs_h264.h"
#include "h264.h"

Go to the source code of this file.

Data Structures

struct  H264RedundantPPSContext
 

Functions

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)
 

Variables

static enum AVCodecID h264_redundant_pps_codec_ids []
 
const AVBitStreamFilter ff_h264_redundant_pps_bsf
 

Function Documentation

◆ h264_redundant_pps_fixup_pps()

static int h264_redundant_pps_fixup_pps ( H264RedundantPPSContext ctx,
H264RawPPS pps 
)
static

Definition at line 42 of file h264_redundant_pps_bsf.c.

Referenced by h264_redundant_pps_filter(), and h264_redundant_pps_init().

◆ h264_redundant_pps_fixup_slice()

static int h264_redundant_pps_fixup_slice ( H264RedundantPPSContext ctx,
H264RawSliceHeader slice 
)
static

Definition at line 58 of file h264_redundant_pps_bsf.c.

Referenced by h264_redundant_pps_filter().

◆ h264_redundant_pps_filter()

static int h264_redundant_pps_filter ( AVBSFContext bsf,
AVPacket pkt 
)
static

Definition at line 69 of file h264_redundant_pps_bsf.c.

◆ h264_redundant_pps_init()

static int h264_redundant_pps_init ( AVBSFContext bsf)
static

Definition at line 122 of file h264_redundant_pps_bsf.c.

◆ h264_redundant_pps_flush()

static void h264_redundant_pps_flush ( AVBSFContext bsf)
static

Definition at line 167 of file h264_redundant_pps_bsf.c.

◆ h264_redundant_pps_close()

static void h264_redundant_pps_close ( AVBSFContext bsf)
static

Definition at line 173 of file h264_redundant_pps_bsf.c.

Variable Documentation

◆ h264_redundant_pps_codec_ids

enum AVCodecID h264_redundant_pps_codec_ids[]
static
Initial value:

Definition at line 182 of file h264_redundant_pps_bsf.c.

◆ ff_h264_redundant_pps_bsf

const AVBitStreamFilter ff_h264_redundant_pps_bsf
Initial value:

Definition at line 186 of file h264_redundant_pps_bsf.c.

H264RedundantPPSContext
Definition: h264_redundant_pps_bsf.c:30
init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
filter
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
Definition: filter_design.txt:228
AV_CODEC_ID_H264
@ AV_CODEC_ID_H264
Definition: avcodec.h:245
flush
static void flush(AVCodecContext *avctx)
Definition: aacdec_template.c:500
h264_redundant_pps_flush
static void h264_redundant_pps_flush(AVBSFContext *bsf)
Definition: h264_redundant_pps_bsf.c:167
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
h264_redundant_pps_close
static void h264_redundant_pps_close(AVBSFContext *bsf)
Definition: h264_redundant_pps_bsf.c:173
h264_redundant_pps_init
static int h264_redundant_pps_init(AVBSFContext *bsf)
Definition: h264_redundant_pps_bsf.c:122
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc_bsf.c:148
h264_redundant_pps_codec_ids
static enum AVCodecID h264_redundant_pps_codec_ids[]
Definition: h264_redundant_pps_bsf.c:182
h264_redundant_pps_filter
static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *pkt)
Definition: h264_redundant_pps_bsf.c:69