FFmpeg
|
flashsvenc.c File Reference
Flash Screen Video encoder. More...
#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
#include "bytestream.h"
Include dependency graph for flashsvenc.c:
Go to the source code of this file.
Data Structures | |
struct | FlashSVContext |
Typedefs | |
typedef struct FlashSVContext | FlashSVContext |
Functions | |
static int | copy_region_enc (uint8_t *sptr, uint8_t *dptr, int dx, int dy, int h, int w, int stride, uint8_t *pfptr) |
static av_cold int | flashsv_encode_init (AVCodecContext *avctx) |
static int | encode_bitstream (FlashSVContext *s, AVFrame *p, uint8_t *buf, int buf_size, int block_width, int block_height, uint8_t *previous_frame, int *I_frame) |
static int | flashsv_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | flashsv_encode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_flashsv_encoder |
Detailed Description
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.
Typedef Documentation
typedef struct FlashSVContext FlashSVContext |
Function Documentation
|
static |
Definition at line 70 of file flashsvenc.c.
Referenced by encode_bitstream().
|
static |
Definition at line 124 of file flashsvenc.c.
Referenced by flashsv_encode_frame().
|
static |
Definition at line 265 of file flashsvenc.c.
|
static |
Definition at line 198 of file flashsvenc.c.
|
static |
Definition at line 92 of file flashsvenc.c.
Variable Documentation
AVCodec ff_flashsv_encoder |
Initial value:
= {
.name = "flashsv",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_FLASHSV,
.priv_data_size = sizeof(FlashSVContext),
.encode2 = flashsv_encode_frame,
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
}
Definition: pixfmt.h:67
Definition: libavcodec/avcodec.h:189
struct FlashSVContext FlashSVContext
static int flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
Definition: flashsvenc.c:198
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static av_cold int flashsv_encode_end(AVCodecContext *avctx)
Definition: flashsvenc.c:265
static av_cold int flashsv_encode_init(AVCodecContext *avctx)
Definition: flashsvenc.c:92
Definition: avutil.h:143
Definition at line 278 of file flashsvenc.c.
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11