FFmpeg  4.0
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 *out)
 
static int h264_redundant_pps_init (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 41 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 57 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 out 
)
static

Definition at line 68 of file h264_redundant_pps_bsf.c.

◆ h264_redundant_pps_init()

static int h264_redundant_pps_init ( AVBSFContext bsf)
static

Definition at line 120 of file h264_redundant_pps_bsf.c.

◆ h264_redundant_pps_close()

static void h264_redundant_pps_close ( AVBSFContext bsf)
static

Definition at line 160 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 167 of file h264_redundant_pps_bsf.c.

◆ ff_h264_redundant_pps_bsf

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 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:114
static void h264_redundant_pps_close(AVBSFContext *bsf)
static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *out)
static enum AVCodecID codec_ids[]
static enum AVCodecID h264_redundant_pps_codec_ids[]

Definition at line 171 of file h264_redundant_pps_bsf.c.