FFmpeg
|
#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.
#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.
#define HAS_DIFF_BLOCKS 0x04 |
Definition at line 60 of file flashsv2enc.c.
#define ZLIB_PRIME_COMPRESS_CURRENT 0x02 |
Definition at line 61 of file flashsv2enc.c.
#define ZLIB_PRIME_COMPRESS_PREVIOUS 0x01 |
Definition at line 62 of file flashsv2enc.c.
#define FLASHSV2_DUMB |
Definition at line 66 of file flashsv2enc.c.
|
static |
Definition at line 127 of file flashsv2enc.c.
Referenced by decode_audio_frame(), encode_audio_frame(), 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(), parse_manifest(), 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 258 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 275 of file flashsv2enc.c.
Referenced by write_header().
|
static |
Definition at line 281 of file flashsv2enc.c.
Referenced by write_bitstream().
Definition at line 311 of file flashsv2enc.c.
Referenced by write_all_blocks().
Definition at line 351 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 357 of file flashsv2enc.c.
Referenced by encode_block().
Definition at line 391 of file flashsv2enc.c.
Referenced by encode_block().
|
inlinestatic |
Definition at line 407 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 412 of file flashsv2enc.c.
Referenced by pixel_color7_slow(), and write_pixel_15_7().
Definition at line 424 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 429 of file flashsv2enc.c.
Referenced by update_palette_index().
|
inlinestatic |
Definition at line 444 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
static |
Definition at line 449 of file flashsv2enc.c.
Referenced by encode_15_7_sl().
Definition at line 467 of file flashsv2enc.c.
Referenced by generate_default_palette().
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().
|
inlinestatic |
Definition at line 525 of file flashsv2enc.c.
Referenced by encode_15_7().
|
static |
Definition at line 535 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 552 of file flashsv2enc.c.
Referenced by encode_all_blocks().
|
static |
Definition at line 589 of file flashsv2enc.c.
Referenced by mark_all_blocks().
|
static |
Definition at line 607 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 628 of file flashsv2enc.c.
Referenced by write_bitstream().
|
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().
|
static |
Definition at line 715 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 741 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 753 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 765 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 795 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 851 of file flashsv2enc.c.
|
static |
Definition at line 902 of file flashsv2enc.c.
|
static |
Definition at line 485 of file flashsv2enc.c.
Referenced by generate_default_palette().
AVCodec ff_flashsv2_encoder |
Definition at line 911 of file flashsv2enc.c.