avfilter/idet: typo fix: PROGRSSIVE -> PROGRESSIVE

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Pascal Massimino 2014-09-19 05:52:55 -07:00 committed by Michael Niedermayer
parent 33c752be51
commit 7ac6b8cfa7
2 changed files with 9 additions and 9 deletions

View File

@ -42,8 +42,8 @@ static const char *type2str(Type type)
switch(type) { switch(type) {
case TFF : return "Top Field First "; case TFF : return "Top Field First ";
case BFF : return "Bottom Field First"; case BFF : return "Bottom Field First";
case PROGRSSIVE : return "Progressive "; case PROGRESSIVE : return "Progressive ";
case UNDETERMINED: return "Undetermined "; case UNDETERMINED : return "Undetermined ";
} }
return NULL; return NULL;
} }
@ -108,7 +108,7 @@ static void filter(AVFilterContext *ctx)
}else if(alpha[1] > idet->interlace_threshold * alpha[0]){ }else if(alpha[1] > idet->interlace_threshold * alpha[0]){
type = BFF; type = BFF;
}else if(alpha[1] > idet->progressive_threshold * delta){ }else if(alpha[1] > idet->progressive_threshold * delta){
type = PROGRSSIVE; type = PROGRESSIVE;
}else{ }else{
type = UNDETERMINED; type = UNDETERMINED;
} }
@ -141,7 +141,7 @@ static void filter(AVFilterContext *ctx)
}else if(idet->last_type == BFF){ }else if(idet->last_type == BFF){
idet->cur->top_field_first = 0; idet->cur->top_field_first = 0;
idet->cur->interlaced_frame = 1; idet->cur->interlaced_frame = 1;
}else if(idet->last_type == PROGRSSIVE){ }else if(idet->last_type == PROGRESSIVE){
idet->cur->interlaced_frame = 0; idet->cur->interlaced_frame = 0;
} }
@ -187,13 +187,13 @@ static av_cold void uninit(AVFilterContext *ctx)
av_log(ctx, AV_LOG_INFO, "Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n", av_log(ctx, AV_LOG_INFO, "Single frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
idet->prestat[TFF], idet->prestat[TFF],
idet->prestat[BFF], idet->prestat[BFF],
idet->prestat[PROGRSSIVE], idet->prestat[PROGRESSIVE],
idet->prestat[UNDETERMINED] idet->prestat[UNDETERMINED]
); );
av_log(ctx, AV_LOG_INFO, "Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n", av_log(ctx, AV_LOG_INFO, "Multi frame detection: TFF:%d BFF:%d Progressive:%d Undetermined:%d\n",
idet->poststat[TFF], idet->poststat[TFF],
idet->poststat[BFF], idet->poststat[BFF],
idet->poststat[PROGRSSIVE], idet->poststat[PROGRESSIVE],
idet->poststat[UNDETERMINED] idet->poststat[UNDETERMINED]
); );

View File

@ -29,7 +29,7 @@ typedef int (*ff_idet_filter_func)(const uint8_t *a, const uint8_t *b, const uin
typedef enum { typedef enum {
TFF, TFF,
BFF, BFF,
PROGRSSIVE, PROGRESSIVE,
UNDETERMINED, UNDETERMINED,
} Type; } Type;