comparison libpostproc/postprocess.c @ 180:fc656a23b35a libavcodec

101
author michael
date Wed, 26 Dec 2001 23:31:30 +0000
parents 02b2b7ffe324
children edc5f6cf1855
comparison
equal deleted inserted replaced
179:02b2b7ffe324 180:fc656a23b35a
161 161
162 static struct PPFilter filters[]= 162 static struct PPFilter filters[]=
163 { 163 {
164 {"hb", "hdeblock", 1, 1, 3, H_DEBLOCK}, 164 {"hb", "hdeblock", 1, 1, 3, H_DEBLOCK},
165 {"vb", "vdeblock", 1, 2, 4, V_DEBLOCK}, 165 {"vb", "vdeblock", 1, 2, 4, V_DEBLOCK},
166 {"vr", "rkvdeblock", 1, 2, 4, H_RK1_FILTER}, 166 {"hr", "rkhdeblock", 1, 1, 3, H_RK1_FILTER},
167 {"vr", "rkvdeblock", 1, 2, 4, V_RK1_FILTER},
167 {"h1", "x1hdeblock", 1, 1, 3, H_X1_FILTER}, 168 {"h1", "x1hdeblock", 1, 1, 3, H_X1_FILTER},
168 {"v1", "x1vdeblock", 1, 2, 4, V_X1_FILTER}, 169 {"v1", "x1vdeblock", 1, 2, 4, V_X1_FILTER},
169 {"dr", "dering", 1, 5, 6, DERING}, 170 {"dr", "dering", 1, 5, 6, DERING},
170 {"al", "autolevels", 0, 1, 2, LEVEL_FIX}, 171 {"al", "autolevels", 0, 1, 2, LEVEL_FIX},
171 {"lb", "linblenddeint", 0, 1, 6, LINEAR_BLEND_DEINT_FILTER}, 172 {"lb", "linblenddeint", 0, 1, 6, LINEAR_BLEND_DEINT_FILTER},
538 * * a autoq cpu power dependant enabler 539 * * a autoq cpu power dependant enabler
539 c chrom chrominance filtring enabled 540 c chrom chrominance filtring enabled
540 y nochrom chrominance filtring disabled 541 y nochrom chrominance filtring disabled
541 hb hdeblock horizontal deblocking filter 542 hb hdeblock horizontal deblocking filter
542 vb vdeblock vertical deblocking filter 543 vb vdeblock vertical deblocking filter
544 hr rkhdeblock
543 vr rkvdeblock 545 vr rkvdeblock
544 h1 x1hdeblock Experimental horizontal deblock filter 1 546 h1 x1hdeblock Experimental horizontal deblock filter 1
545 v1 x1vdeblock Experimental vertical deblock filter 1 547 v1 x1vdeblock Experimental vertical deblock filter 1
546 dr dering not implemented yet 548 dr dering not implemented yet
547 al autolevels automatic brightness / contrast fixer 549 al autolevels automatic brightness / contrast fixer
722 724
723 if(gPPMode[quality].error) return -1; 725 if(gPPMode[quality].error) return -1;
724 } 726 }
725 newPPFlag=1; 727 newPPFlag=1;
726 728
727 // it shouldnt matter what we set divx_quality to as long as its not 0 729 //divx_quality is passed to postprocess if autoq if off
728 // (we dont use it if newPPFlag is set) 730 divx_quality= GET_PP_QUALITY_MAX;
729 divx_quality=1;
730 return 1; 731 return 1;
731 } 732 }
732 733
733 /** 734 /**
734 * Obsolete, dont use it, use postprocess2() instead 735 * Obsolete, dont use it, use postprocess2() instead