#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "libavutil/x86/asm.h"
#include "h263.h"
#include "mpeg4video.h"
#include "msmpeg4data.h"
#include "vc1data.h"
Go to the source code of this file.
Definition in file msmpeg4.c.
| #define DEFAULT_INTER_INDEX 3 |
| #define V2_INTRA_CBPC_VLC_BITS 3 |
Definition at line 50 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v12_decode_mb().
| #define V2_MB_TYPE_VLC_BITS 7 |
Definition at line 51 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v12_decode_mb().
| #define V2_MV_VLC_BITS 9 |
Definition at line 53 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v2_decode_motion().
| int ff_msmpeg4_coded_block_pred | ( | MpegEncContext * | s, | |
| int | n, | |||
| uint8_t ** | coded_block_ptr | |||
| ) |
Definition at line 164 of file msmpeg4.c.
Referenced by ff_msmpeg4_encode_mb(), ff_wmv2_decode_mb(), ff_wmv2_encode_mb(), and msmpeg4v34_decode_mb().
| av_cold void ff_msmpeg4_common_init | ( | MpegEncContext * | s | ) |
Definition at line 114 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_init().
| int ff_msmpeg4_decode_block | ( | MpegEncContext * | s, | |
| DCTELEM * | block, | |||
| int | n, | |||
| int | coded, | |||
| const uint8_t * | scan_table | |||
| ) |
Definition at line 940 of file msmpeg4.c.
Referenced by ff_wmv2_decode_mb(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), and wmv2_decode_inter_block().
| int ff_msmpeg4_decode_ext_header | ( | MpegEncContext * | s, | |
| int | buf_size | |||
| ) |
Definition at line 852 of file msmpeg4.c.
Referenced by ff_h263_decode_frame(), and ff_msmpeg4_decode_picture_header().
| av_cold int ff_msmpeg4_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 590 of file msmpeg4.c.
Referenced by vc1_decode_frame(), wmv2_decode_init(), and wmv9_init().
| int ff_msmpeg4_decode_motion | ( | MpegEncContext * | s, | |
| int * | mx_ptr, | |||
| int * | my_ptr | |||
| ) |
Definition at line 1175 of file msmpeg4.c.
Referenced by msmpeg4v34_decode_mb(), and wmv2_decode_motion().
| int ff_msmpeg4_decode_picture_header | ( | MpegEncContext * | s | ) |
| int ff_msmpeg4_pred_dc | ( | MpegEncContext * | s, | |
| int | n, | |||
| int16_t ** | dc_val_ptr, | |||
| int * | dir_ptr | |||
| ) |
Definition at line 219 of file msmpeg4.c.
Referenced by msmpeg4_decode_dc(), and msmpeg4_encode_dc().
| static av_cold void init_h263_dc_for_msmpeg4 | ( | void | ) | [static] |
| static int msmpeg4_decode_dc | ( | MpegEncContext * | s, | |
| int | n, | |||
| int * | dir_ptr | |||
| ) | [static] |
| static int msmpeg4v12_decode_mb | ( | MpegEncContext * | s, | |
| DCTELEM | block[6][64] | |||
| ) | [static] |
| static int msmpeg4v1_pred_dc | ( | MpegEncContext * | s, | |
| int | n, | |||
| int32_t ** | dc_val_ptr | |||
| ) | [inline, static] |
| static int msmpeg4v2_decode_motion | ( | MpegEncContext * | s, | |
| int | pred, | |||
| int | f_code | |||
| ) | [static] |
| static int msmpeg4v34_decode_mb | ( | MpegEncContext * | s, | |
| DCTELEM | block[6][64] | |||
| ) | [static] |
Initial value:
{
.name = "msmpeg4v1",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MSMPEG4V1,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_msmpeg4_decode_init,
.close = ff_h263_decode_end,
.decode = ff_h263_decode_frame,
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
.pix_fmts = ff_pixfmt_list_420,
}
Initial value:
{
.name = "msmpeg4v2",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MSMPEG4V2,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_msmpeg4_decode_init,
.close = ff_h263_decode_end,
.decode = ff_h263_decode_frame,
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
.pix_fmts = ff_pixfmt_list_420,
}
Initial value:
{
.name = "msmpeg4",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MSMPEG4V3,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_msmpeg4_decode_init,
.close = ff_h263_decode_end,
.decode = ff_h263_decode_frame,
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
.pix_fmts = ff_pixfmt_list_420,
}
Initial value:
{
.name = "wmv1",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_WMV1,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_msmpeg4_decode_init,
.close = ff_h263_decode_end,
.decode = ff_h263_decode_frame,
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
.pix_fmts = ff_pixfmt_list_420,
}
VLC v2_dc_chroma_vlc [static] |
VLC v2_dc_lum_vlc [static] |
VLC v2_intra_cbpc_vlc [static] |
VLC v2_mb_type_vlc [static] |
1.5.8