|
FFmpeg
|
#include <stdint.h>#include <string.h>#include "libavutil/attributes.h"#include "libavutil/avutil.h"#include "libavutil/thread.h"#include "codec_internal.h"#include "mpegvideo.h"#include "mpegvideoenc.h"#include "h263.h"#include "h263data.h"#include "mpeg4video.h"#include "msmpeg4.h"#include "msmpeg4data.h"#include "msmpeg4_vc1_data.h"#include "msmpeg4enc.h"#include "put_bits.h"#include "rl.h"Go to the source code of this file.
Macros | |
| #define | NO_SLICE_THREADING_HERE |
Functions | |
| static av_cold void | init_mv_table (const uint16_t mv_table[], const uint8_t mv_table_lens[], uint32_t mv_vector_table[4096], unsigned escape_code, int escape_length) |
| void | ff_msmpeg4_code012 (PutBitContext *pb, int n) |
| static int | get_size_of_code (const RLTable *rl, int last, int run, int level, int intra) |
| static av_cold void | msmpeg4_encode_init_static (void) |
| static void | find_best_tables (MSMPEG4EncContext *ms) |
| static int | msmpeg4_encode_picture_header (MPVMainEncContext *const m) |
| void | ff_msmpeg4_encode_ext_header (MPVEncContext *const s) |
| void | ff_msmpeg4_encode_motion (MSMPEG4EncContext *const ms, int mx, int my) |
| void | ff_msmpeg4_handle_slices (MPVEncContext *const s) |
| static void | msmpeg4v2_encode_motion (MPVEncContext *const s, int val) |
| static void | msmpeg4_encode_mb (MPVEncContext *const s, int16_t block[][64], int motion_x, int motion_y) |
| static void | msmpeg4_encode_dc (MSMPEG4EncContext *const ms, int level, int n, int *dir_ptr) |
| void | ff_msmpeg4_encode_block (MPVEncContext *const s, int16_t *block, int n) |
| av_cold void | ff_msmpeg4_encode_init (MPVMainEncContext *const m) |
Variables | |
| static uint8_t | rl_length [NB_RL_TABLES][MAX_LEVEL+1][MAX_RUN+1][2] |
| static uint32_t | mv_vector_tables [2][4096] |
| const FFCodec | ff_msmpeg4v2_encoder |
| const FFCodec | ff_msmpeg4v3_encoder |
| const FFCodec | ff_wmv1_encoder |
MSMPEG4 encoder backend
Definition in file msmpeg4enc.c.
| #define NO_SLICE_THREADING_HERE |
Definition at line 33 of file msmpeg4enc.c.
|
static |
Definition at line 58 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_init_static().
| void ff_msmpeg4_code012 | ( | PutBitContext * | pb, |
| int | n | ||
| ) |
Definition at line 81 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_picture_header(), and wmv2_encode_picture_header().
|
static |
Definition at line 90 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_init_static().
|
static |
Definition at line 133 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_init().
|
static |
Definition at line 151 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_picture_header().
|
static |
Definition at line 217 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_init().
| void ff_msmpeg4_encode_ext_header | ( | MPVEncContext *const | s | ) |
Definition at line 285 of file msmpeg4enc.c.
Referenced by encode_thread(), and msmpeg4_encode_picture_header().
| void ff_msmpeg4_encode_motion | ( | MSMPEG4EncContext *const | ms, |
| int | mx, | ||
| int | my | ||
| ) |
Definition at line 306 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_mb(), and wmv2_encode_mb().
| void ff_msmpeg4_handle_slices | ( | MPVEncContext *const | s | ) |
Definition at line 332 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_mb(), and wmv2_encode_mb().
|
static |
Definition at line 345 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_mb().
|
static |
Definition at line 377 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_init().
|
static |
Definition at line 502 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_block().
| void ff_msmpeg4_encode_block | ( | MPVEncContext *const | s, |
| int16_t * | block, | ||
| int | n | ||
| ) |
Definition at line 555 of file msmpeg4enc.c.
Referenced by msmpeg4_encode_mb(), and wmv2_encode_mb().
| av_cold void ff_msmpeg4_encode_init | ( | MPVMainEncContext *const | m | ) |
Definition at line 673 of file msmpeg4enc.c.
Referenced by ff_mpv_encode_init().
|
static |
Definition at line 51 of file msmpeg4enc.c.
Referenced by find_best_tables(), and msmpeg4_encode_init_static().
|
static |
Definition at line 55 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_motion(), and msmpeg4_encode_init_static().
| const FFCodec ff_msmpeg4v2_encoder |
Definition at line 694 of file msmpeg4enc.c.
| const FFCodec ff_msmpeg4v3_encoder |
Definition at line 710 of file msmpeg4enc.c.
| const FFCodec ff_wmv1_encoder |
Definition at line 726 of file msmpeg4enc.c.
1.8.17