Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: patched-ffmpeg-mt/libavcodec/lzw.h

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * LZW decoder 2 * LZW decoder
3 * Copyright (c) 2003 Fabrice Bellard 3 * Copyright (c) 2003 Fabrice Bellard
4 * Copyright (c) 2006 Konstantin Shishkov 4 * Copyright (c) 2006 Konstantin Shishkov
5 * 5 *
6 * This file is part of FFmpeg. 6 * This file is part of FFmpeg.
7 * 7 *
8 * FFmpeg is free software; you can redistribute it and/or 8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 12 matching lines...) Expand all
23 /** 23 /**
24 * @file libavcodec/lzw.h 24 * @file libavcodec/lzw.h
25 * @brief LZW decoding routines 25 * @brief LZW decoding routines
26 * @author Fabrice Bellard 26 * @author Fabrice Bellard
27 * Modified for use in TIFF by Konstantin Shishkov 27 * Modified for use in TIFF by Konstantin Shishkov
28 */ 28 */
29 29
30 #ifndef AVCODEC_LZW_H 30 #ifndef AVCODEC_LZW_H
31 #define AVCODEC_LZW_H 31 #define AVCODEC_LZW_H
32 32
33 #include <stdint.h>
34
33 struct PutBitContext; 35 struct PutBitContext;
34 36
35 enum FF_LZW_MODES{ 37 enum FF_LZW_MODES{
36 FF_LZW_GIF, 38 FF_LZW_GIF,
37 FF_LZW_TIFF 39 FF_LZW_TIFF
38 }; 40 };
39 41
40 /* clients should not know what LZWState is */ 42 /* clients should not know what LZWState is */
41 typedef void LZWState; 43 typedef void LZWState;
42 44
(...skipping 10 matching lines...) Expand all
53 extern const int ff_lzw_encode_state_size; 55 extern const int ff_lzw_encode_state_size;
54 56
55 void ff_lzw_encode_init(struct LZWEncodeState *s, uint8_t *outbuf, int outsize, 57 void ff_lzw_encode_init(struct LZWEncodeState *s, uint8_t *outbuf, int outsize,
56 int maxbits, enum FF_LZW_MODES mode, 58 int maxbits, enum FF_LZW_MODES mode,
57 void (*lzw_put_bits)(struct PutBitContext *, int, unsign ed int)); 59 void (*lzw_put_bits)(struct PutBitContext *, int, unsign ed int));
58 int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize); 60 int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize);
59 int ff_lzw_encode_flush(struct LZWEncodeState *s, 61 int ff_lzw_encode_flush(struct LZWEncodeState *s,
60 void (*lzw_flush_put_bits)(struct PutBitContext *)); 62 void (*lzw_flush_put_bits)(struct PutBitContext *));
61 63
62 #endif /* AVCODEC_LZW_H */ 64 #endif /* AVCODEC_LZW_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698