hvirtual/toolame-02l/encode.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "common.h"
#include "encoder.h"
#include "bitstream.h"
#include "availbits.h"
#include "encode.h"

Include dependency graph for encode.c:

Go to the source code of this file.

Defines

#define PDS1
#define CHECKITERx
#define PDS3

Functions

void encode_info (frame_info *frame, Bit_stream_struc *bs)
void combine_LR (double sb_sample[2][3][SCALE_BLOCK][SBLIMIT], double joint_sample[3][SCALE_BLOCK][SBLIMIT], int sblimit)
void scale_factor_calc (double sb_sample[][3][SCALE_BLOCK][SBLIMIT], unsigned int scalar[][3][SBLIMIT], int nch, int sblimit)
void pick_scale (unsigned int scalar[2][3][SBLIMIT], frame_info *frame, double max_sc[2][SBLIMIT])
void transmission_pattern (unsigned int scalar[2][3][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info *frame)
void encode_scale (unsigned int bit_alloc[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int scalar[2][3][SBLIMIT], frame_info *frame, Bit_stream_struc *bs)
int bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info *frame)
int VBR_bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info *frame, int vbrlevel)
void main_bit_allocation (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info *frame, options *glopts)
void VBR_maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int nch, int *min_sb, int *min_ch, options *glopts)
int VBR_bit_allocation (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info *frame, options *glopts)
void maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int nch, int *min_sb, int *min_ch)
int a_bit_allocation (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info *frame)
void subband_quantization (unsigned int scalar[2][3][SBLIMIT], double sb_samples[2][3][SCALE_BLOCK][SBLIMIT], unsigned int j_scale[3][SBLIMIT], double j_samps[3][SCALE_BLOCK][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], unsigned int sbband[2][3][SCALE_BLOCK][SBLIMIT], frame_info *frame)
void encode_bit_alloc (unsigned int bit_alloc[2][SBLIMIT], frame_info *frame, Bit_stream_struc *bs)
void sample_encoding (unsigned int sbband[2][3][SCALE_BLOCK][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], frame_info *frame, Bit_stream_struc *bs)
void encode_CRC (unsigned int crc, Bit_stream_struc *bs)

Variables

int vbrstats [15] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
static double snr [18]
static double a [17]
static double b [17]
static unsigned int pds_quant_bits [17]


Define Documentation

#define CHECKITERx

#define PDS1

Definition at line 89 of file encode.c.

#define PDS3

Definition at line 982 of file encode.c.


Function Documentation

int a_bit_allocation ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
int *  adb,
frame_info frame 
)

int bits_for_nonoise ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
frame_info frame 
)

void combine_LR ( double  sb_sample[2][3][SCALE_BLOCK][SBLIMIT],
double  joint_sample[3][SCALE_BLOCK][SBLIMIT],
int  sblimit 
)

Definition at line 61 of file encode.c.

References SCALE_BLOCK.

Referenced by toolame().

void encode_bit_alloc ( unsigned int  bit_alloc[2][SBLIMIT],
frame_info frame,
Bit_stream_struc bs 
)

Definition at line 1158 of file encode.c.

References frame_info::alloc, bit_alloc(), frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void encode_CRC ( unsigned int  crc,
Bit_stream_struc bs 
)

Definition at line 1221 of file encode.c.

References putbits().

Referenced by toolame().

Here is the call graph for this function:

void encode_info ( frame_info frame,
Bit_stream_struc bs 
)

void encode_scale ( unsigned int  bit_alloc[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
unsigned int  scalar[2][3][SBLIMIT],
frame_info frame,
Bit_stream_struc bs 
)

Definition at line 289 of file encode.c.

References bit_alloc(), frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void main_bit_allocation ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
int *  adb,
frame_info frame,
options glopts 
)

void maxmnr ( double  mnr[2][SBLIMIT],
char  used[2][SBLIMIT],
int  sblimit,
int  nch,
int *  min_sb,
int *  min_ch 
)

Definition at line 816 of file encode.c.

Referenced by a_bit_allocation().

