FFmpeg
|
Flash Screen Video Version 2 encoder. More...
#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | Block |
struct | Palette |
struct | FlashSV2Context |
Macros | |
#define | HAS_IFRAME_IMAGE 0x02 |
#define | HAS_PALLET_INFO 0x01 |
#define | COLORSPACE_BGR 0x00 |
#define | COLORSPACE_15_7 0x10 |
#define | HAS_DIFF_BLOCKS 0x04 |
#define | ZLIB_PRIME_COMPRESS_CURRENT 0x02 |
#define | ZLIB_PRIME_COMPRESS_PREVIOUS 0x01 |
#define | FLASHSV2_DUMB |
Typedefs | |
typedef struct Block | Block |
typedef struct Palette | Palette |
typedef struct FlashSV2Context | FlashSV2Context |
Variables | |
static const unsigned int | default_screen_video_v2_palette [128] |
static const double | block_size_fraction = 1.0 / 300 |
static const double | use15_7_threshold = 8192 |
static const double | color15_7_factor = 100 |
AVCodec | ff_flashsv2_encoder |
Detailed Description
Flash Screen Video Version 2 encoder.
Definition in file flashsv2enc.c.
Macro Definition Documentation
#define COLORSPACE_15_7 0x10 |
Definition at line 59 of file flashsv2enc.c.
Referenced by encode_all_blocks(), and encode_block().
#define COLORSPACE_BGR 0x00 |
Definition at line 58 of file flashsv2enc.c.
#define FLASHSV2_DUMB |
Definition at line 66 of file flashsv2enc.c.
#define HAS_DIFF_BLOCKS 0x04 |
Definition at line 60 of file flashsv2enc.c.
Referenced by encode_all_blocks(), and write_block().
#define HAS_IFRAME_IMAGE 0x02 |
Definition at line 55 of file flashsv2enc.c.
#define HAS_PALLET_INFO 0x01 |
Definition at line 56 of file flashsv2enc.c.
Referenced by write_header().
#define ZLIB_PRIME_COMPRESS_CURRENT 0x02 |
Definition at line 61 of file flashsv2enc.c.
Referenced by write_block().
#define ZLIB_PRIME_COMPRESS_PREVIOUS 0x01 |
Definition at line 62 of file flashsv2enc.c.
Referenced by encode_block().
Typedef Documentation
typedef struct FlashSV2Context FlashSV2Context |
Function Documentation
|
inlinestatic |
Definition at line 414 of file flashsv2enc.c.
Referenced by pixel_color7_slow(), and write_pixel_15_7().
|
static |
Definition at line 128 of file flashsv2enc.c.
Referenced by flashsv2_encode_end(), flashsv2_encode_init(), and open_input().
|
static |
Definition at line 589 of file flashsv2enc.c.
Referenced by mark_all_blocks().
|
static |
Definition at line 535 of file flashsv2enc.c.
Referenced by encode_block().
|
inlinestatic |
Definition at line 525 of file flashsv2enc.c.
Referenced by encode_15_7().
|
static |
Definition at line 628 of file flashsv2enc.c.
Referenced by write_bitstream().
Definition at line 393 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 552 of file flashsv2enc.c.
Referenced by encode_all_blocks().
Definition at line 353 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 359 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 912 of file flashsv2enc.c.
|
static |
Definition at line 851 of file flashsv2enc.c.
|
static |
Definition at line 178 of file flashsv2enc.c.
|
static |
Definition at line 510 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 518 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 141 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 607 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 260 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 749 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 737 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 780 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 763 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
inlinestatic |
Definition at line 444 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
inlinestatic |
Definition at line 409 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
inlinestatic |
Definition at line 424 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
static |
Definition at line 429 of file flashsv2enc.c.
Referenced by update_palette_index().
|
static |
Definition at line 715 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 795 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 167 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 467 of file flashsv2enc.c.
Referenced by generate_default_palette().
|
static |
Definition at line 668 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 686 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
Definition at line 313 of file flashsv2enc.c.
Referenced by write_all_blocks().
|
static |
Definition at line 283 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 277 of file flashsv2enc.c.
Referenced by write_header().
|
static |
Definition at line 449 of file flashsv2enc.c.
Referenced by encode_15_7_sl().
Variable Documentation
|
static |
Definition at line 736 of file flashsv2enc.c.
Referenced by optimum_block_height(), and optimum_block_width().
|
static |
Definition at line 778 of file flashsv2enc.c.
Referenced by optimum_dist().
|
static |
Definition at line 485 of file flashsv2enc.c.
Referenced by generate_default_palette().
AVCodec ff_flashsv2_encoder |
Definition at line 921 of file flashsv2enc.c.
|
static |
Definition at line 761 of file flashsv2enc.c.
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11