comparison libpostproc/postprocess.c @ 833:61b558602549 libavcodec

pp docs
author michael
date Sun, 03 Nov 2002 10:05:19 +0000
parents 0a1fbae9f6e1
children ee8bb36d2e60
comparison
equal deleted inserted replaced
832:ff66fdb1d092 833:61b558602549
481 // QP_STORE_T QPs[], int QPStride, int isColor, struct PPMode *ppMode); 481 // QP_STORE_T QPs[], int QPStride, int isColor, struct PPMode *ppMode);
482 482
483 /* -pp Command line Help 483 /* -pp Command line Help
484 */ 484 */
485 char *pp_help= 485 char *pp_help=
486 "<filterName>[:<option>[:<option>...]][,[-]<filterName>[:<option>...]]...\n" 486 "<filterName>[:<option>[:<option>...]][[,|/][-]<filterName>[:<option>...]]...\n"
487 "long form example:\n" 487 "long form example:\n"
488 "vdeblock:autoq,hdeblock:autoq,linblenddeint default,-vdeblock\n" 488 "vdeblock:autoq/hdeblock:autoq/linblenddeint default,-vdeblock\n"
489 "short form example:\n" 489 "short form example:\n"
490 "vb:a,hb:a,lb de,-vb\n" 490 "vb:a/hb:a/lb de,-vb\n"
491 "more examples:\n" 491 "more examples:\n"
492 "tn:64:128:256\n" 492 "tn:64:128:256\n"
493 "Filters Options\n" 493 "Filters Options\n"
494 "short long name short long option Description\n" 494 "short long name short long option Description\n"
495 "* * a autoq cpu power dependant enabler\n" 495 "* * a autoq cpu power dependant enabler\n"
496 " c chrom chrominance filtring enabled\n" 496 " c chrom chrominance filtring enabled\n"
497 " y nochrom chrominance filtring disabled\n" 497 " y nochrom chrominance filtring disabled\n"
498 "hb hdeblock (2 Threshold) horizontal deblocking filter\n" 498 "hb hdeblock (2 Threshold) horizontal deblocking filter\n"
499 " 1. Threshold: default=1, higher -> more deblocking\n" 499 " 1. difference factor: default=64, higher -> more deblocking\n"
500 " 2. Threshold: default=40, lower -> more deblocking\n" 500 " 2. flatness threshold: default=40, lower -> more deblocking\n"
501 " the h & v deblocking filters share these\n" 501 " the h & v deblocking filters share these\n"
502 " so u cant set different thresholds for h / v\n" 502 " so u cant set different thresholds for h / v\n"
503 "vb vdeblock (2 Threshold) vertical deblocking filter\n" 503 "vb vdeblock (2 Threshold) vertical deblocking filter\n"
504 "h1 x1hdeblock Experimental h deblock filter 1\n" 504 "h1 x1hdeblock Experimental h deblock filter 1\n"
505 "v1 x1vdeblock Experimental v deblock filter 1\n" 505 "v1 x1vdeblock Experimental v deblock filter 1\n"
535 ppMode->maxTmpNoise[1]= 1500; 535 ppMode->maxTmpNoise[1]= 1500;
536 ppMode->maxTmpNoise[2]= 3000; 536 ppMode->maxTmpNoise[2]= 3000;
537 ppMode->maxAllowedY= 234; 537 ppMode->maxAllowedY= 234;
538 ppMode->minAllowedY= 16; 538 ppMode->minAllowedY= 16;
539 ppMode->baseDcDiff= 256/4; 539 ppMode->baseDcDiff= 256/4;
540 ppMode->flatnessThreshold=40;
541 ppMode->flatnessThreshold= 56-16; 540 ppMode->flatnessThreshold= 56-16;
542 ppMode->maxClippedThreshold= 0.01; 541 ppMode->maxClippedThreshold= 0.01;
543 ppMode->error=0; 542 ppMode->error=0;
544 543
545 strncpy(temp, name, GET_MODE_BUFFER_SIZE); 544 strncpy(temp, name, GET_MODE_BUFFER_SIZE);