Mercurial > libavcodec.hg
diff mpegvideo.h @ 9024:2bf694251330 libavcodec
Add ff_h263_find_resync_marker() to find the bit position of the next resync_marker, if any.
patch by Gwenole Beauchesne gbeauchesne splitted-desktopcom
based on suggested implementation by me
author | michael |
---|---|
date | Tue, 24 Feb 2009 16:12:47 +0000 |
parents | 251c7a9cb795 |
children | 0f95e4f0a3f5 |
line wrap: on
line diff
--- a/mpegvideo.h Tue Feb 24 15:56:53 2009 +0000 +++ b/mpegvideo.h Tue Feb 24 16:12:47 2009 +0000 @@ -836,6 +836,7 @@ int ff_mpeg4_decode_partitions(MpegEncContext *s); int ff_mpeg4_get_video_packet_prefix_length(MpegEncContext *s); int ff_h263_resync(MpegEncContext *s); +const uint8_t *ff_h263_find_resync_marker(const uint8_t *p, const uint8_t *end); int ff_h263_get_gob_height(MpegEncContext *s); void ff_mpeg4_init_direct_mv(MpegEncContext *s); int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my);