FFmpeg
Classes | Typedefs | Variables
mdec.c File Reference

Sony PlayStation MDEC (Motion DECoder) This is very similar to intra-only MPEG-1. More...

#include "avcodec.h"
#include "blockdsp.h"
#include "bswapdsp.h"
#include "idctdsp.h"
#include "mpeg12.h"
#include "thread.h"

Classes

struct  MDECContext
 

Typedefs

typedef struct MDECContext MDECContext
 

Variables

AVCodec ff_mdec_decoder
 

Detailed Description

Sony PlayStation MDEC (Motion DECoder) This is very similar to intra-only MPEG-1.

Variable Documentation

§ ff_mdec_decoder

AVCodec ff_mdec_decoder
Initial value:
= {
.name = "mdec",
.long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MDEC,
.priv_data_size = sizeof(MDECContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy)
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: avcodec.h:1015
Definition: mdec.c:37
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
Definition: internal.h:225
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959