comparison utils.c @ 11567:1025297f5624 libavcodec

Add function to export EDGE_WIDTH from libavcodec.
author koorogi
date Thu, 01 Apr 2010 06:41:16 +0000
parents 8a4984c5cacc
children aea1b01ff81b
comparison
equal deleted inserted replaced
11566:214a2a8b9e58 11567:1025297f5624
98 void register_avcodec(AVCodec *codec) 98 void register_avcodec(AVCodec *codec)
99 { 99 {
100 avcodec_register(codec); 100 avcodec_register(codec);
101 } 101 }
102 #endif 102 #endif
103
104 unsigned avcodec_get_edge_width(void)
105 {
106 return EDGE_WIDTH;
107 }
103 108
104 void avcodec_set_dimensions(AVCodecContext *s, int width, int height){ 109 void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
105 s->coded_width = width; 110 s->coded_width = width;
106 s->coded_height= height; 111 s->coded_height= height;
107 s->width = -((-width )>>s->lowres); 112 s->width = -((-width )>>s->lowres);