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

SMV JPEG decoder. More...

#include "avcodec.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "mjpegdec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  SMVJpegDecodeContext


static void smv_img_pnt_plane (uint8_t **dst, uint8_t *src, int src_linesize, int height, int nlines)
static void smv_img_pnt (uint8_t *dst_data[4], uint8_t *src_data[4], const int src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height, int nlines)
static av_cold int smvjpeg_decode_end (AVCodecContext *avctx)
static av_cold int smvjpeg_decode_init (AVCodecContext *avctx)
static int smvjpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)


static const AVClass smvjpegdec_class
AVCodec ff_smvjpeg_decoder

Detailed Description

SMV JPEG decoder.

Definition in file smvjpegdec.c.

Function Documentation

static void smv_img_pnt_plane ( uint8_t **  dst,
uint8_t src,
int  src_linesize,
int  height,
int  nlines 

Definition at line 42 of file smvjpegdec.c.

Referenced by smv_img_pnt().

static void smv_img_pnt ( uint8_t dst_data[4],
uint8_t src_data[4],
const int  src_linesizes[4],
enum AVPixelFormat  pix_fmt,
int  width,
int  height,
int  nlines 

Definition at line 51 of file smvjpegdec.c.

Referenced by smvjpeg_decode_frame().

static av_cold int smvjpeg_decode_end ( AVCodecContext avctx)

Definition at line 78 of file smvjpegdec.c.

Referenced by smvjpeg_decode_init().

static av_cold int smvjpeg_decode_init ( AVCodecContext avctx)

Definition at line 92 of file smvjpegdec.c.

static int smvjpeg_decode_frame ( AVCodecContext avctx,
void data,
int data_size,
AVPacket avpkt 

Definition at line 145 of file smvjpegdec.c.

Variable Documentation

const AVClass smvjpegdec_class
Initial value:
= {
.class_name = "SMVJPEG decoder",
.item_name = av_default_item_name,
Definition: version.h:86

Definition at line 210 of file smvjpegdec.c.

AVCodec ff_smvjpeg_decoder
Initial value:
= {
.name = "smvjpeg",
.priv_data_size = sizeof(SMVJpegDecodeContext),
.priv_class = &smvjpegdec_class,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int smvjpeg_decode_init(AVCodecContext *avctx)
Definition: smvjpegdec.c:92
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
static int smvjpeg_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
Definition: smvjpegdec.c:145
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static const AVClass smvjpegdec_class
Definition: smvjpegdec.c:210
static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)
Definition: smvjpegdec.c:78

Definition at line 216 of file smvjpegdec.c.