# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# dirac_encparams_t Struct Reference

`#include <dirac_encoder.h>`

List of all members.

## Public Attributes

- int lossless
- float qf
- int L1_sep
- int num_L1
- float cpd
- int xblen
- int yblen
- int xbsep
- int ybsep
- int video_format
- dirac_wlt_filter_t intra_wlt_filter
- dirac_wlt_filter_t inter_wlt_filter
- unsigned int wlt_depth
- unsigned int spatial_partition
- unsigned int denoise
- unsigned int def_spatial_partition
- unsigned int multi_quants
- dirac_mvprecision_t mv_precision
- int trate

## Detailed Description

Structure that holds the encoder specific parameters

## Member Data Documentation

int dirac_encparams_t::lossless

Quality factor

float dirac_encparams_t::qf

Quality factor

int dirac_encparams_t::L1_sep

The separation between L1 frames

int dirac_encparams_t::num_L1

The number of L1 frames before the next intra frame. Together with L1_sep determines the GOP structure.

float dirac_encparams_t::cpd

Normalised viewing distance parameter, in cycles per degree

int dirac_encparams_t::xblen

The width of blocks used for motion compensation

int dirac_encparams_t::yblen

The height of blocks used for motion compensation

int dirac_encparams_t::xbsep

The horizontal separation between blocks. Always <xblen

int dirac_encparams_t::ybsep

The vertical separation between blocks. Always <yblen

int dirac_encparams_t::video_format

Video format preset

dirac_wlt_filter_t dirac_encparams_t::intra_wlt_filter

Transform filter for intra frames

dirac_wlt_filter_t dirac_encparams_t::inter_wlt_filter

Transform filter for inter frames

unsigned int dirac_encparams_t::wlt_depth

Transform depth

unsigned int dirac_encparams_t::spatial_partition

Spatial partitioning flag

unsigned int dirac_encparams_t::denoise

Denoising flag

unsigned int dirac_encparams_t::def_spatial_partition

default Spatial partitioning flag

unsigned int dirac_encparams_t::multi_quants

Multiple quantisers flag

dirac_mvprecision_t dirac_encparams_t::mv_precision

motion-vector pixel precision

int dirac_encparams_t::trate

target bit rate in kbps

The documentation for this struct was generated from the following file:

- dirac_encoder.h

© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.