59 for(
a = 0;
a < 256;
a++){
60 palette[
a] = 0xFF
U << 24 | bytestream2_get_be24u(&ctx->
g) * 4;
61 palette[
a] |= palette[
a] >> 6 & 0x30303;
68 void *
data,
int *got_frame,
75 int remaining = avctx->
width;
76 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))){
116 int length = code & 0x7f;
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);
156 .
name =
"bethsoftvid",