FFmpeg
|
#include <stdint.h>
#include <zlib.h>
#include "libavutil/buffer.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | FlashSVContext |
Macros | |
#define | BLOCK_WIDTH (4 * 16U) |
#define | BLOCK_HEIGHT (4 * 16U) |
Functions | |
static int | copy_region_enc (const uint8_t *sptr, uint8_t *dptr, int dx, int dy, int h, int w, int stride, const uint8_t *pfptr) |
static av_cold int | flashsv_encode_end (AVCodecContext *avctx) |
static av_cold int | flashsv_encode_init (AVCodecContext *avctx) |
static int | encode_bitstream (FlashSVContext *s, const AVFrame *p, uint8_t *buf, int buf_size, int block_width, int block_height, const uint8_t *previous_frame, int *I_frame) |
static int | flashsv_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
Variables | |
const FFCodec | ff_flashsv_encoder |
Flash Screen Video encoder
A description of the bitstream format for Flash Screen Video version 1/2 is part of the SWF File Format Specification (version 10), which can be downloaded from http://www.adobe.com/devnet/swf.html.
Definition in file flashsvenc.c.
#define BLOCK_WIDTH (4 * 16U) |
Definition at line 59 of file flashsvenc.c.
#define BLOCK_HEIGHT (4 * 16U) |
Definition at line 60 of file flashsvenc.c.
|
static |
Definition at line 73 of file flashsvenc.c.
Referenced by encode_bitstream().
|
static |
Definition at line 93 of file flashsvenc.c.
|
static |
Definition at line 102 of file flashsvenc.c.
|
static |
Definition at line 133 of file flashsvenc.c.
Referenced by flashsv_encode_frame().
|
static |
Definition at line 207 of file flashsvenc.c.
const FFCodec ff_flashsv_encoder |
Definition at line 255 of file flashsvenc.c.