FFmpeg
|
Screenpresso decoder. More...
#include <stdint.h>
#include <string.h>
#include <zlib.h>
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ScreenpressoContext |
Functions | |
static av_cold int | screenpresso_close (AVCodecContext *avctx) |
static av_cold int | screenpresso_init (AVCodecContext *avctx) |
static void | sum_delta_flipped (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int bytewidth, int height) |
static int | screenpresso_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVCodec | ff_screenpresso_decoder |
Screenpresso decoder.
Fourcc: SPV1
Screenpresso simply horizontally flips and then deflates frames, alternating full pictures and deltas. Deltas are related to the currently rebuilt frame (not the reference), and since there is no coordinate system they contain exactly as many pixel as the keyframe.
Supports: BGR0, BGR24, RGB555
Definition in file screenpresso.c.
|
static |
Definition at line 55 of file screenpresso.c.
|
static |
Definition at line 65 of file screenpresso.c.
|
static |
Definition at line 91 of file screenpresso.c.
Referenced by screenpresso_decode_frame().
|
static |
Definition at line 103 of file screenpresso.c.
AVCodec ff_screenpresso_decoder |
Definition at line 185 of file screenpresso.c.