FFmpeg  4.0
Macros | Functions | Variables
svq1.h File Reference

Sorenson Vector Quantizer #1 (SVQ1) video codec. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define SVQ1_BLOCK_SKIP   0
 
#define SVQ1_BLOCK_INTER   1
 
#define SVQ1_BLOCK_INTER_4V   2
 
#define SVQ1_BLOCK_INTRA   3
 

Functions

uint16_t ff_svq1_packet_checksum (const uint8_t *data, const int length, int value)
 

Variables

const int8_t *const ff_svq1_inter_codebooks [6]
 
const int8_t *const ff_svq1_intra_codebooks [6]
 
const uint8_t ff_svq1_block_type_vlc [4][2]
 
const uint8_t ff_svq1_intra_multistage_vlc [6][8][2]
 
const uint8_t ff_svq1_inter_multistage_vlc [6][8][2]
 
const uint16_t ff_svq1_intra_mean_vlc [256][2]
 
const uint16_t ff_svq1_inter_mean_vlc [512][2]
 
const uint16_t ff_svq1_frame_size_table [7][2]
 

Detailed Description

Sorenson Vector Quantizer #1 (SVQ1) video codec.

For more information of the SVQ1 algorithm, visit: http://www.pcisys.net/~melanson/codecs/

Definition in file svq1.h.

Macro Definition Documentation

◆ SVQ1_BLOCK_SKIP

#define SVQ1_BLOCK_SKIP   0

Definition at line 40 of file svq1.h.

Referenced by svq1_decode_delta_block(), and svq1_encode_plane().

◆ SVQ1_BLOCK_INTER

#define SVQ1_BLOCK_INTER   1

Definition at line 41 of file svq1.h.

Referenced by svq1_decode_delta_block(), and svq1_encode_plane().

◆ SVQ1_BLOCK_INTER_4V

#define SVQ1_BLOCK_INTER_4V   2

Definition at line 42 of file svq1.h.

Referenced by svq1_decode_delta_block().

◆ SVQ1_BLOCK_INTRA

#define SVQ1_BLOCK_INTRA   3

Definition at line 43 of file svq1.h.

Referenced by svq1_decode_delta_block(), and svq1_encode_plane().

Function Documentation

◆ ff_svq1_packet_checksum()

uint16_t ff_svq1_packet_checksum ( const uint8_t data,
const int  length,
int  value 
)

Definition at line 60 of file svq13.c.

Referenced by svq1_decode_frame_header(), and svq3_decode_init().

Variable Documentation

◆ ff_svq1_inter_codebooks

const int8_t* const ff_svq1_inter_codebooks[6]

Definition at line 776 of file svq1_cb.h.

Referenced by encode_block(), and svq1_decode_block_non_intra().

◆ ff_svq1_intra_codebooks

const int8_t* const ff_svq1_intra_codebooks[6]

Definition at line 1519 of file svq1_cb.h.

Referenced by encode_block(), and svq1_decode_block_intra().

◆ ff_svq1_block_type_vlc

const uint8_t ff_svq1_block_type_vlc[4][2]

Definition at line 27 of file svq1_vlc.h.

Referenced by svq1_decode_init(), and svq1_encode_plane().

◆ ff_svq1_intra_multistage_vlc

const uint8_t ff_svq1_intra_multistage_vlc[6][8][2]

Definition at line 33 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_decode_init().

◆ ff_svq1_inter_multistage_vlc

const uint8_t ff_svq1_inter_multistage_vlc[6][8][2]

Definition at line 50 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_decode_init().

◆ ff_svq1_intra_mean_vlc

const uint16_t ff_svq1_intra_mean_vlc[256][2]

Definition at line 67 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_decode_init().

◆ ff_svq1_inter_mean_vlc

const uint16_t ff_svq1_inter_mean_vlc[512][2]

Definition at line 136 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_decode_init().

◆ ff_svq1_frame_size_table

const uint16_t ff_svq1_frame_size_table[7][2]

Definition at line 40 of file svq1.c.

Referenced by svq1_decode_frame_header(), and svq1_write_header().