Mercurial > libavcodec.hg
comparison vcr1.c @ 6450:c32be43b52b2 libavcodec
remove more useless mpegvideo.h includes
author | aurel |
---|---|
date | Wed, 05 Mar 2008 00:43:11 +0000 |
parents | d1cf4f790f31 |
children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
6449:208074826b34 | 6450:c32be43b52b2 |
---|---|
23 * @file vcr1.c | 23 * @file vcr1.c |
24 * ati vcr1 codec. | 24 * ati vcr1 codec. |
25 */ | 25 */ |
26 | 26 |
27 #include "avcodec.h" | 27 #include "avcodec.h" |
28 #include "mpegvideo.h" | 28 #include "dsputil.h" |
29 | 29 |
30 //#undef NDEBUG | 30 //#undef NDEBUG |
31 //#include <assert.h> | 31 //#include <assert.h> |
32 | 32 |
33 typedef struct VCR1Context{ | 33 typedef struct VCR1Context{ |
53 p->reference= 0; | 53 p->reference= 0; |
54 if(avctx->get_buffer(avctx, p) < 0){ | 54 if(avctx->get_buffer(avctx, p) < 0){ |
55 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); | 55 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
56 return -1; | 56 return -1; |
57 } | 57 } |
58 p->pict_type= I_TYPE; | 58 p->pict_type= FF_I_TYPE; |
59 p->key_frame= 1; | 59 p->key_frame= 1; |
60 | 60 |
61 for(i=0; i<16; i++){ | 61 for(i=0; i<16; i++){ |
62 a->delta[i]= *(bytestream++); | 62 a->delta[i]= *(bytestream++); |
63 bytestream++; | 63 bytestream++; |
120 AVFrame * const p= (AVFrame*)&a->picture; | 120 AVFrame * const p= (AVFrame*)&a->picture; |
121 int size; | 121 int size; |
122 int mb_x, mb_y; | 122 int mb_x, mb_y; |
123 | 123 |
124 *p = *pict; | 124 *p = *pict; |
125 p->pict_type= I_TYPE; | 125 p->pict_type= FF_I_TYPE; |
126 p->key_frame= 1; | 126 p->key_frame= 1; |
127 | 127 |
128 emms_c(); | 128 emms_c(); |
129 | 129 |
130 align_put_bits(&a->pb); | 130 align_put_bits(&a->pb); |