diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-29 19:44:02 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-31 13:06:19 +0200 |
commit | 31a117a0e6d6eafdf997bfe0843f3e3d39cc0332 (patch) | |
tree | f53eb4af01671bf2ff3e7cc95d9c243d69aa6ab0 /libavcodec/msmpeg4.h | |
parent | 2f15846ad7ad57beb0bca99c624affa0facf284b (diff) | |
download | ffmpeg-31a117a0e6d6eafdf997bfe0843f3e3d39cc0332.tar.gz |
mpegvideo: msmpeg4: Move function declarations
Diffstat (limited to 'libavcodec/msmpeg4.h')
-rw-r--r-- | libavcodec/msmpeg4.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/msmpeg4.h b/libavcodec/msmpeg4.h index 23138dc073..e57ae6655f 100644 --- a/libavcodec/msmpeg4.h +++ b/libavcodec/msmpeg4.h @@ -49,12 +49,23 @@ void ff_msmpeg4_handle_slices(MpegEncContext *s); void ff_msmpeg4_encode_motion(MpegEncContext * s, int mx, int my); int ff_msmpeg4_coded_block_pred(MpegEncContext * s, int n, uint8_t **coded_block_ptr); + +int ff_msmpeg4_encode_init(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_mb(MpegEncContext *s, int16_t block[6][64], + int motion_x, int motion_y); + +int ff_msmpeg4_decode_init(AVCodecContext *avctx); +int ff_msmpeg4_decode_picture_header(MpegEncContext *s); +int ff_msmpeg4_decode_ext_header(MpegEncContext *s, int buf_size); int ff_msmpeg4_decode_motion(MpegEncContext * s, int *mx_ptr, int *my_ptr); int ff_msmpeg4_decode_block(MpegEncContext * s, int16_t * block, int n, int coded, const uint8_t *scan_table); int ff_msmpeg4_pred_dc(MpegEncContext *s, int n, int16_t **dc_val_ptr, int *dir_ptr); + #define CONFIG_MSMPEG4_DECODER (CONFIG_MSMPEG4V1_DECODER || \ CONFIG_MSMPEG4V2_DECODER || \ CONFIG_MSMPEG4V3_DECODER || \ |