FFmpeg
|
Raw Video Decoder. More...
#include "avcodec.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "internal.h"
#include "raw.h"
#include "libavutil/avassert.h"
#include "libavutil/buffer.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Data Structures | |
struct | RawVideoContext |
Macros | |
#define | SCALE16(x, bits) (((x) << (16 - (bits))) | ((x) >> (2 * (bits) - 16))) |
#define | MKSCALE16(name, r16, w16) |
Scale buffer to 16 bits per coded sample resolution. | |
Functions | |
static av_cold int | raw_init_decoder (AVCodecContext *avctx) |
static void | flip (AVCodecContext *avctx, AVPicture *picture) |
static int | raw_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | raw_close_decoder (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
static const AVClass | rawdec_class |
AVCodec | ff_rawvideo_decoder |
Raw Video Decoder.
Definition in file rawdec.c.
#define MKSCALE16 | ( | name, | |
r16, | |||
w16 | |||
) |
Scale buffer to 16 bits per coded sample resolution.
|
static |
|
static |
Definition at line 135 of file rawdec.c.
Referenced by audio_open(), av_display_matrix_flip(), config_input(), filter_frame(), get_video_buffer(), raw_decode(), and tnput().
|
static |
|
static |
|
static |
|
static |
AVCodec ff_rawvideo_decoder |