FFmpeg
Data Structures | Macros | Enumerations | Functions
cfhd.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "vlc.h"
#include "cfhddsp.h"

Go to the source code of this file.

Data Structures

struct  CFHD_RL_VLC_ELEM
 
struct  SubBand
 
struct  Plane
 
struct  Peak
 
struct  CFHDContext
 

Macros

#define VLC_BITS   9
 
#define SUBBAND_COUNT   10
 
#define SUBBAND_COUNT_3D   17
 
#define DWT_LEVELS   3
 
#define DWT_LEVELS_3D   6
 

Enumerations

enum  CFHDParam {
  SampleType = 1, SampleIndexTable = 2, BitstreamMarker = 4, VersionMajor = 5,
  VersionMinor = 6, VersionRevision = 7, VersionEdit = 8, TransformType = 10,
  NumFrames = 11, ChannelCount = 12, WaveletCount = 13, SubbandCount = 14,
  NumSpatial = 15, FirstWavelet = 16, GroupTrailer = 18, FrameType = 19,
  ImageWidth = 20, ImageHeight = 21, FrameIndex = 23, LowpassSubband = 25,
  NumLevels = 26, LowpassWidth = 27, LowpassHeight = 28, PixelOffset = 33,
  LowpassQuantization =34, LowpassPrecision = 35, WaveletType = 37, WaveletNumber = 38,
  WaveletLevel = 39, NumBands = 40, HighpassWidth = 41, HighpassHeight = 42,
  LowpassBorder = 43, HighpassBorder = 44, LowpassScale = 45, LowpassDivisor = 46,
  SubbandNumber = 48, BandWidth = 49, BandHeight = 50, SubbandBand = 51,
  BandEncoding = 52, Quantization = 53, BandScale = 54, BandHeader = 55,
  BandTrailer = 56, ChannelNumber = 62, SampleFlags = 68, FrameNumber = 69,
  Precision = 70, InputFormat = 71, BandCodingFlags = 72, PeakLevel = 74,
  PeakOffsetLow = 75, PeakOffsetHigh = 76, Version = 79, BandSecondPass = 82,
  PrescaleTable = 83, EncodedFormat = 84, DisplayHeight = 85, ChannelWidth = 104,
  ChannelHeight = 105
}
 

Functions

int ff_cfhd_init_vlcs (CFHDContext *s)
 

Macro Definition Documentation

◆ VLC_BITS

#define VLC_BITS   9

Definition at line 96 of file cfhd.h.

◆ SUBBAND_COUNT

#define SUBBAND_COUNT   10

Definition at line 97 of file cfhd.h.

◆ SUBBAND_COUNT_3D

#define SUBBAND_COUNT_3D   17

Definition at line 98 of file cfhd.h.

◆ DWT_LEVELS

#define DWT_LEVELS   3

Definition at line 106 of file cfhd.h.

◆ DWT_LEVELS_3D

#define DWT_LEVELS_3D   6

Definition at line 107 of file cfhd.h.

Enumeration Type Documentation

◆ CFHDParam

enum CFHDParam
Enumerator
SampleType 
SampleIndexTable 
BitstreamMarker 
VersionMajor 
VersionMinor 
VersionRevision 
VersionEdit 
TransformType 
NumFrames 
ChannelCount 
WaveletCount 
SubbandCount 
NumSpatial 
FirstWavelet 
GroupTrailer 
FrameType 
ImageWidth 
ImageHeight 
FrameIndex 
LowpassSubband 
NumLevels 
LowpassWidth 
LowpassHeight 
PixelOffset 
LowpassQuantization 
LowpassPrecision 
WaveletType 
WaveletNumber 
WaveletLevel 
NumBands 
HighpassWidth 
HighpassHeight 
LowpassBorder 
HighpassBorder 
LowpassScale 
LowpassDivisor 
SubbandNumber 
BandWidth 
BandHeight 
SubbandBand 
BandEncoding 
Quantization 
BandScale 
BandHeader 
BandTrailer 
ChannelNumber 
SampleFlags 
FrameNumber 
Precision 
InputFormat 
BandCodingFlags 
PeakLevel 
PeakOffsetLow 
PeakOffsetHigh 
Version 
BandSecondPass 
PrescaleTable 
EncodedFormat 
DisplayHeight 
ChannelWidth 
ChannelHeight 

Definition at line 32 of file cfhd.h.

Function Documentation

◆ ff_cfhd_init_vlcs()

int ff_cfhd_init_vlcs ( CFHDContext s)

Similar to dv.c, generate signed VLC tables

Definition at line 276 of file cfhddata.c.

Referenced by cfhd_init().