[FFmpeg-devel] [PATCH 3/3] idet improvements: add repeated field detection

Michael Niedermayer michaelni at gmx.at
Tue Nov 4 14:45:07 CET 2014


On Mon, Nov 03, 2014 at 03:34:16PM -0800, Kevin Mitchell wrote:
> rebase and update to use av_rescale. oops didn't know that was there.

[...]

>
> +    idet->total_repeats [         repeat] ++;
> +    idet->repeats       [         repeat] += PRECISION;
> +
>      idet->total_prestat [           type] ++;
>      idet->prestat       [           type] += PRECISION;
>  
>      idet->total_poststat[idet->last_type] ++;
>      idet->poststat      [idet->last_type] += PRECISION;
>  
> +    av_log(ctx, AV_LOG_DEBUG, "Repeated Field:%12s, Single frame:%12s, Multi frame:%12s\n",
> +           rep2str(repeat), type2str(type), type2str(idet->last_type));
>      av_log(ctx, AV_LOG_DEBUG, "Single frame:%12s, Multi frame:%12s\n", type2str(type), type2str(idet->last_type));

This prints the interlace information twice

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141104/c9de77bb/attachment.asc>


More information about the ffmpeg-devel mailing list