~siretart/x264/trunk

« back to all changes in this revision

Viewing changes to x264.c

  • Committer: Loren Merritt
  • Date: 2005-02-22 05:19:02 UTC
  • Revision ID: git-v1:834eac288ff5e8d40a1a751d61a59d77d67c0537
Add: implicit weighted prediction for B-frames.
Slightly optimize x264_mb_mc_01xywh.
Fix an error in B16x8 cost.


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

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
             "                                  - none, all\n"
138
138
             "      --direct <string>       Direct MV prediction mode [\"temporal\"]\n"
139
139
             "                                  - none, spatial, temporal\n"
 
140
             "  -w, --weightb               Weighted prediction for B-frames\n"
140
141
             "  -m, --subme <integer>       Subpixel motion estimation quality: 1=fast, 5=best. [%d]\n"
141
142
             "\n"
142
143
             "      --level <integer>       Specify IDC level\n"
239
240
            { "output",  required_argument, NULL, 'o' },
240
241
            { "analyse", required_argument, NULL, 'A' },
241
242
            { "direct",  required_argument, NULL, OPT_DIRECT },
 
243
            { "weightb", no_argument,       NULL, 'w' },
242
244
            { "subme",   required_argument, NULL, 'm' },
243
245
            { "level",   required_argument, NULL, OPT_LEVEL },
244
246
            { "rcsens",  required_argument, NULL, OPT_RCSENS },
260
262
 
261
263
        int c;
262
264
 
263
 
        c = getopt_long( argc, argv, "hi:I:b:r:cxB:q:nf:o:s:A:m:p:v",
 
265
        c = getopt_long( argc, argv, "hi:I:b:r:cxB:q:nf:o:s:A:m:p:vw",
264
266
                         long_options, &long_options_index);
265
267
 
266
268
        if( c == -1 )
385
387
                else
386
388
                    param->analyse.i_direct_mv_pred = atoi( optarg );
387
389
                break;
 
390
            case 'w':
 
391
                param->analyse.b_weighted_bipred = 1;
 
392
                break;
388
393
            case 'm':
389
394
                param->analyse.i_subpel_refine = atoi(optarg);
390
395
                break;