#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sunrast.h"
Go to the source code of this file.
|
#define | GET_VALUE ptr >= end || ptr < start ? 0 : x >= len ? ptr[len-1] : ptr[x] |
|
§ GET_VALUE
#define GET_VALUE ptr >= end || ptr < start ? 0 : x >= len ? ptr[len-1] : ptr[x] |
§ sunrast_image_write_header()
§ sunrast_image_write_image()
static void sunrast_image_write_image |
( |
AVCodecContext * |
avctx, |
|
|
const uint8_t * |
pixels, |
|
|
const uint32_t * |
palette_data, |
|
|
int |
linesize |
|
) |
| |
|
static |
§ sunrast_encode_init()
§ sunrast_encode_frame()
§ sunrast_encode_close()
§ sunrast_defaults
§ ff_sunrast_encoder
Initial value:= {
.name = "sunrast",
}
static const AVCodecDefault sunrast_defaults[]
static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int sunrast_encode_close(AVCodecContext *avctx)
8 bit with PIX_FMT_RGB32 palette
static const AVCodecDefault defaults[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
packed RGB 8:8:8, 24bpp, BGRBGR...
static void close(AVCodecParserContext *s)
static av_cold int sunrast_encode_init(AVCodecContext *avctx)
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
static av_cold int init(AVCodecParserContext *s)
AVPixelFormat
Pixel format.
Definition at line 223 of file sunrastenc.c.