FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
bitpacked.c File Reference

Bitpacked. More...

#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "libavutil/imgutils.h"

Go to the source code of this file.

Data Structures

struct  BitpackedContext
 

Functions

static int bitpacked_decode_uyvy422 (AVCodecContext *avctx, AVFrame *frame, AVPacket *avpkt)
 
static int bitpacked_decode_yuv422p10 (AVCodecContext *avctx, AVFrame *frame, AVPacket *avpkt)
 
static av_cold int bitpacked_init_decoder (AVCodecContext *avctx)
 
static int bitpacked_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_bitpacked_decoder
 

Detailed Description

Bitpacked.

Definition in file bitpacked.c.

Function Documentation

static int bitpacked_decode_uyvy422 ( AVCodecContext avctx,
AVFrame frame,
AVPacket avpkt 
)
static

Definition at line 40 of file bitpacked.c.

Referenced by bitpacked_init_decoder().

static int bitpacked_decode_yuv422p10 ( AVCodecContext avctx,
AVFrame frame,
AVPacket avpkt 
)
static

Definition at line 58 of file bitpacked.c.

Referenced by bitpacked_init_decoder().

static av_cold int bitpacked_init_decoder ( AVCodecContext avctx)
static

Definition at line 97 of file bitpacked.c.

static int bitpacked_decode ( AVCodecContext avctx,
void data,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 120 of file bitpacked.c.

Variable Documentation

AVCodec ff_bitpacked_decoder
Initial value:
= {
.name = "bitpacked",
.long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
.priv_data_size = sizeof(struct BitpackedContext),
.decode = bitpacked_decode,
.capabilities = AV_CODEC_CAP_EXPERIMENTAL,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define AV_CODEC_CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental encoders.
Definition: avcodec.h:1004
static av_cold int bitpacked_init_decoder(AVCodecContext *avctx)
Definition: bitpacked.c:97
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int bitpacked_decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: bitpacked.c:120

Definition at line 140 of file bitpacked.c.