FFmpeg
|
Include dependency graph for rtpdec_g726.c:
Go to the source code of this file.
Macros | |
#define | RTP_G726_HANDLER(bitrate) |
Functions | |
RTP_G726_HANDLER (16) | |
RTP_G726_HANDLER (24) | |
RTP_G726_HANDLER (32) | |
RTP_G726_HANDLER (40) | |
Macro Definition Documentation
#define RTP_G726_HANDLER | ( | bitrate | ) |
Value:
{ \
AVCodecContext *codec = stream->codec; \
\
codec->bits_per_coded_sample = bitrate/8; \
codec->bit_rate = codec->bits_per_coded_sample * codec->sample_rate; \
return 0; \
} \
RTPDynamicProtocolHandler ff_g726_ ## bitrate ## _dynamic_handler = { \
.enc_name = "G726-" #bitrate, \
.codec_type = AVMEDIA_TYPE_AUDIO, \
.codec_id = AV_CODEC_ID_ADPCM_G726, \
.init = g726_ ## bitrate ## _init, \
}
struct RTPDynamicProtocolHandler RTPDynamicProtocolHandler
Definition: rtpdec.h:33
Definition: avutil.h:144
Definition: libavcodec/avcodec.h:343
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame This method is called when a frame is wanted on an output For an it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return it should return
Definition: filter_design.txt:216
Definition at line 24 of file rtpdec_g726.c.
Function Documentation
RTP_G726_HANDLER | ( | 16 | ) |
RTP_G726_HANDLER | ( | 24 | ) |
RTP_G726_HANDLER | ( | 32 | ) |
RTP_G726_HANDLER | ( | 40 | ) |
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11