#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "avcodec.h"
#include "put_bits.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
| struct | 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, uint8_t *buf, int buf_size, void *data) |
| static av_cold int | flashsv_encode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | ff_flashsv_encoder |
Definition in file flashsvenc.c.
| 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] |
| 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] |
| static av_cold int flashsv_encode_end | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 277 of file flashsvenc.c.
| static int flashsv_encode_frame | ( | AVCodecContext * | avctx, | |
| uint8_t * | buf, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
Definition at line 207 of file flashsvenc.c.
| static av_cold int flashsv_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 101 of file flashsvenc.c.
Initial value:
{
.name = "flashsv",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_FLASHSV,
.priv_data_size = sizeof(FlashSVContext),
.init = flashsv_encode_init,
.encode = flashsv_encode_frame,
.close = flashsv_encode_end,
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
}
Definition at line 290 of file flashsvenc.c.
1.5.8