FFmpeg
Data Structures | Macros | Functions | Variables
vp9_raw_reorder_bsf.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/intmath.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "bsf.h"
#include "get_bits.h"
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  VP9RawReorderFrame
 
struct  VP9RawReorderContext
 

Macros

#define FRAME_SLOTS   8
 

Functions

static void vp9_raw_reorder_frame_free (VP9RawReorderFrame **frame)
 
static void vp9_raw_reorder_clear_slot (VP9RawReorderContext *ctx, int s)
 
static int vp9_raw_reorder_frame_parse (AVBSFContext *bsf, VP9RawReorderFrame *frame)
 
static int vp9_raw_reorder_make_output (AVBSFContext *bsf, AVPacket *out, VP9RawReorderFrame *last_frame)
 
static int vp9_raw_reorder_filter (AVBSFContext *bsf, AVPacket *out)
 
static void vp9_raw_reorder_flush (AVBSFContext *bsf)
 
static void vp9_raw_reorder_close (AVBSFContext *bsf)
 

Variables

static enum AVCodecID vp9_raw_reorder_codec_ids []
 
const AVBitStreamFilter ff_vp9_raw_reorder_bsf
 

Macro Definition Documentation

#define FRAME_SLOTS   8

Function Documentation

static void vp9_raw_reorder_frame_free ( VP9RawReorderFrame **  frame)
static

Definition at line 56 of file vp9_raw_reorder_bsf.c.

Referenced by vp9_raw_reorder_clear_slot(), and vp9_raw_reorder_filter().

static void vp9_raw_reorder_clear_slot ( VP9RawReorderContext ctx,
int  s 
)
static
static int vp9_raw_reorder_frame_parse ( AVBSFContext bsf,
VP9RawReorderFrame frame 
)
static

Definition at line 74 of file vp9_raw_reorder_bsf.c.

Referenced by vp9_raw_reorder_filter().

static int vp9_raw_reorder_make_output ( AVBSFContext bsf,
AVPacket out,
VP9RawReorderFrame last_frame 
)
static

Definition at line 171 of file vp9_raw_reorder_bsf.c.

Referenced by vp9_raw_reorder_filter().

static int vp9_raw_reorder_filter ( AVBSFContext bsf,
AVPacket out 
)
static

Definition at line 277 of file vp9_raw_reorder_bsf.c.

static void vp9_raw_reorder_flush ( AVBSFContext bsf)
static

Definition at line 388 of file vp9_raw_reorder_bsf.c.

static void vp9_raw_reorder_close ( AVBSFContext bsf)
static

Definition at line 398 of file vp9_raw_reorder_bsf.c.

Variable Documentation

enum AVCodecID vp9_raw_reorder_codec_ids[]
static
Initial value:

Definition at line 407 of file vp9_raw_reorder_bsf.c.

const AVBitStreamFilter ff_vp9_raw_reorder_bsf
Initial value:
= {
.name = "vp9_raw_reorder",
.priv_data_size = sizeof(VP9RawReorderContext),
}
static void flush(AVCodecContext *avctx)
static int vp9_raw_reorder_filter(AVBSFContext *bsf, AVPacket *out)
static void vp9_raw_reorder_close(AVBSFContext *bsf)
static void vp9_raw_reorder_flush(AVBSFContext *bsf)
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 enum AVCodecID codec_ids[]
static enum AVCodecID vp9_raw_reorder_codec_ids[]

Definition at line 411 of file vp9_raw_reorder_bsf.c.