FFmpeg
Loading...
Searching...
No Matches
svq1.h File Reference

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

#include <stdint.h>
#include "libavutil/attributes_internal.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
 
#define SVQ1_BLOCK_SKIP_CODE   1
 
#define SVQ1_BLOCK_SKIP_LEN   1
 
#define SVQ1_BLOCK_INTER_CODE   1
 
#define SVQ1_BLOCK_INTER_LEN   2
 
#define SVQ1_BLOCK_INTRA_CODE   0
 
#define SVQ1_BLOCK_INTRA_LEN   3
 

Variables

FF_VISIBILITY_PUSH_HIDDEN 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 42 of file svq1.h.

Referenced by svq1_decode_delta_block().

◆ SVQ1_BLOCK_INTER

#define SVQ1_BLOCK_INTER   1

Definition at line 43 of file svq1.h.

Referenced by svq1_decode_delta_block().

◆ SVQ1_BLOCK_INTER_4V

#define SVQ1_BLOCK_INTER_4V   2

Definition at line 44 of file svq1.h.

Referenced by svq1_decode_delta_block().

◆ SVQ1_BLOCK_INTRA

#define SVQ1_BLOCK_INTRA   3

Definition at line 45 of file svq1.h.

Referenced by svq1_decode_delta_block().

◆ SVQ1_BLOCK_SKIP_CODE

#define SVQ1_BLOCK_SKIP_CODE   1

Definition at line 47 of file svq1.h.

Referenced by svq1_encode_plane().

◆ SVQ1_BLOCK_SKIP_LEN

#define SVQ1_BLOCK_SKIP_LEN   1

Definition at line 48 of file svq1.h.

Referenced by svq1_encode_plane().

◆ SVQ1_BLOCK_INTER_CODE

#define SVQ1_BLOCK_INTER_CODE   1

Definition at line 49 of file svq1.h.

Referenced by svq1_encode_plane().

◆ SVQ1_BLOCK_INTER_LEN

#define SVQ1_BLOCK_INTER_LEN   2

Definition at line 50 of file svq1.h.

Referenced by svq1_encode_plane().

◆ SVQ1_BLOCK_INTRA_CODE

#define SVQ1_BLOCK_INTRA_CODE   0

Definition at line 51 of file svq1.h.

Referenced by svq1_encode_plane().

◆ SVQ1_BLOCK_INTRA_LEN

#define SVQ1_BLOCK_INTRA_LEN   3

Definition at line 52 of file svq1.h.

Referenced by svq1_encode_plane().

Variable Documentation

◆ ff_svq1_inter_codebooks

FF_VISIBILITY_PUSH_HIDDEN const int8_t* const ff_svq1_inter_codebooks[6]
extern

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]
extern

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]
extern

Definition at line 27 of file svq1_vlc.h.

Referenced by svq1_static_init().

◆ ff_svq1_intra_multistage_vlc

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

Definition at line 33 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_static_init().

◆ ff_svq1_inter_multistage_vlc

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

Definition at line 50 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_static_init().

◆ ff_svq1_intra_mean_vlc

const uint16_t ff_svq1_intra_mean_vlc[256][2]
extern

Definition at line 67 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_static_init().

◆ ff_svq1_inter_mean_vlc

const uint16_t ff_svq1_inter_mean_vlc[512][2]
extern

Definition at line 136 of file svq1_vlc.h.

Referenced by encode_block(), and svq1_static_init().

◆ ff_svq1_frame_size_table

const uint16_t ff_svq1_frame_size_table[7][2]
extern

Definition at line 40 of file svq1.c.

Referenced by svq1_decode_frame_header(), and svq1_write_header().