40 #define OFFSET(x) offsetof(OpusBSFContext, x) 41 #define FLAGS (AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_BSF_PARAM) 43 {
"gain",
"Gain, actual amplification is pow(10, gain/(20.0*256))",
OFFSET(
gain),
61 .
name =
"opus_metadata",
63 .priv_class = &opus_metadata_class,
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
AVCodecParameters * par_out
Parameters of the output stream.
#define LIBAVUTIL_VERSION_INT
static av_cold int init(AVCodecContext *avctx)
The bitstream filter state.
const char * av_default_item_name(void *ptr)
Return the context name.
void * priv_data
Opaque filter-specific private data.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
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)
AVCodecID
Identify the syntax and semantics of the bitstream.
int extradata_size
Size of the extradata content in bytes.
Describe the class of an AVClass context structure.
#define flags(name, subs,...)
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
int ff_bsf_get_packet_ref(AVBSFContext *ctx, AVPacket *pkt)
Called by bitstream filters to get packet for filtering.