#include <stdint.h>
#include <string.h>
#include "libavutil/avutil.h"
#include "libavutil/mem.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "h263.h"
#include "mpeg4video.h"
#include "msmpeg4data.h"
#include "put_bits.h"
#include "rl.h"
#include "vc1data.h"
Go to the source code of this file.
Functions | |
| static void | init_mv_table (MVTable *tab) |
| void | ff_msmpeg4_code012 (PutBitContext *pb, int n) |
| static int | get_size_of_code (MpegEncContext *s, RLTable *rl, int last, int run, int level, int intra) |
| av_cold void | ff_msmpeg4_encode_init (MpegEncContext *s) |
| static void | find_best_tables (MpegEncContext *s) |
| void | ff_msmpeg4_encode_picture_header (MpegEncContext *s, int picture_number) |
| void | ff_msmpeg4_encode_ext_header (MpegEncContext *s) |
| void | ff_msmpeg4_encode_motion (MpegEncContext *s, int mx, int my) |
| void | ff_msmpeg4_handle_slices (MpegEncContext *s) |
| static void | msmpeg4v2_encode_motion (MpegEncContext *s, int val) |
| void | ff_msmpeg4_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
| static void | msmpeg4_encode_dc (MpegEncContext *s, int level, int n, int *dir_ptr) |
| void | ff_msmpeg4_encode_block (MpegEncContext *s, DCTELEM *block, int n) |
Variables | |
| static uint8_t | rl_length [NB_RL_TABLES][MAX_LEVEL+1][MAX_RUN+1][2] |
Definition in file msmpeg4enc.c.
| void ff_msmpeg4_code012 | ( | PutBitContext * | pb, | |
| int | n | |||
| ) |
Definition at line 64 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_picture_header(), and ff_wmv2_encode_picture_header().
| void ff_msmpeg4_encode_block | ( | MpegEncContext * | s, | |
| DCTELEM * | block, | |||
| int | n | |||
| ) |
Definition at line 575 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_mb(), and ff_wmv2_encode_mb().
| void ff_msmpeg4_encode_ext_header | ( | MpegEncContext * | s | ) |
Definition at line 276 of file msmpeg4enc.c.
Referenced by encode_thread(), and ff_msmpeg4_encode_picture_header().
| av_cold void ff_msmpeg4_encode_init | ( | MpegEncContext * | s | ) |
| void ff_msmpeg4_encode_mb | ( | MpegEncContext * | s, | |
| DCTELEM | block[6][64], | |||
| int | motion_x, | |||
| int | motion_y | |||
| ) |
| void ff_msmpeg4_encode_motion | ( | MpegEncContext * | s, | |
| int | mx, | |||
| int | my | |||
| ) |
Definition at line 289 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_mb(), and ff_wmv2_encode_mb().
| void ff_msmpeg4_encode_picture_header | ( | MpegEncContext * | s, | |
| int | picture_number | |||
| ) |
| void ff_msmpeg4_handle_slices | ( | MpegEncContext * | s | ) |
Definition at line 327 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_mb(), and ff_wmv2_encode_mb().
| static void find_best_tables | ( | MpegEncContext * | s | ) | [static] |
| static void init_mv_table | ( | MVTable * | tab | ) | [static] |
| static void msmpeg4_encode_dc | ( | MpegEncContext * | s, | |
| int | level, | |||
| int | n, | |||
| int * | dir_ptr | |||
| ) | [static] |
| static void msmpeg4v2_encode_motion | ( | MpegEncContext * | s, | |
| int | val | |||
| ) | [static] |
Definition at line 45 of file msmpeg4enc.c.
Referenced by ff_msmpeg4_encode_init(), and find_best_tables().
1.5.8