FFmpeg
Data Structures | Macros | Enumerations | Functions
cfhd.h File Reference
#include <stdint.h>
#include "libavutil/avassert.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

#define VLC_BITS   9
#define SUBBAND_COUNT   10

Definition at line 99 of file cfhd.h.

Referenced by cfhd_decode(), cfhd_encode_close(), cfhd_encode_frame(), and init_frame_defaults().

#define SUBBAND_COUNT_3D   17

Definition at line 100 of file cfhd.h.

Referenced by cfhd_decode(), and free_buffers().

#define DWT_LEVELS   3

Definition at line 108 of file cfhd.h.

Referenced by alloc_buffers(), cfhd_decode(), and cfhd_encode_init().

#define DWT_LEVELS_3D   6

Definition at line 109 of file cfhd.h.

Referenced by alloc_buffers(), and cfhd_decode().

Enumeration Type Documentation

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 34 of file cfhd.h.

Function Documentation

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().