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 |
#define | ABSDIFF(a, b) (abs((int)(a)-(int)(b))) |
Variables | |
static const unsigned int | default_screen_video_v2_palette [128] |
AVCodec | ff_flashsv2_encoder |
Flash Screen Video Version 2 encoder.
Definition in file flashsv2enc.c.
#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 COLORSPACE_BGR 0x00 |
Definition at line 58 of file flashsv2enc.c.
#define COLORSPACE_15_7 0x10 |
Definition at line 59 of file flashsv2enc.c.
Referenced by encode_all_blocks(), and encode_block().
#define HAS_DIFF_BLOCKS 0x04 |
Definition at line 60 of file flashsv2enc.c.
Referenced by encode_all_blocks(), and write_block().
#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().
#define FLASHSV2_DUMB |
Definition at line 66 of file flashsv2enc.c.
|
static |
Definition at line 127 of file flashsv2enc.c.
Referenced by ff_init_filters(), flashsv2_encode_end(), flashsv2_encode_init(), ftp_delete(), ftp_move(), icecast_open(), libsmbc_delete(), libsmbc_move(), libssh_delete(), libssh_move(), main(), open_input(), open_output_file(), read_decode_convert_and_store(), and tls_read().
|
static |
Definition at line 140 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 166 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 177 of file flashsv2enc.c.
|
static |
Definition at line 259 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 276 of file flashsv2enc.c.
Referenced by write_header().
|
static |
Definition at line 282 of file flashsv2enc.c.
Referenced by write_bitstream().
Definition at line 312 of file flashsv2enc.c.
Referenced by write_all_blocks().
Definition at line 352 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 358 of file flashsv2enc.c.
Referenced by encode_block().
Definition at line 392 of file flashsv2enc.c.
Referenced by encode_block().
|
inlinestatic |
Definition at line 408 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 413 of file flashsv2enc.c.
Referenced by pixel_color7_slow(), and write_pixel_15_7().
Definition at line 425 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 430 of file flashsv2enc.c.
Referenced by update_palette_index().
|
inlinestatic |
Definition at line 445 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
static |
Definition at line 450 of file flashsv2enc.c.
Referenced by encode_15_7_sl().
Definition at line 468 of file flashsv2enc.c.
Referenced by generate_default_palette().
Definition at line 511 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 519 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
inlinestatic |
Definition at line 526 of file flashsv2enc.c.
Referenced by encode_15_7().
|
static |
Definition at line 536 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 553 of file flashsv2enc.c.
Referenced by encode_all_blocks().
|
static |
Definition at line 590 of file flashsv2enc.c.
Referenced by mark_all_blocks().
|
static |
Definition at line 608 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 629 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 669 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 687 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 716 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 742 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 754 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 766 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 781 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 796 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 852 of file flashsv2enc.c.
|
static |
Definition at line 903 of file flashsv2enc.c.
|
static |
Definition at line 486 of file flashsv2enc.c.
Referenced by generate_default_palette().
AVCodec ff_flashsv2_encoder |
Definition at line 912 of file flashsv2enc.c.