FFmpeg
 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
 

Functions

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 PixelFormat pix_fmt, int width, int height, int nlines)
 
static av_cold int smvjpeg_decode_init (AVCodecContext *avctx)
 
static int smvjpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
 
static av_cold int smvjpeg_decode_end (AVCodecContext *avctx)
 

Variables

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 
)
inlinestatic

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 PixelFormat  pix_fmt,
int  width,
int  height,
int  nlines 
)
inlinestatic

Definition at line 51 of file smvjpegdec.c.

Referenced by smvjpeg_decode_frame().

static av_cold int smvjpeg_decode_init ( AVCodecContext avctx)
static

Definition at line 78 of file smvjpegdec.c.

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

Definition at line 126 of file smvjpegdec.c.

static av_cold int smvjpeg_decode_end ( AVCodecContext avctx)
static

Definition at line 176 of file smvjpegdec.c.

Variable Documentation

const AVClass smvjpegdec_class
static
Initial value:
= {
.class_name = "SMVJPEG decoder",
.item_name = av_default_item_name,
}

Definition at line 189 of file smvjpegdec.c.

AVCodec ff_smvjpeg_decoder
Initial value:
= {
.name = "smvjpeg",
.long_name = NULL_IF_CONFIG_SMALL("SMV JPEG"),
.priv_data_size = sizeof(SMVJpegDecodeContext),
.priv_class = &smvjpegdec_class,
}

Definition at line 195 of file smvjpegdec.c.