comparison mp_image.h @ 4933:429994672d8c

're-include' possibility
author nick
date Sun, 03 Mar 2002 18:47:29 +0000
parents 9d97874d8691
children 993f274191ff
comparison
equal deleted inserted replaced
4932:d5280777c2f0 4933:429994672d8c
1 #ifndef __MP_IMAGE_H
2 #define __MP_IMAGE_H 1
1 3
2 // set if buffer content shouldn't be modified: 4 // set if buffer content shouldn't be modified:
3 #define MP_IMGFLAG_PRESERVE 0x01 5 #define MP_IMGFLAG_PRESERVE 0x01
4 // set if buffer content will be READED for next frame's MC: (I/P mpeg frames) 6 // set if buffer content will be READED for next frame's MC: (I/P mpeg frames)
5 #define MP_IMGFLAG_READABLE 0x02 7 #define MP_IMGFLAG_READABLE 0x02
85 memset(mpi,0,sizeof(mp_image_t)); 87 memset(mpi,0,sizeof(mp_image_t));
86 mpi->width=mpi->w=w; 88 mpi->width=mpi->w=w;
87 mpi->height=mpi->h=h; 89 mpi->height=mpi->h=h;
88 return mpi; 90 return mpi;
89 } 91 }
92
93 #endif