Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1144:21c85c4ab2f0 libavcodec
error resilience cleanup (its faster too...)
author | michaelni |
---|---|
date | Thu, 20 Mar 2003 01:00:57 +0000 |
parents | 6d6003cf89c2 |
children | 79e8ed620b17 |
comparison
equal
deleted
inserted
replaced
1143:a4facfd78935 | 1144:21c85c4ab2f0 |
---|---|
627 #endif | 627 #endif |
628 #ifdef ARCH_POWERPC | 628 #ifdef ARCH_POWERPC |
629 void MPV_common_init_ppc(MpegEncContext *s); | 629 void MPV_common_init_ppc(MpegEncContext *s); |
630 #endif | 630 #endif |
631 extern void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w); | 631 extern void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w); |
632 void ff_conceal_past_errors(MpegEncContext *s, int conceal_all); | |
633 void ff_copy_bits(PutBitContext *pb, uint8_t *src, int length); | 632 void ff_copy_bits(PutBitContext *pb, uint8_t *src, int length); |
634 void ff_clean_intra_table_entries(MpegEncContext *s); | 633 void ff_clean_intra_table_entries(MpegEncContext *s); |
635 void ff_init_scantable(MpegEncContext *s, ScanTable *st, const uint8_t *src_scantable); | 634 void ff_init_scantable(MpegEncContext *s, ScanTable *st, const uint8_t *src_scantable); |
636 void ff_error_resilience(MpegEncContext *s); | |
637 void ff_draw_horiz_band(MpegEncContext *s, int y, int h); | 635 void ff_draw_horiz_band(MpegEncContext *s, int y, int h); |
638 void ff_emulated_edge_mc(MpegEncContext *s, uint8_t *src, int linesize, int block_w, int block_h, | 636 void ff_emulated_edge_mc(MpegEncContext *s, uint8_t *src, int linesize, int block_w, int block_h, |
639 int src_x, int src_y, int w, int h); | 637 int src_x, int src_y, int w, int h); |
640 char ff_get_pict_type_char(int pict_type); | 638 char ff_get_pict_type_char(int pict_type); |
641 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size); | 639 int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size); |
640 | |
641 void ff_er_frame_start(MpegEncContext *s); | |
642 void ff_er_frame_end(MpegEncContext *s); | |
643 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status); | |
644 | |
642 | 645 |
643 extern enum PixelFormat ff_yuv420p_list[2]; | 646 extern enum PixelFormat ff_yuv420p_list[2]; |
644 | 647 |
645 static inline void ff_init_block_index(MpegEncContext *s){ | 648 static inline void ff_init_block_index(MpegEncContext *s){ |
646 s->block_index[0]= s->block_wrap[0]*(s->mb_y*2 + 1) - 1 + s->mb_x*2; | 649 s->block_index[0]= s->block_wrap[0]*(s->mb_y*2 + 1) - 1 + s->mb_x*2; |