61 for(
a = 0;
a < 256;
a++){
62 palette[
a] = 0xFF
U << 24 | bytestream2_get_be24u(&ctx->
g) * 4;
63 palette[
a] |= palette[
a] >> 6 & 0x30303;
70 void *
data,
int *got_frame,
77 int remaining = avctx->
width;
78 int wrap_to_next_line;
98 switch(block_type = bytestream2_get_byte(&vid->
g)){
108 yoffset = bytestream2_get_le16(&vid->
g);
109 if(yoffset >= avctx->
height)
115 while((code = bytestream2_get_byte(&vid->
g))){
119 while(length > remaining){
123 memset(dst, bytestream2_peek_byte(&vid->
g), remaining);
125 dst += remaining + wrap_to_next_line;
126 remaining = avctx->
width;
135 memset(dst, bytestream2_get_byte(&vid->
g), length);
157 .
name =
"bethsoftvid",