Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1328:ca3122e0a3cd libavcodec
2x100l
author | michaelni |
---|---|
date | Fri, 27 Jun 2003 12:58:40 +0000 |
parents | 6cdd3b8f4fd3 |
children | 338a2f6e6402 |
comparison
equal
deleted
inserted
replaced
1327:854571532c89 | 1328:ca3122e0a3cd |
---|---|
1023 /* generic function for encode/decode called after a frame has been coded/decoded */ | 1023 /* generic function for encode/decode called after a frame has been coded/decoded */ |
1024 void MPV_frame_end(MpegEncContext *s) | 1024 void MPV_frame_end(MpegEncContext *s) |
1025 { | 1025 { |
1026 int i; | 1026 int i; |
1027 /* draw edge for correct motion prediction if outside */ | 1027 /* draw edge for correct motion prediction if outside */ |
1028 if(s->codec_id!=CODEC_ID_SVQ1){ | 1028 if(s->codec_id!=CODEC_ID_SVQ1 && s->codec_id != CODEC_ID_MPEG1VIDEO){ |
1029 if (s->pict_type != B_TYPE && !s->intra_only && !(s->flags&CODEC_FLAG_EMU_EDGE)) { | 1029 if (s->pict_type != B_TYPE && !s->intra_only && !(s->flags&CODEC_FLAG_EMU_EDGE)) { |
1030 draw_edges(s->current_picture.data[0], s->linesize , s->h_edge_pos , s->v_edge_pos , EDGE_WIDTH ); | 1030 draw_edges(s->current_picture.data[0], s->linesize , s->h_edge_pos , s->v_edge_pos , EDGE_WIDTH ); |
1031 draw_edges(s->current_picture.data[1], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); | 1031 draw_edges(s->current_picture.data[1], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); |
1032 draw_edges(s->current_picture.data[2], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); | 1032 draw_edges(s->current_picture.data[2], s->uvlinesize, s->h_edge_pos>>1, s->v_edge_pos>>1, EDGE_WIDTH/2); |
1033 } | 1033 } |