~siretart/x264/trunk

« back to all changes in this revision

Viewing changes to common/common.c

  • Committer: Loren Merritt
  • Date: 2006-04-19 09:02:19 UTC
  • Revision ID: git-v1:2f95856be50ec7c744ad4d65408846d3dce75491
Before, we eliminated dct blocks containing only a small single coefficient. Now that behavior is optional, by --no-dct-decimate.
based on a patch by Alex Wright.



git-svn-id: svn://svn.videolan.org/x264/trunk@503 df754926-b1dd-0310-bc7b-ec298dee348c

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    param->analyse.i_mv_range = -1; // set from level_idc
122
122
    param->analyse.i_chroma_qp_offset = 0;
123
123
    param->analyse.b_fast_pskip = 1;
 
124
    param->analyse.b_dct_decimate = 1;
124
125
    param->analyse.b_psnr = 1;
125
126
 
126
127
    param->i_cqm_preset = X264_CQM_FLAT;
479
480
    s += sprintf( s, " chroma_qp_offset=%d", p->analyse.i_chroma_qp_offset );
480
481
    s += sprintf( s, " slices=%d", p->i_threads );
481
482
    s += sprintf( s, " nr=%d", p->analyse.i_noise_reduction );
 
483
    s += sprintf( s, " decimate=%d", p->analyse.b_dct_decimate );
482
484
 
483
485
    s += sprintf( s, " bframes=%d", p->i_bframe );
484
486
    if( p->i_bframe )