FFmpeg
|
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sunrast.h"
Go to the source code of this file.
Data Structures | |
struct | SUNRASTContext |
Macros | |
#define | GET_VALUE y >= avctx->height ? 0 : x >= len ? ptr[len-1] : ptr[x] |
#define | OFFSET(x) offsetof(SUNRASTContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static void | sunrast_image_write_header (AVCodecContext *avctx) |
static void | sunrast_image_write_image (AVCodecContext *avctx, const uint8_t *pixels, const uint32_t *palette_data, int linesize) |
static av_cold int | sunrast_encode_init (AVCodecContext *avctx) |
static int | sunrast_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Variables | |
static const AVOption | options [] |
static const AVClass | sunrast_class |
static const AVCodecDefault | sunrast_defaults [] |
AVCodec | ff_sunrast_encoder |
#define OFFSET | ( | x | ) | offsetof(SUNRASTContext, x) |
Definition at line 212 of file sunrastenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 213 of file sunrastenc.c.
|
static |
Definition at line 41 of file sunrastenc.c.
Referenced by sunrast_encode_frame().
|
static |
Definition at line 55 of file sunrastenc.c.
Referenced by sunrast_encode_frame().
|
static |
Definition at line 139 of file sunrastenc.c.
|
static |
Definition at line 188 of file sunrastenc.c.
|
static |
Definition at line 214 of file sunrastenc.c.
|
static |
Definition at line 220 of file sunrastenc.c.
|
static |
Definition at line 228 of file sunrastenc.c.
AVCodec ff_sunrast_encoder |
Definition at line 234 of file sunrastenc.c.