FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "bswapdsp.h"
#include "bytestream.h"
#include "lossless_videoencdsp.h"
#include "put_bits.h"
#include "utvideo.h"
#include "huffman.h"
Go to the source code of this file.
Data Structures | |
struct | UtvideoContext |
struct | HuffEntry |
Macros | |
#define | OFFSET(x) offsetof(UtvideoContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | ut_huff_cmp_len (const void *a, const void *b) |
static int | huff_cmp_sym (const void *a, const void *b) |
static av_cold int | utvideo_encode_close (AVCodecContext *avctx) |
static av_cold int | utvideo_encode_init (AVCodecContext *avctx) |
static void | mangle_rgb_planes (uint8_t *dst[4], ptrdiff_t dst_stride, uint8_t *const src[4], int planes, const int stride[4], int width, int height) |
static void | median_predict (UtvideoContext *c, const uint8_t *src, uint8_t *dst, ptrdiff_t stride, int width, int height) |
static void | count_usage (uint8_t *src, int width, int height, uint64_t *counts) |
static void | calculate_codes (HuffEntry *he) |
static int | write_huff_codes (uint8_t *src, uint8_t *dst, int dst_size, int width, int height, HuffEntry *he) |
static int | encode_plane (AVCodecContext *avctx, const uint8_t *src, uint8_t *dst, ptrdiff_t stride, int plane_no, int width, int height, PutByteContext *pb) |
static int | utvideo_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) |
Variables | |
static const AVOption | options [] |
static const AVClass | utvideo_class |
const FFCodec | ff_utvideo_encoder |
Ut Video encoder
Definition in file utvideoenc.c.
#define OFFSET | ( | x | ) | offsetof(UtvideoContext, x) |
Definition at line 643 of file utvideoenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 644 of file utvideoenc.c.
|
static |
Definition at line 65 of file utvideoenc.c.
Referenced by calculate_codes().
|
static |
Definition at line 72 of file utvideoenc.c.
Referenced by calculate_codes().
|
static |
Definition at line 78 of file utvideoenc.c.
|
static |
Definition at line 90 of file utvideoenc.c.
|
static |
Definition at line 251 of file utvideoenc.c.
Referenced by utvideo_encode_frame().
|
static |
Definition at line 296 of file utvideoenc.c.
Referenced by encode_plane().
|
static |
Definition at line 330 of file utvideoenc.c.
Referenced by encode_plane().
|
static |
Definition at line 344 of file utvideoenc.c.
Referenced by encode_plane().
|
static |
Definition at line 365 of file utvideoenc.c.
Referenced by encode_plane().
|
static |
Definition at line 395 of file utvideoenc.c.
Referenced by utvideo_encode_frame().
|
static |
Definition at line 536 of file utvideoenc.c.
Definition at line 645 of file utvideoenc.c.
|
static |
Definition at line 655 of file utvideoenc.c.
const FFCodec ff_utvideo_encoder |
Definition at line 662 of file utvideoenc.c.