[FFmpeg-devel] [PATCH] Indeo 5 decoder

pross at xvid.org pross
Mon Feb 1 11:31:29 CET 2010


On Mon, Feb 01, 2010 at 09:17:41AM +0200, Kostya wrote:
> $subj

> +/**
> + * @file libavcodec/indeo5data.h
> + * This file contains data needed for the Indeo5 decoder.
> + */
> +
> +#ifndef AVCODEC_INDEO5DATA_H
> +#define AVCODEC_INDEO5DATA_H
> +
> +#include <stdint.h>
> +
> +/**
> + *  standard picture dimensions (width, height)
> + */
> +static uint16_t ivi5_common_pic_sizes[30] = {640, 480, 320, 240, 160, 120, 704, 480, 352, 240, 352, 288, 176, 144,
> +                                             240, 180, 640, 240, 704, 240,  80,  60,  88,  72,   0,   0,   0,   0, 0, 0};

these would fit in uint8_t if you divided everyting by 4.
also the array content should start on a new line, rather then
aligned to the '= {'

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100201/7dbdaf67/attachment.pgp>



More information about the ffmpeg-devel mailing list