FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
noise_bsf.c File Reference
#include <stdlib.h>
#include <string.h>
#include "avcodec.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Functions

static int noise (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 

Variables

AVBitStreamFilter ff_noise_bsf
 

Function Documentation

static int noise ( AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
const char *  args,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size,
int  keyframe 
)
static

Variable Documentation

AVBitStreamFilter ff_noise_bsf
Initial value:
={
.name = "noise",
.priv_data_size = sizeof(int),
}
static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
Definition: noise_bsf.c:28
static void filter(MpegAudioContext *s, int ch, const short *samples, int incr)

Definition at line 51 of file noise_bsf.c.