#include <stdint.h>
#include "libavutil/intmath.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "thread.h"
#include "unary.h"
Go to the source code of this file.
|
static av_cold int | pixlet_init (AVCodecContext *avctx) |
|
static void | free_buffers (AVCodecContext *avctx) |
|
static av_cold int | pixlet_close (AVCodecContext *avctx) |
|
static int | init_decoder (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, const 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, const 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, int64_t *scaling_h, int64_t *scaling_v) |
|
static void | build_luma_lut (AVCodecContext *avctx, int depth) |
|
static void | postprocess_luma (AVCodecContext *avctx, 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, const AVPacket *avpkt, AVFrame *frame) |
|
static int | pixlet_decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
|
◆ NB_LEVELS
◆ PIXLET_MAGIC
#define PIXLET_MAGIC 0xDEADBEEF |
◆ pixlet_init()
◆ free_buffers()
◆ pixlet_close()
◆ init_decoder()
◆ read_low_coeffs()
◆ read_high_coeffs()
◆ read_highpass()
◆ lowpass_prediction()
static void lowpass_prediction |
( |
int16_t * |
dst, |
|
|
int16_t * |
pred, |
|
|
int |
width, |
|
|
int |
height, |
|
|
ptrdiff_t |
stride |
|
) |
| |
|
static |
◆ filterfn()
static void filterfn |
( |
int16_t * |
dest, |
|
|
int16_t * |
tmp, |
|
|
unsigned |
size, |
|
|
int64_t |
scale |
|
) |
| |
|
static |
◆ reconstruction()
static void reconstruction |
( |
AVCodecContext * |
avctx, |
|
|
int16_t * |
dest, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
ptrdiff_t |
stride, |
|
|
int64_t * |
scaling_h, |
|
|
int64_t * |
scaling_v |
|
) |
| |
|
static |
◆ build_luma_lut()
◆ postprocess_luma()
◆ postprocess_chroma()
◆ decode_plane()
◆ pixlet_decode_frame()
◆ ff_pixlet_decoder
Initial value:= {
.p.name = "pixlet",
}
Definition at line 693 of file pixlet.c.