FFmpeg
|
xxan.c
Go to the documentation of this file.
Definition: bytestream.h:32
Definition: frame.h:76
static av_always_inline void bytestream2_init(GetByteContext *g, const uint8_t *buf, int buf_size)
Definition: bytestream.h:130
Definition: libavcodec/avcodec.h:2854
Definition: libavcodec/avcodec.h:144
static int xan_decode_frame_type0(AVCodecContext *avctx)
Definition: xxan.c:268
static av_always_inline int bytestream2_size(GetByteContext *g)
Definition: bytestream.h:193
static av_always_inline void bytestream2_skip(GetByteContext *g, unsigned int size)
Definition: bytestream.h:159
static const struct endianess table[]
static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g, uint8_t *dst, unsigned int size)
Definition: bytestream.h:258
static av_always_inline unsigned int bytestream2_get_bytes_left(GetByteContext *g)
Definition: bytestream.h:149
int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame)
Definition: libavcodec/utils.c:868
static int xan_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: xxan.c:395
static av_always_inline int bytestream2_tell(GetByteContext *g)
Definition: bytestream.h:183
Definition: libavcodec/avcodec.h:1134
Definition: xan.c:52
static int xan_unpack_luma(XanContext *s, uint8_t *dst, const int dst_size)
Definition: xxan.c:75
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFilterBuffer structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later.That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another.Buffer references ownership and permissions
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:68
struct XanContext XanContext
static int xan_decode_frame_type1(AVCodecContext *avctx)
Definition: xxan.c:349
static int xan_unpack(XanContext *s, uint8_t *dest, const int dest_len)
Definition: xxan.c:117
static av_always_inline int bytestream2_seek(GetByteContext *g, int offset, int whence)
Definition: bytestream.h:203
void av_memcpy_backptr(uint8_t *dst, int back, int cnt)
deliberately overlapping memcpy implementation
Definition: mem.c:327
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition: libavcodec/avcodec.h:1028
static int xan_decode_chroma(AVCodecContext *avctx, unsigned chroma_off)
Definition: xxan.c:170
Generated on Tue Sep 2 2025 06:56:04 for FFmpeg by
