FFmpeg
|
sunrastenc.c File Reference
Include dependency graph for sunrastenc.c:
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] |
Typedefs | |
typedef struct SUNRASTContext | SUNRASTContext |
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 AVCodecDefault | sunrast_defaults [] |
AVCodec | ff_sunrast_encoder |
Macro Definition Documentation
Referenced by sunrast_image_write_image().
Typedef Documentation
typedef struct SUNRASTContext SUNRASTContext |
Function Documentation
|
static |
Definition at line 181 of file sunrastenc.c.
|
static |
Definition at line 136 of file sunrastenc.c.
|
static |
Definition at line 38 of file sunrastenc.c.
Referenced by sunrast_encode_frame().
|
static |
Definition at line 52 of file sunrastenc.c.
Referenced by sunrast_encode_frame().
Variable Documentation
AVCodec ff_sunrast_encoder |
Initial value:
= {
.name = "sunrast",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_SUNRAST,
.priv_data_size = sizeof(SUNRASTContext),
.encode2 = sunrast_encode_frame,
.long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
}
Definition: pixfmt.h:67
static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition: sunrastenc.c:181
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:213
static av_cold int sunrast_encode_init(AVCodecContext *avctx)
Definition: sunrastenc.c:136
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
Definition: pixfmt.h:77
struct SUNRASTContext SUNRASTContext
Definition: avutil.h:143
Definition at line 210 of file sunrastenc.c.
|
static |
Initial value:
Definition at line 205 of file sunrastenc.c.
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11