FFmpeg
|
#include "libavutil/emms.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "hpeldsp.h"
#include "me_cmp.h"
#include "mpegvideo.h"
#include "h263.h"
#include "h263enc.h"
#include "internal.h"
#include "mpegutils.h"
#include "packet_internal.h"
#include "put_bits.h"
#include "svq1.h"
#include "svq1encdsp.h"
#include "svq1enc_cb.h"
#include "version.h"
#include "libavutil/avassert.h"
#include "libavutil/frame.h"
#include "libavutil/mem_internal.h"
Go to the source code of this file.
Data Structures | |
struct | SVQ1EncContext |
Macros | |
#define | QUALITY_THRESHOLD 100 |
#define | THRESHOLD_MULTIPLIER 0.6 |
#define | OFFSET(x) offsetof(struct SVQ1EncContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static void | svq1_write_header (SVQ1EncContext *s, PutBitContext *pb, int frame_type) |
static int | encode_block (SVQ1EncContext *s, uint8_t *src, uint8_t *ref, uint8_t *decoded, int stride, unsigned level, int threshold, int lambda, int intra) |
static void | init_block_index (MpegEncContext *s) |
static int | svq1_encode_plane (SVQ1EncContext *s, int plane, PutBitContext *pb, const unsigned char *src_plane, unsigned char *ref_plane, unsigned char *decoded_plane, int width, int height, int src_stride, int stride) |
static av_cold int | svq1_encode_end (AVCodecContext *avctx) |
static av_cold int | write_ident (AVCodecContext *avctx, const char *ident) |
static av_cold int | svq1_encode_init (AVCodecContext *avctx) |
static int | svq1_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
Variables | |
static const AVOption | options [] |
static const AVClass | svq1enc_class |
const FFCodec | ff_svq1_encoder |
Sorenson Vector Quantizer #1 (SVQ1) video codec. For more information of the SVQ1 algorithm, visit: http://www.pcisys.net/~melanson/codecs/
Definition in file svq1enc.c.
#define OFFSET | ( | x | ) | offsetof(struct SVQ1EncContext, x) |
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
|
static |
Definition at line 104 of file svq1enc.c.
Referenced by svq1_encode_frame().
|
static |
Definition at line 141 of file svq1enc.c.
Referenced by svq1_encode_plane().
|
static |
Definition at line 294 of file svq1enc.c.
Referenced by svq1_encode_plane().
|
static |
Definition at line 303 of file svq1enc.c.
Referenced by svq1_encode_frame().
|
static |
|
static |
Definition at line 564 of file svq1enc.c.
Referenced by svq1_encode_init().
|
static |
|
static |
|
static |
const FFCodec ff_svq1_encoder |