libavcodec/tiff.c File Reference
TIFF image decoder.  
More...
#include "avcodec.h"
#include "lzw.h"
#include "tiff.h"
#include "faxcompr.h"
Go to the source code of this file.
 | 
 Data Structures | 
| struct   | TiffContext | 
 Functions | 
| static int  | tget_short (const uint8_t **p, int le) | 
| static int  | tget_long (const uint8_t **p, int le) | 
| static int  | tget (const uint8_t **p, int type, int le) | 
| static int  | tiff_unpack_strip (TiffContext *s, uint8_t *dst, int stride, const uint8_t *src, int size, int lines) | 
| static int  | tiff_decode_tag (TiffContext *s, const uint8_t *start, const uint8_t *buf, const uint8_t *end_buf) | 
| static int  | decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) | 
| static av_cold int  | tiff_init (AVCodecContext *avctx) | 
| static av_cold int  | tiff_end (AVCodecContext *avctx) | 
 Variables | 
| AVCodec  | tiff_decoder | 
Detailed Description
TIFF image decoder. 
- Author:
 - Konstantin Shishkov 
 
Definition in file tiff.c.
Function Documentation
      
        
          | static int decode_frame            | 
          ( | 
          AVCodecContext *  | 
           avctx,  | 
        
        
           | 
           | 
          void *  | 
           data,  | 
        
        
           | 
           | 
          int *  | 
           data_size,  | 
        
        
           | 
           | 
          const uint8_t *  | 
           buf,  | 
        
        
           | 
           | 
          int  | 
           buf_size |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | static int tget            | 
          ( | 
          const uint8_t **  | 
           p,  | 
        
        
           | 
           | 
          int  | 
           type,  | 
        
        
           | 
           | 
          int  | 
           le |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | static int tget_long            | 
          ( | 
          const uint8_t **  | 
           p,  | 
        
        
           | 
           | 
          int  | 
           le |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | static int tget_short            | 
          ( | 
          const uint8_t **  | 
           p,  | 
        
        
           | 
           | 
          int  | 
           le |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | static int tiff_decode_tag            | 
          ( | 
          TiffContext *  | 
           s,  | 
        
        
           | 
           | 
          const uint8_t *  | 
           start,  | 
        
        
           | 
           | 
          const uint8_t *  | 
           buf,  | 
        
        
           | 
           | 
          const uint8_t *  | 
           end_buf |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | static int tiff_unpack_strip            | 
          ( | 
          TiffContext *  | 
           s,  | 
        
        
           | 
           | 
          uint8_t *  | 
           dst,  | 
        
        
           | 
           | 
          int  | 
           stride,  | 
        
        
           | 
           | 
          const uint8_t *  | 
           src,  | 
        
        
           | 
           | 
          int  | 
           size,  | 
        
        
           | 
           | 
          int  | 
           lines |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
Variable Documentation
Initial value:
 {
    "tiff",
    CODEC_TYPE_VIDEO,
    CODEC_ID_TIFF,
    sizeof(TiffContext),
    tiff_init,
    NULL,
    tiff_end,
    decode_frame,
    0,
    NULL,
    .long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
}
 
Definition at line 530 of file tiff.c.