Go to the source code of this file.
Classes | |
| struct | MpegAudioContext |
Functions | |
| static int | MPA_encode_init (AVCodecContext *avctx) |
| static void | idct32 (int *out, int *tab) |
| static void | filter (MpegAudioContext *s, int ch, short *samples, int incr) |
| static void | compute_scale_factors (unsigned char scale_code[SBLIMIT], unsigned char scale_factors[SBLIMIT][3], int sb_samples[3][12][SBLIMIT], int sblimit) |
| static void | psycho_acoustic_model (MpegAudioContext *s, short smr[SBLIMIT]) |
| static void | compute_bit_allocation (MpegAudioContext *s, short smr1[MPA_MAX_CHANNELS][SBLIMIT], unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], int *padding) |
| static void | encode_frame (MpegAudioContext *s, unsigned char bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], int padding) |
| static int | MPA_encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) |
| static int | MPA_encode_close (AVCodecContext *avctx) |
Variables | |
| AVCodec | mp2_encoder |
| static int MPA_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 64 of file mpegaudioenc.c.
| static void idct32 | ( | int * | out, | |
| int * | tab | |||
| ) | [static] |
| static void filter | ( | MpegAudioContext * | s, | |
| int | ch, | |||
| short * | samples, | |||
| int | incr | |||
| ) | [static] |
Definition at line 312 of file mpegaudioenc.c.
Referenced by adjustFilter(), av_resample(), bobDeintFilter(), bobDtor(), Cvt420422(), Cvt422420(), denoise3DFilter(), GameTreeItem::getFillSql(), GreedyHDeint(), GreedyHDeintFilter(), h_resample_fast(), h_resample_fast4_mmx(), h_resample_slow(), MythburnWizard::handleAddFile(), hdhomerun_device_set_tuner_filter_by_array(), initFilter(), ProfileItem::IsValid(), IvtcFilter(), KernelDeint(), MPA_encode_frame(), mpegts_open_pes_filter(), mpegts_open_section_filter(), MythPluginManager::MythPluginManager(), new_filter(), new_force_template(), newAdjustFilter(), newConvertFilter(), NewDenoise3DFilter(), NewIvtcFilter(), NewKernelDeintFilter(), oneFieldFilter(), OpenGLVideo::PrepareFrame(), runFileSelector(), runImportVideo(), sws_getDefaultFilter(), VideoDisplayProfile::toString(), ProfileItem::toString(), truespeech_apply_twopoint_filter(), tta_decode_frame(), HDHRChannel::UpdateFilters(), xa_decode(), YadifDeint(), YadifDeintFilter(), and yuv2packed2().
| static void compute_scale_factors | ( | unsigned char | scale_code[SBLIMIT], | |
| unsigned char | scale_factors[SBLIMIT][3], | |||
| int | sb_samples[3][12][SBLIMIT], | |||
| int | sblimit | |||
| ) | [static] |
| static void psycho_acoustic_model | ( | MpegAudioContext * | s, | |
| short | smr[SBLIMIT] | |||
| ) | [static] |
| static void compute_bit_allocation | ( | MpegAudioContext * | s, | |
| short | smr1[MPA_MAX_CHANNELS][SBLIMIT], | |||
| unsigned char | bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], | |||
| int * | padding | |||
| ) | [static] |
Definition at line 505 of file mpegaudioenc.c.
| static void encode_frame | ( | MpegAudioContext * | s, | |
| unsigned char | bit_alloc[MPA_MAX_CHANNELS][SBLIMIT], | |||
| int | padding | |||
| ) | [static] |
Definition at line 610 of file mpegaudioenc.c.
| static int MPA_encode_frame | ( | AVCodecContext * | avctx, | |
| unsigned char * | frame, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
Definition at line 754 of file mpegaudioenc.c.
| static int MPA_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 784 of file mpegaudioenc.c.
Initial value:
{
"mp2",
CODEC_TYPE_AUDIO,
CODEC_ID_MP2,
sizeof(MpegAudioContext),
MPA_encode_init,
MPA_encode_frame,
MPA_encode_close,
NULL,
}
Definition at line 790 of file mpegaudioenc.c.
1.5.5