69 const unsigned char *src,
int src_stride,
71 int xoffset,
int yoffset,
78 if (i+xoffset>=0 && i+xoffset<width &&
79 j+yoffset>=0 && j+yoffset<height) {
80 dst[j*dst_stride + i] = src[(j+yoffset)*src_stride + i+xoffset];
82 dst[j*dst_stride + i] = 0;
93 for(x=0; x<s->
avctx->
width/4 && buf_end - buf > i; x++) {
96 if (raw+16<buf_end && *raw==0xFF) {
103 }
else if(raw<buf_end) {
104 int xoffset = (*raw & 0xF) - 7;
105 int yoffset = ((*raw >> 4)) - 7;
113 int xoffset = (buf[i] & 0xF) - 7;
114 int yoffset = ((buf[i] >> 4)) - 7;
126 int pal_start, pal_count, i;
128 if(buf_end - buf < 16) {
145 for (i=pal_start; i<pal_start+pal_count && i<
AVPALETTE_COUNT && buf_end - buf >= 3; i++) {
151 #define EA_PREAMBLE_SIZE 8
152 #define MVIh_TAG MKTAG('M', 'V', 'I', 'h')
155 void *
data,
int *got_frame,
159 int buf_size = avpkt->
size;
161 const uint8_t *buf_end = buf + buf_size;