#include <stdint.h>
#include "libavutil/imgutils.h"
#include "libavutil/intmath.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "unary.h"
#include "internal.h"
#include "thread.h"
 
Go to the source code of this file.
 | 
| static int  | init_decoder (AVCodecContext *avctx) | 
|   | 
| static void  | free_buffers (AVCodecContext *avctx) | 
|   | 
| static av_cold int  | pixlet_close (AVCodecContext *avctx) | 
|   | 
| static av_cold int  | pixlet_init (AVCodecContext *avctx) | 
|   | 
| static int  | read_low_coeffs (AVCodecContext *avctx, int16_t *dst, int size, int width, ptrdiff_t stride) | 
|   | 
| static int  | read_high_coeffs (AVCodecContext *avctx, uint8_t *src, int16_t *dst, int size, int c, int a, int d, int width, ptrdiff_t stride) | 
|   | 
| static int  | read_highpass (AVCodecContext *avctx, uint8_t *ptr, int plane, AVFrame *frame) | 
|   | 
| static void  | lowpass_prediction (int16_t *dst, int16_t *pred, int width, int height, ptrdiff_t stride) | 
|   | 
| static void  | filterfn (int16_t *dest, int16_t *tmp, unsigned size, int64_t scale) | 
|   | 
| static void  | reconstruction (AVCodecContext *avctx, int16_t *dest, unsigned width, unsigned height, ptrdiff_t stride, int nb_levels, int64_t *scaling_H, int64_t *scaling_V) | 
|   | 
| static void  | postprocess_luma (AVFrame *frame, int w, int h, int depth) | 
|   | 
| static void  | postprocess_chroma (AVFrame *frame, int w, int h, int depth) | 
|   | 
| static int  | decode_plane (AVCodecContext *avctx, int plane, AVPacket *avpkt, AVFrame *frame) | 
|   | 
| static int  | pixlet_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) | 
|   | 
Definition at line 37 of file pixlet.c.
Referenced by check_loopfilter(), decode_plane(), filter_color(), filter_color2(), filter_frame(), filter_mono(), filter_plane_cols(), filter_plane_rows(), for(), idct(), and loop_filter().
 
 
  
  
      
        
          | static void lowpass_prediction  | 
          ( | 
          int16_t *  | 
          dst,  | 
         
        
           | 
           | 
          int16_t *  | 
          pred,  | 
         
        
           | 
           | 
          int  | 
          width,  | 
         
        
           | 
           | 
          int  | 
          height,  | 
         
        
           | 
           | 
          ptrdiff_t  | 
          stride  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static void filterfn  | 
          ( | 
          int16_t *  | 
          dest,  | 
         
        
           | 
           | 
          int16_t *  | 
          tmp,  | 
         
        
           | 
           | 
          unsigned  | 
          size,  | 
         
        
           | 
           | 
          int64_t  | 
          scale  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static void reconstruction  | 
          ( | 
          AVCodecContext *  | 
          avctx,  | 
         
        
           | 
           | 
          int16_t *  | 
          dest,  | 
         
        
           | 
           | 
          unsigned  | 
          width,  | 
         
        
           | 
           | 
          unsigned  | 
          height,  | 
         
        
           | 
           | 
          ptrdiff_t  | 
          stride,  | 
         
        
           | 
           | 
          int  | 
          nb_levels,  | 
         
        
           | 
           | 
          int64_t *  | 
          scaling_H,  | 
         
        
           | 
           | 
          int64_t *  | 
          scaling_V  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
Initial value:= {
    .name             = "pixlet",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
 
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading. 
 
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified. 
 
static av_cold int pixlet_init(AVCodecContext *avctx)
 
static int pixlet_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int pixlet_close(AVCodecContext *avctx)
 
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
 
 
Definition at line 676 of file pixlet.c.