void pick_scale ( unsigned int  scalar[2][3][SBLIMIT],
frame_info frame,
double  max_sc[2][SBLIMIT] 
)

Definition at line 174 of file encode.c.

References multiple, frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

void sample_encoding ( unsigned int  sbband[2][3][SCALE_BLOCK][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
frame_info frame,
Bit_stream_struc bs 
)

Definition at line 1185 of file encode.c.

References frame_info::alloc, bit_alloc(), bits, frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void scale_factor_calc ( double  sb_sample[][3][SCALE_BLOCK][SBLIMIT],
unsigned int  scalar[][3][SBLIMIT],
int  nch,
int  sblimit 
)

Definition at line 91 of file encode.c.

References multiple, SCALE_BLOCK, and t.

Referenced by toolame().

void subband_quantization ( unsigned int  scalar[2][3][SBLIMIT],
double  sb_samples[2][3][SCALE_BLOCK][SBLIMIT],
unsigned int  j_scale[3][SBLIMIT],
double  j_samps[3][SCALE_BLOCK][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
unsigned int  sbband[2][3][SCALE_BLOCK][SBLIMIT],
frame_info frame 
)

Definition at line 1021 of file encode.c.

References frame_info::alloc, bit_alloc(), fprintf, frame_info::jsbound, multiple, frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void transmission_pattern ( unsigned int  scalar[2][3][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
frame_info frame 
)

Definition at line 207 of file encode.c.

References frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

int VBR_bit_allocation ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
int *  adb,
frame_info frame,
options glopts 
)

Definition at line 687 of file encode.c.

References frame_info::alloc, bit_alloc(), frame_header::error_protection, frame_info::header, init, frame_info::jsbound, frame_info::nch, frame_info::sblimit, and VBR_maxmnr().

Referenced by main_bit_allocation().

Here is the call graph for this function:

int VBR_bits_for_nonoise ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
frame_info frame,
int  vbrlevel 
)

void VBR_maxmnr ( double  mnr[2][SBLIMIT],
char  used[2][SBLIMIT],
int  sblimit,
int  nch,
int *  min_sb,
int *  min_ch,
options glopts 
)

Definition at line 657 of file encode.c.

Referenced by VBR_bit_allocation().


Variable Documentation

double a[17] [static]

Initial value:

 {
  0.750000000, 0.625000000, 0.875000000, 0.562500000, 0.937500000,
  0.968750000, 0.984375000, 0.992187500, 0.996093750, 0.998046875,
  0.999023438, 0.999511719, 0.999755859, 0.999877930, 0.999938965,
  0.999969482, 0.999984741
}

Definition at line 984 of file encode.c.

Referenced by add_wav(), FileDV::audio_samples_copy(), av_d2q(), avg_pixels8_xy2_altivec(), ParametricEQ::calculate_envelope(), chroma_dc_dequant_idct_c(), cmodel_default(), co(), coded_block_pred(), common_init(), ScaleUnit::cubic_bspline(), dec2(), decode_end(), decode_frame(), decode_init(), deInterlaceBlendLinear(), deInterlaceInterpolateLinear(), deInterlaceMedian(), dequantize_sample(), diff_pixels_mvi(), MaskUnit::do_feather(), do_output_subblock(), DownSampleConfig::DownSampleConfig(), dv_guess_qnos(), dvbsub_init_decoder(), encode_dvb_subtitles(), encode_frame(), encode_init(), eq(), ff_fft_calc_altivec(), ff_mpeg4_pred_dc(), ff_rate_estimate_qscale(), fht(), get_alpha_info_pal8(), get_amv(), BlurEngine::get_constants(), get_diff_limited_q(), get_qscale(), get_symbol(), gmc_motion(), h263_pred_acdc(), h263_pred_dc(), h_block_filter(), horizX1Filter(), imdct_ref(), init_pass2(), int_pow_init(), InvertVideoConfig::InvertVideoConfig(), LinearBlurConfig::LinearBlurConfig(), loco_predict(), mdct_ref(), mdec_common_init(), mm_support(), MotionBlurConfig::MotionBlurConfig(), MPA_encode_init(), mpeg3io_read_int32(), mpeg4_decode_sprite_trajectory(), msmpeg4_pred_dc(), packet_next_int24(), packet_read_int16(), packet_read_int24(), packet_read_int32(), phase_one_load_raw(), pnm_decode_frame(), pow_m1_4(), pred16x16_plane_compat_c(), pred16x16_vertical_c(), pred4x4_vertical_c(), pred8x8_plane_c(), pred8x8_vertical_c(), ChromaKeyUnit::process_chromakey(), ReverbEngine::process_overlay(), HistogramUnit::process_package(), psycho_1_fft(), psycho_2_fft(), put_no_rnd_pixels16_xy2_altivec(), put_no_rnd_pixels8_xy2_altivec(), put_pixels16_xy2_altivec(), put_pixels8_l2(), put_pixels8_xy2_altivec(), put_symbol(), quicktime_read_fixed32(), quicktime_read_int16(), quicktime_read_int16_le(), quicktime_read_int24(), quicktime_read_int32(), quicktime_read_int32_le(), quicktime_read_int64(), quicktime_read_int64_le(), quicktime_read_uint32(), quicktime_write_fixed16(), quicktime_write_fixed32(), ra144_decode_frame(), RadialBlurConfig::RadialBlurConfig(), read_bit_alloc(), read_size(), read_size64(), subband_quantization_new(), ScaleUnit::tabulate_bcubic_f(), ScaleUnit::tabulate_bcubic_i(), ScaleUnit::tabulate_blinear_f(), ScaleUnit::tabulate_blinear_i(), transfer_ARGB8888_to_BGR8888(), transfer_ARGB8888_to_RGB888(), transfer_RGB161616_to_YUV161616(), transfer_RGBA16161616_to_BGR565(), transfer_RGBA16161616_to_BGR888(), transfer_RGBA16161616_to_BGR8888(), transfer_RGBA16161616_to_RGB565(), transfer_RGBA16161616_to_RGB8(), transfer_RGBA16161616_to_RGB888(), transfer_RGBA16161616_to_YUV101010(), transfer_RGBA16161616_to_YUV161616(), transfer_RGBA16161616_to_YUV420P_YUV422P(), transfer_RGBA16161616_to_YUV444P(), transfer_RGBA16161616_to_YUV888(), transfer_RGBA8888_to_BGR565(), transfer_RGBA8888_to_BGR565bg(), transfer_RGBA8888_to_BGR888(), transfer_RGBA8888_to_BGR8888(), transfer_RGBA8888_to_BGR8888bg(), transfer_RGBA8888_to_BGR888bg(), transfer_RGBA8888_to_RGB565(), transfer_RGBA8888_to_RGB565bg(), transfer_RGBA8888_to_RGB8(), transfer_RGBA8888_to_RGB888(), transfer_RGBA8888_to_RGB888bg(), transfer_RGBA8888_to_RGB8bg(), transfer_RGBA8888_to_VYU888(), transfer_RGBA8888_to_YUV888(), transfer_RGBA888_to_YUV420P_YUV422P(), transfer_RGBA888_to_YUV422(), transfer_RGBA888_to_YUV444P(), transfer_RGBA_FLOAT_to_BGR565(), transfer_RGBA_FLOAT_to_BGR888(), transfer_RGBA_FLOAT_to_BGR8888(), transfer_RGBA_FLOAT_to_RGB565(), transfer_RGBA_FLOAT_to_RGB8(), transfer_RGBA_FLOAT_to_RGB888(), transfer_RGBA_FLOAT_to_RGB_FLOAT(), transfer_RGBA_FLOAT_to_YUV101010(), transfer_RGBA_FLOAT_to_YUV161616(), transfer_RGBA_FLOAT_to_YUV420P_YUV422P(), transfer_RGBA_FLOAT_to_YUV422(), transfer_RGBA_FLOAT_to_YUV444P(), transfer_RGBA_FLOAT_to_YUV888(), transfer_RGBA_FLOAT_to_YUVA16161616(), transfer_RGBA_FLOAT_to_YUVA8888(), transfer_UYVA8888_to_RGB_FLOAT(), transfer_UYVA8888_to_RGBA_FLOAT(), transfer_UYVA8888_to_YUV161616(), transfer_UYVA8888_to_YUV888(), transfer_YUVA16161616_to_BGR565(), transfer_YUVA16161616_to_BGR888(), transfer_YUVA16161616_to_BGR8888(), transfer_YUVA16161616_to_RGB565(), transfer_YUVA16161616_to_RGB8(), transfer_YUVA16161616_to_RGB888(), transfer_YUVA16161616_to_RGB_FLOAT(), transfer_YUVA16161616_to_RGBA_FLOAT(), transfer_YUVA16161616_to_VYU888(), transfer_YUVA8888_to_ARGB8888(), transfer_YUVA8888_to_BGR565(), transfer_YUVA8888_to_BGR888(), transfer_YUVA8888_to_BGR8888(), transfer_YUVA8888_to_RGB565(), transfer_YUVA8888_to_RGB8(), transfer_YUVA8888_to_RGB888(), transfer_YUVA8888_to_RGB_FLOAT(), transfer_YUVA8888_to_RGBA8888(), transfer_YUVA8888_to_RGBA_FLOAT(), transfer_YUVA8888_to_VYU888(), v_block_filter(), vc9_coded_block_pred(), vc9_pred_dc(), vertX1Filter(), wma_decode_block(), wma_decode_frame(), wma_decode_init(), wma_lsp_to_curve_init(), FileDV::write_samples(), and ZoomBlurConfig::ZoomBlurConfig().

double b[17] [static]

Initial value:

 {
  -0.250000000, -0.375000000, -0.125000000, -0.437500000, -0.062500000,
  -0.031250000, -0.015625000, -0.007812500, -0.003906250, -0.001953125,
  -0.000976563, -0.000488281, -0.000244141, -0.000122070, -0.000061035,
  -0.000030518, -0.000015259
}

Definition at line 991 of file encode.c.

Referenced by add_left_prediction_bgr32(), add_wav(), FileDV::audio_samples_copy(), av_rescale_q(), avg_pixels8_xy2_altivec(), FileTGA::bgr2rgb(), build_rgb_palette(), calculate_vissual_weight(), chroma_dc_dequant_idct_c(), cmodel_default(), co(), coded_block_pred(), common_end(), common_init(), compute_bit_allocation(), PaletteWheel::create_objects(), ScaleUnit::cubic_bspline(), dec2(), decode(), decode_frame(), decode_rgb_frame(), deInterlaceBlendLinear(), deInterlaceInterpolateLinear(), deInterlaceMedian(), MaskUnit::do_feather(), do_output_subblock(), DownSampleConfig::DownSampleConfig(), PaletteWheelValue::draw(), dv_encode_video_segment(), dv_guess_qnos(), dv_read_video(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), encode(), encode_dvb_subtitles(), encode_frame(), encode_rgb_frame(), eq(), fast_motion_data(), ff_fft_calc_altivec(), ff_mpeg4_pred_dc(), fht(), flic_decode_frame(), BlurEngine::get_constants(), gray_to_mono(), guess_palette(), h_block_filter(), horizX1Filter(), hpel_motion_search(), HSV::hsv_to_yuv(), hybrid(), InvertVideoConfig::InvertVideoConfig(), LinearBlurConfig::LinearBlurConfig(), loco_predict(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), BurnMain::make_palette(), MotionBlurConfig::MotionBlurConfig(), mp_decode_layer2(), mpeg3io_read_int24(), mpeg3io_read_int32(), msmpeg4_pred_dc(), opt_pad_color(), output_audio_block(), packet_next_int24(), packet_read_int16(), packet_read_int24(), packet_read_int32(), phase_one_load_raw(), pnm_decode_frame(), pow_m1_4(), pred16x16_plane_compat_c(), pred16x16_vertical_c(), pred8x8_plane_c(), pred8x8_vertical_c(), ChromaKeyUnit::process_chromakey(), ReverbEngine::process_overlay(), TitleTranslateUnit::process_package(), InterpolatePixelsUnit::process_package(), HoloClient::process_package(), HistogramUnit::process_package(), GammaUnit::process_package(), program_map(), psycho_1_fft(), psycho_2_fft(), put_no_rnd_pixels16_xy2_altivec(), put_no_rnd_pixels8_xy2_altivec(), put_pixels16_xy2_altivec(), put_pixels8_l2(), put_pixels8_xy2_altivec(), qpel_motion_search(), qtrle_decode_24bpp(), qtrle_decode_32bpp(), quicktime_read_fixed32(), quicktime_read_int16(), quicktime_read_int16_le(), quicktime_read_int24(), quicktime_read_int32(), quicktime_read_int32_le(), quicktime_read_int64(), quicktime_read_int64_le(), quicktime_read_uint32(), quicktime_write_fixed16(), quicktime_write_fixed32(), ra144_decode_frame(), RadialBlurConfig::RadialBlurConfig(), read_bit_alloc(), FileTIFF::read_frame(), FileEXR::read_frame(), read_quicktime(), read_size(), read_size64(), VideoScopeUnit::render_data(), ThresholdUnit::render_data(), YUV::rgb_to_yuv_8(), rms(), RTjpeg_yuvrgb16(), sad_hpel_motion_search(), subband_quantization_new(), transfer_RGB161616_to_BGR565(), transfer_RGB161616_to_RGB565(), transfer_RGB161616_to_UYVA8888(), transfer_RGB161616_to_VYU888(), transfer_RGB161616_to_YUV101010(), transfer_RGB161616_to_YUV161616(), transfer_RGB161616_to_YUV420P_YUV422P(), transfer_RGB161616_to_YUV444P(), transfer_RGB161616_to_YUV888(), transfer_RGB161616_to_YUVA16161616(), transfer_RGB161616_to_YUVA8888(), transfer_RGB888_to_BGR565(), transfer_RGB888_to_RGB565(), transfer_RGB888_to_YUV101010(), transfer_RGB888_to_YUV161616(), transfer_RGB888_to_YUVA16161616(), transfer_RGB_FLOAT_to_ARGB8888(), transfer_RGB_FLOAT_to_BGR565(), transfer_RGB_FLOAT_to_BGR888(), transfer_RGB_FLOAT_to_BGR8888(), transfer_RGB_FLOAT_to_RGB565(), transfer_RGB_FLOAT_to_RGB8(), transfer_RGB_FLOAT_to_RGB888(), transfer_RGB_FLOAT_to_RGBA8888(), transfer_RGB_FLOAT_to_UYVA8888(), transfer_RGB_FLOAT_to_VYU888(), transfer_RGB_FLOAT_to_YUV101010(), transfer_RGB_FLOAT_to_YUV161616(), transfer_RGB_FLOAT_to_YUV420P_YUV422P(), transfer_RGB_FLOAT_to_YUV422(), transfer_RGB_FLOAT_to_YUV444P(), transfer_RGB_FLOAT_to_YUV888(), transfer_RGB_FLOAT_to_YUVA16161616(), transfer_RGB_FLOAT_to_YUVA8888(), transfer_RGBA16161616_to_BGR565(), transfer_RGBA16161616_to_BGR888(), transfer_RGBA16161616_to_BGR8888(), transfer_RGBA16161616_to_RGB565(), transfer_RGBA16161616_to_RGB8(), transfer_RGBA16161616_to_RGB888(), transfer_RGBA16161616_to_YUV101010(), transfer_RGBA16161616_to_YUV161616(), transfer_RGBA16161616_to_YUV420P_YUV422P(), transfer_RGBA16161616_to_YUV444P(), transfer_RGBA16161616_to_YUV888(), transfer_RGBA16161616_to_YUVA16161616(), transfer_RGBA16161616_to_YUVA8888(), transfer_RGBA8888_to_BGR565(), transfer_RGBA8888_to_BGR565bg(), transfer_RGBA8888_to_BGR888(), transfer_RGBA8888_to_BGR8888(), transfer_RGBA8888_to_BGR8888bg(), transfer_RGBA8888_to_BGR888bg(), transfer_RGBA8888_to_RGB161616(), transfer_RGBA8888_to_RGB565(), transfer_RGBA8888_to_RGB565bg(), transfer_RGBA8888_to_RGB8(), transfer_RGBA8888_to_RGB888(), transfer_RGBA8888_to_RGB888bg(), transfer_RGBA8888_to_RGB8bg(), transfer_RGBA8888_to_RGBA16161616(), transfer_RGBA8888_to_VYU888(), transfer_RGBA8888_to_YUV101010(), transfer_RGBA8888_to_YUV161616(), transfer_RGBA8888_to_YUV888(), transfer_RGBA8888_to_YUVA16161616(), transfer_RGBA888_to_YUV420P_YUV422P(), transfer_RGBA888_to_YUV422(), transfer_RGBA888_to_YUV444P(), transfer_RGBA_FLOAT_to_BGR565(), transfer_RGBA_FLOAT_to_BGR888(), transfer_RGBA_FLOAT_to_BGR8888(), transfer_RGBA_FLOAT_to_RGB565(), transfer_RGBA_FLOAT_to_RGB8(), transfer_RGBA_FLOAT_to_RGB888(), transfer_RGBA_FLOAT_to_YUV101010(), transfer_RGBA_FLOAT_to_YUV161616(), transfer_RGBA_FLOAT_to_YUV420P_YUV422P(), transfer_RGBA_FLOAT_to_YUV422(), transfer_RGBA_FLOAT_to_YUV444P(), transfer_RGBA_FLOAT_to_YUV888(), transfer_RGBA_FLOAT_to_YUVA16161616(), transfer_RGBA_FLOAT_to_YUVA8888(), transfer_UYVA8888_to_BGR565(), transfer_UYVA8888_to_BGR888(), transfer_UYVA8888_to_BGR8888(), transfer_UYVA8888_to_RGB161616(), transfer_UYVA8888_to_RGB565(), transfer_UYVA8888_to_RGB8(), transfer_UYVA8888_to_RGB888(), transfer_UYVA8888_to_RGB_FLOAT(), transfer_UYVA8888_to_RGBA16161616(), transfer_UYVA8888_to_RGBA8888(), transfer_UYVA8888_to_RGBA_FLOAT(), transfer_VYU888_to_BGR565(), transfer_VYU888_to_BGR888(), transfer_VYU888_to_BGR8888(), transfer_VYU888_to_RGB161616(), transfer_VYU888_to_RGB565(), transfer_VYU888_to_RGB8(), transfer_VYU888_to_RGB888(), transfer_VYU888_to_RGB_FLOAT(), transfer_VYU888_to_RGBA16161616(), transfer_VYU888_to_RGBA8888(), transfer_VYU888_to_RGBA_FLOAT(), transfer_YUV101010_to_BGR565(), transfer_YUV101010_to_BGR888(), transfer_YUV101010_to_BGR8888(), transfer_YUV101010_to_RGB161616(), transfer_YUV101010_to_RGB565(), transfer_YUV101010_to_RGB8(), transfer_YUV101010_to_RGB888(), transfer_YUV101010_to_RGB_FLOAT(), transfer_YUV101010_to_RGBA16161616(), transfer_YUV101010_to_RGBA8888(), transfer_YUV101010_to_RGBA_FLOAT(), transfer_YUV161616_to_ARGB8888(), transfer_YUV161616_to_BGR565(), transfer_YUV161616_to_BGR888(), transfer_YUV161616_to_BGR8888(), transfer_YUV161616_to_RGB565(), transfer_YUV161616_to_RGB8(), transfer_YUV161616_to_RGB888(), transfer_YUV161616_to_RGB_FLOAT(), transfer_YUV161616_to_RGBA8888(), transfer_YUV161616_to_RGBA_FLOAT(), transfer_YUV422_to_BGR565(), transfer_YUV422_to_BGR888(), transfer_YUV422_to_BGR8888(), transfer_YUV422_to_RGB161616(), transfer_YUV422_to_RGB565(), transfer_YUV422_to_RGB8(), transfer_YUV422_to_RGB888(), transfer_YUV422_to_RGB_FLOAT(), transfer_YUV422_to_RGBA16161616(), transfer_YUV422_to_RGBA8888(), transfer_YUV422_to_RGBA_FLOAT(), transfer_YUV888_to_ARGB8888(), transfer_YUV888_to_BGR565(), transfer_YUV888_to_BGR888(), transfer_YUV888_to_BGR8888(), transfer_YUV888_to_RGB565(), transfer_YUV888_to_RGB8(), transfer_YUV888_to_RGB888(), transfer_YUV888_to_RGB_FLOAT(), transfer_YUV888_to_RGBA8888(), transfer_YUV888_to_RGBA_FLOAT(), transfer_YUV_PLANAR_to_ABGR8888(), transfer_YUV_PLANAR_to_ARGB8888(), transfer_YUV_PLANAR_to_BGR565(), transfer_YUV_PLANAR_to_BGR888(), transfer_YUV_PLANAR_to_BGR8888(), transfer_YUV_PLANAR_to_RGB161616(), transfer_YUV_PLANAR_to_RGB565(), transfer_YUV_PLANAR_to_RGB8(), transfer_YUV_PLANAR_to_RGB888(), transfer_YUV_PLANAR_to_RGB_FLOAT(), transfer_YUV_PLANAR_to_RGBA16161616(), transfer_YUV_PLANAR_to_RGBA8888(), transfer_YUV_PLANAR_to_RGBA_FLOAT(), transfer_YUVA16161616_to_ARGB8888(), transfer_YUVA16161616_to_BGR565(), transfer_YUVA16161616_to_BGR888(), transfer_YUVA16161616_to_BGR8888(), transfer_YUVA16161616_to_RGB565(), transfer_YUVA16161616_to_RGB8(), transfer_YUVA16161616_to_RGB888(), transfer_YUVA16161616_to_RGB_FLOAT(), transfer_YUVA16161616_to_RGBA8888(), transfer_YUVA16161616_to_RGBA_FLOAT(), transfer_YUVA8888_to_ARGB8888(), transfer_YUVA8888_to_BGR565(), transfer_YUVA8888_to_BGR888(), transfer_YUVA8888_to_BGR8888(), transfer_YUVA8888_to_RGB565(), transfer_YUVA8888_to_RGB8(), transfer_YUVA8888_to_RGB888(), transfer_YUVA8888_to_RGB_FLOAT(), transfer_YUVA8888_to_RGBA8888(), transfer_YUVA8888_to_RGBA_FLOAT(), try_8x8basis_c(), HistogramSlider::update(), v_block_filter(), vc9_coded_block_pred(), vc9_pred_dc(), vertX1Filter(), vmd_decode(), vmdvideo_decode_init(), vqa_decode_chunk(), wma_decode_block(), wma_decode_init(), wma_lsp_to_curve_init(), wmx1_store_in_cache(), xan_wc3_build_palette(), HSV::yuv_to_hsv(), and ZoomBlurConfig::ZoomBlurConfig().

unsigned int pds_quant_bits[17] [static]

Initial value:

 {
  
  
  
  2, 4, 4, 8, 8,
  16, 32, 64, 128, 256,
  512, 1024, 2048, 4096, 8192,
  16384, 32768
}

Definition at line 998 of file encode.c.

double snr[18] [static]

Initial value:

 { 0.00, 7.00, 11.00, 16.00, 20.84,
  25.28, 31.59, 37.75, 43.84,
  49.89, 55.93, 61.96, 67.98, 74.01,
  80.03, 86.05, 92.01, 98.01
}

Definition at line 358 of file encode.c.

Referenced by DVBTuneStatus::run().

int vbrstats[15] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 10 of file encode.c.

Referenced by main_bit_allocation(), and toolame().


Generated on Mon Apr 28 14:09:05 2008 for Cinelerra by  doxygen 1.5.5