#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
 
Go to the source code of this file.
 | 
| static av_cold int  | decode_end (AVCodecContext *avctx) | 
|   | 
| static av_cold int  | decode_init (AVCodecContext *avctx) | 
|   | 
| static int  | copy_block (AVCodecContext *avctx, uint8_t *to, uint8_t *from, int offset, int height, int stride) | 
|   | 
| static void  | draw_n_color (uint8_t *out, int stride, int width, int height, int bpp, uint8_t cols[4], uint8_t grps[4], uint32_t col) | 
|   | 
| static int  | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) | 
|   | 
      
        
          | #define C93_HAS_PALETTE   0x01 | 
        
      
 
 
      
        
          | #define C93_FIRST_FRAME   0x02 | 
        
      
 
 
| Enumerator | 
|---|
| C93_8X8_FROM_PREV  | 
 | 
| C93_4X4_FROM_PREV  | 
 | 
| C93_4X4_FROM_CURR  | 
 | 
| C93_8X8_2COLOR  | 
 | 
| C93_4X4_2COLOR  | 
 | 
| C93_4X4_4COLOR_GRP  | 
 | 
| C93_4X4_4COLOR  | 
 | 
| C93_NOOP  | 
 | 
| C93_8X8_INTRA  | 
 | 
Definition at line 31 of file c93.c.
 
 
Definition at line 59 of file c93.c.
 
 
  
  
      
        
          | static void draw_n_color  | 
          ( | 
          uint8_t *  | 
          out,  | 
         
        
           | 
           | 
          int  | 
          stride,  | 
         
        
           | 
           | 
          int  | 
          width,  | 
         
        
           | 
           | 
          int  | 
          height,  | 
         
        
           | 
           | 
          int  | 
          bpp,  | 
         
        
           | 
           | 
          uint8_t  | 
          cols[4],  | 
         
        
           | 
           | 
          uint8_t  | 
          grps[4],  | 
         
        
           | 
           | 
          uint32_t  | 
          col  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
Initial value:= {
    .name           = "c93",
}
static av_cold int init(AVCodecContext *avctx)
 
static av_cold int decode_init(AVCodecContext *avctx)
 
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int decode_end(AVCodecContext *avctx)
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
static int decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt)
 
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
 
 
Definition at line 262 of file c93.c.