FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "h261.h"
#include "h261enc.h"
#include "mpegvideoenc.h"
Go to the source code of this file.
Data Structures | |
struct | VLCLUT |
struct | H261EncContext |
Macros | |
#define | H261_MAX_RUN 26 |
#define | H261_MAX_LEVEL 15 |
#define | H261_ESC_LEN (6 + 6 + 8) |
#define | MV_TAB_OFFSET 32 |
Functions | |
void | ff_h261_encode_picture_header (MpegEncContext *s) |
static void | h261_encode_gob_header (MpegEncContext *s, int mb_line) |
Encode a group of blocks header. More... | |
void | ff_h261_reorder_mb_index (MpegEncContext *s) |
static void | h261_encode_motion (PutBitContext *pb, int val) |
static int | get_cbp (MpegEncContext *s, int16_t block[6][64]) |
static void | h261_encode_block (H261EncContext *h, int16_t *block, int n) |
Encode an 8x8 block. More... | |
void | ff_h261_encode_mb (MpegEncContext *s, int16_t block[6][64], int motion_x, int motion_y) |
static av_cold void | h261_encode_init_static (void) |
av_cold int | ff_h261_encode_init (MpegEncContext *s) |
Variables | |
static struct VLCLUT | vlc_lut [H261_MAX_RUN+1][32/*0..2 *H261_MAX_LEN are used */] |
static uint8_t | mv_penalty [MAX_FCODE+1][MAX_DMV *2+1] |
static uint8_t | uni_h261_rl_len [64 *128] |
static uint8_t | uni_h261_rl_len_last [64 *128] |
static uint8_t | h261_mv_codes [64][2] |
const FFCodec | ff_h261_encoder |
H.261 encoder.
Definition in file h261enc.c.
void ff_h261_encode_picture_header | ( | MpegEncContext * | s | ) |
Definition at line 69 of file h261enc.c.
Referenced by encode_picture().
|
static |
Encode a group of blocks header.
Definition at line 102 of file h261enc.c.
Referenced by ff_h261_reorder_mb_index().
void ff_h261_reorder_mb_index | ( | MpegEncContext * | s | ) |
Definition at line 119 of file h261enc.c.
Referenced by encode_thread().
|
static |
Definition at line 147 of file h261enc.c.
Referenced by ff_h261_encode_mb().
|
inlinestatic |
Definition at line 153 of file h261enc.c.
Referenced by ff_h261_encode_mb().
|
static |
Encode an 8x8 block.
block | the 8x8 block |
n | block index (0-3 are luma, 4-5 are chroma) |
Definition at line 168 of file h261enc.c.
Referenced by ff_h261_encode_mb().
void ff_h261_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[6][64], | ||
int | motion_x, | ||
int | motion_y | ||
) |
Definition at line 228 of file h261enc.c.
Referenced by encode_mb_internal().
|
static |
Definition at line 318 of file h261enc.c.
Referenced by ff_h261_encode_init().
av_cold int ff_h261_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 355 of file h261enc.c.
Referenced by ff_mpv_encode_init().
|
static |
Referenced by h261_encode_block(), and h261_encode_init_static().
Definition at line 52 of file h261enc.c.
Referenced by epzs_motion_search_internal(), estimate_motion_b(), ff_h261_encode_init(), get_mb_score(), h263_mv4_search(), hpel_motion_search(), interlaced_search(), qpel_motion_search(), and sab_diamond_search().
|
static |
Definition at line 53 of file h261enc.c.
Referenced by ff_h261_encode_init(), and h261_encode_init_static().
|
static |
Definition at line 54 of file h261enc.c.
Referenced by ff_h261_encode_init(), and h261_encode_init_static().
|
static |
Definition at line 55 of file h261enc.c.
Referenced by h261_encode_init_static(), and h261_encode_motion().
const FFCodec ff_h261_encoder |