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(), 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 update_block_dimensions().
|
static |
Definition at line 167 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 178 of file flashsv2enc.c.
Referenced by flashsv2_encode_init(), and reconfigure_at_keyframe().
|
static |
Definition at line 205 of file flashsv2enc.c.
|
static |
Definition at line 266 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 283 of file flashsv2enc.c.
Referenced by write_header().
|
static |
Definition at line 289 of file flashsv2enc.c.
Referenced by write_bitstream().
Definition at line 319 of file flashsv2enc.c.
Referenced by write_all_blocks().
Definition at line 359 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 365 of file flashsv2enc.c.
Referenced by encode_block().
Definition at line 399 of file flashsv2enc.c.
Referenced by encode_block().
|
inlinestatic |
Definition at line 415 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 420 of file flashsv2enc.c.
Referenced by pixel_color7_slow(), and write_pixel_15_7().
Definition at line 432 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
Definition at line 437 of file flashsv2enc.c.
Referenced by update_palette_index().
|
inlinestatic |
Definition at line 452 of file flashsv2enc.c.
Referenced by write_pixel_15_7().
|
static |
Definition at line 457 of file flashsv2enc.c.
Referenced by encode_15_7_sl().
Definition at line 475 of file flashsv2enc.c.
Referenced by generate_default_palette().
Definition at line 518 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 526 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
inlinestatic |
Definition at line 533 of file flashsv2enc.c.
Referenced by encode_15_7().
|
static |
Definition at line 543 of file flashsv2enc.c.
Referenced by encode_block().
|
static |
Definition at line 560 of file flashsv2enc.c.
Referenced by encode_all_blocks().
|
static |
Definition at line 597 of file flashsv2enc.c.
Referenced by mark_all_blocks().
|
static |
Definition at line 615 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 636 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 676 of file flashsv2enc.c.
Referenced by write_bitstream().
|
static |
Definition at line 694 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 723 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 761 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 773 of file flashsv2enc.c.
Referenced by reconfigure_at_keyframe().
|
static |
Definition at line 788 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 803 of file flashsv2enc.c.
Referenced by flashsv2_encode_frame().
|
static |
Definition at line 840 of file flashsv2enc.c.
|
static |
Definition at line 891 of file flashsv2enc.c.
|
static |
Definition at line 493 of file flashsv2enc.c.
Referenced by generate_default_palette().
AVCodec ff_flashsv2_encoder |
Definition at line 900 of file flashsv2enc.c.