[FFmpeg-devel] GSoc Qualification Task - Implementing Compression technique B44 as a part of exr format (libavcodec/exr.c)
Paul B Mahol
onemda at gmail.com
Tue Mar 17 15:16:16 CET 2015
On 3/16/15, greeshma <greeshmabalabadra at gmail.com> wrote:
> Hello ,
>
> I have implemented B44 lossy compression technique.The first patch is
> hereby attached.Please have a look.
> The diff file is also attached.
>
> diff --git a/libavcodec/exr.c b/libavcodec/exr.c
> index 6251fb7..e540d4c 100644
> --- a/libavcodec/exr.c
> +++ b/libavcodec/exr.c
> @@ -45,6 +45,10 @@
> #include "mathops.h"
> #include "thread.h"
>
> +typedef int bool;
> +#define true 1
> +#define false 0
This appear to be unused.
> +
> enum ExrCompr {
> EXR_RAW,
> EXR_RLE,
> @@ -69,6 +73,19 @@ typedef struct EXRChannel {
> enum ExrPixelType pixel_type;
> } EXRChannel;
>
> +
> +typedef struct EXRChannelData
> +{
> + unsigned short * start;
> + unsigned short * end;
> + int nx;
> + int ny;
> + int ys;
> + enum ExrPixelType type;
> + bool pLinear;
This seems to be unused.
> + int size;
> +}EXRChannelData;
> +
> typedef struct EXRThreadData {
> uint8_t *uncompressed_data;
[...]
More information about the ffmpeg-devel
mailing list