ADPCM Codecs
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
adpcm_ffmpeg::EncoderADPCM_IMA_QT Class Reference
Inheritance diagram for adpcm_ffmpeg::EncoderADPCM_IMA_QT:
Inheritance graph
[legend]
Collaboration diagram for adpcm_ffmpeg::EncoderADPCM_IMA_QT:
Collaboration graph
[legend]

Public Member Functions

int adpcm_encode_init_impl ()
 
int adpcm_encode_frame_impl (AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 
bool is_trellis ()
 
void set_trellis (bool flag)
 
bool store_node (int STEP_INDEX)
 
void loop_nodes (int16_t STEP_TABLE, int STEP_INDEX)
 
void adpcm_compress_trellis (const int16_t *samples, uint8_t *dst, ADPCMChannelStatus *c, int n, int stride)
 
bool begin (int sampleRate, int channels)
 
void end ()
 
AVPacketencode (int16_t *data, size_t sampleCount)
 
int blockAlign ()
 
AVCodecContextctx ()
 
void setCodecID (AVCodecID id)
 
AVCodecID codecID ()
 
void setFrameSize (int fs)
 
virtual void setBlockSize (int size)
 
int blockSize ()
 
int frameSize ()
 
int channels ()
 
bool isPlanar ()
 

Protected Member Functions

virtual int adpcm_encode_init ()
 
int adpcm_encode_close ()
 
uint8_t adpcm_ima_compress_sample (ADPCMChannelStatus *c, int16_t sample)
 
uint8_t adpcm_ima_qt_compress_sample (ADPCMChannelStatus *c, int16_t sample)
 
uint8_t adpcm_yamaha_compress_sample (ADPCMChannelStatus *c, int16_t sample)
 
virtual int adpcm_encode_frame (AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 
int av_get_bits_per_sample ()
 
int ff_get_encode_buffer (AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int flags)
 
int ff_get_buffer (AVCodecContext *avctx, AVFrame *frame, int flags)
 
void avpriv_request_sample (void *avc, const char *msg,...)
 

Protected Attributes

int frontier
 
int version
 
TrellisPathpaths
 
TrellisPathp
 
TrellisNodenode_buf
 
TrellisNode ** nodep_buf
 
TrellisNode ** nodes
 
TrellisNode ** nodes_next
 
TrellisNode ** u
 
TrellisNodet
 
int pathn = 0
 
int froze = -1
 
int i
 
int j
 
int k
 
int generation = 0
 
uint8_t * hash
 
int dec_sample = 0
 
int sample
 
int nibble
 
int nidx
 
int range
 
int heap_pos
 
AVPacket result
 
AVFrame frame
 
int16_t * extended_data [2] = {0}
 
std::vector< uint8_t > av_packet_data
 
std::vector< std::vector< int16_t > > frame_extended_data_vectors
 
int st
 
int pkt_size
 
int ret
 
const int16_t * samples
 
const int16_t *const * samples_p
 
uint8_t * dst
 
ADPCMEncodeContextc
 
ADPCMEncodeContexts
 
AVCodecContext avctx
 
ADPCMEncodeContext enc_ctx
 
std::vector< AVSampleFormat > sample_formats
 

The documentation for this class was generated from the following file: