On 5/21/2018 3:16 PM, Gagandeep Singh wrote:
> ---
> libavcodec/cfhd.c | 177
> +-
> libavcodec/cfhd.h | 9 +++
> 2 files changed, 158 insertions(+), 28 deletions(-)
>
> diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
> index 7ceb803595..d
2018-05-21 20:16 GMT+02:00, Gagandeep Singh :
> ---
> libavcodec/cfhd.c | 177
> +-
> libavcodec/cfhd.h | 9 +++
> 2 files changed, 158 insertions(+), 28 deletions(-)
Please mention ticket #5522 in the commit message.
Thank you, Carl Eugen
__
>
> +static inline void interlaced_vertical_filter(int16_t *output, int16_t
> *low, int16_t *high,
> + int width, int linesize, int plane)
> +{
> +int i;
> +int16_t even, odd;
> +for (i = 0; i < width; i++) {
> + even = (*low - *high)/2;
> + odd = (*lo
Not really "deinterlacing", it would be "add interlaced file support" or
similar.
On Mon, 21 May 2018 at 20:17 Gagandeep Singh
wrote:
> +static inline void peak_table(int16_t *band, Peak *peak, int length)
> +{
> +int i;
> +for (i = 0; i < length; i++)
> +if (abs(band[i]) > peak