comparison libpostproc/postprocess.c @ 830:0a1fbae9f6e1 libavcodec

cleanup
author michael
date Sat, 02 Nov 2002 14:20:05 +0000
parents c39e14fc2392
children 61b558602549
comparison
equal deleted inserted replaced
829:c39e14fc2392 830:0a1fbae9f6e1
516 "tn tmpnoise (3 Thresholds) Temporal Noise Reducer\n" 516 "tn tmpnoise (3 Thresholds) Temporal Noise Reducer\n"
517 " 1. <= 2. <= 3. larger -> stronger filtering\n" 517 " 1. <= 2. <= 3. larger -> stronger filtering\n"
518 "fq forceQuant <quantizer> Force quantizer\n" 518 "fq forceQuant <quantizer> Force quantizer\n"
519 ; 519 ;
520 520
521 /**
522 * returns a PPMode struct which will have a non 0 error variable if an error occured
523 * name is the string after "-pp" on the command line
524 * quality is a number from 0 to GET_PP_QUALITY_MAX
525 */
526 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality) 521 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
527 { 522 {
528 char temp[GET_MODE_BUFFER_SIZE]; 523 char temp[GET_MODE_BUFFER_SIZE];
529 char *p= temp; 524 char *p= temp;
530 char *filterDelimiters= ",/"; 525 char *filterDelimiters= ",/";
551 546
552 if(verbose>1) printf("pp: %s\n", name); 547 if(verbose>1) printf("pp: %s\n", name);
553 548
554 for(;;){ 549 for(;;){
555 char *filterName; 550 char *filterName;
556 int q= 1000000; //GET_PP_QUALITY_MAX; 551 int q= 1000000; //PP_QUALITY_MAX;
557 int chrom=-1; 552 int chrom=-1;
558 char *option; 553 char *option;
559 char *options[OPTIONS_ARRAY_SIZE]; 554 char *options[OPTIONS_ARRAY_SIZE];
560 int i; 555 int i;
561 int filterNameOk=0; 556 int filterNameOk=0;