FFmpeg  4.0
Variables
dvdata.c File Reference

Constants for DV codec. More...

#include <stdint.h>
#include "dvdata.h"

Go to the source code of this file.

Variables

const uint8_t ff_dv_zigzag248_direct [64]
 
const uint8_t ff_dv_quant_shifts [22][4]
 
const uint8_t ff_dv_quant_offset [4] = { 6, 3, 0, 1 }
 
const uint16_t ff_dv_vlc_bits [NB_DV_VLC]
 
const uint8_t ff_dv_vlc_len [NB_DV_VLC]
 
const uint8_t ff_dv_vlc_run [NB_DV_VLC]
 
const uint8_t ff_dv_vlc_level [NB_DV_VLC]
 

Detailed Description

Constants for DV codec.

Definition in file dvdata.c.

Variable Documentation

◆ ff_dv_zigzag248_direct

const uint8_t ff_dv_zigzag248_direct[64]
Initial value:
= {
0, 8, 1, 9, 16, 24, 2, 10,
17, 25, 32, 40, 48, 56, 33, 41,
18, 26, 3, 11, 4, 12, 19, 27,
34, 42, 49, 57, 50, 58, 35, 43,
20, 28, 5, 13, 6, 14, 21, 29,
36, 44, 51, 59, 52, 60, 37, 45,
22, 30, 7, 15, 23, 31, 38, 46,
53, 61, 54, 62, 39, 47, 55, 63,
}

Definition at line 33 of file dvdata.c.

Referenced by dv_init_enc_block(), and dvvideo_decode_init().

◆ ff_dv_quant_shifts

const uint8_t ff_dv_quant_shifts[22][4]
Initial value:
= {
{ 3, 3, 4, 4 },
{ 3, 3, 4, 4 },
{ 2, 3, 3, 4 },
{ 2, 3, 3, 4 },
{ 2, 2, 3, 3 },
{ 2, 2, 3, 3 },
{ 1, 2, 2, 3 },
{ 1, 2, 2, 3 },
{ 1, 1, 2, 2 },
{ 1, 1, 2, 2 },
{ 0, 1, 1, 2 },
{ 0, 1, 1, 2 },
{ 0, 0, 1, 1 },
{ 0, 0, 1, 1 },
{ 0, 0, 0, 1 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
{ 0, 0, 0, 0 },
}

Definition at line 45 of file dvdata.c.

Referenced by dv_guess_qnos(), and dv_init_weight_tables().

◆ ff_dv_quant_offset

const uint8_t ff_dv_quant_offset[4] = { 6, 3, 0, 1 }

Definition at line 70 of file dvdata.c.

Referenced by dv_decode_video_segment(), and dv_guess_qnos().

◆ ff_dv_vlc_bits

const uint16_t ff_dv_vlc_bits[NB_DV_VLC]

Definition at line 77 of file dvdata.c.

Referenced by dv_vlc_map_tableinit(), and ff_dvvideo_init().

◆ ff_dv_vlc_len

const uint8_t ff_dv_vlc_len[NB_DV_VLC]

Definition at line 132 of file dvdata.c.

Referenced by dv_vlc_map_tableinit(), and ff_dvvideo_init().

◆ ff_dv_vlc_run

const uint8_t ff_dv_vlc_run[NB_DV_VLC]

Definition at line 187 of file dvdata.c.

Referenced by dv_vlc_map_tableinit(), and ff_dvvideo_init().

◆ ff_dv_vlc_level

const uint8_t ff_dv_vlc_level[NB_DV_VLC]

Definition at line 242 of file dvdata.c.

Referenced by dv_vlc_map_tableinit(), and ff_dvvideo_init().