1068 |
BitstreamSkip(bs, 8); |
BitstreamSkip(bs, 8); |
1069 |
} |
} |
1070 |
|
|
1071 |
DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s\n", tmp); |
DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s", tmp); |
1072 |
|
|
1073 |
/* divx detection */ |
/* divx detection */ |
1074 |
i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed); |
i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed); |
1204 |
|
|
1205 |
WRITE_MARKER(); |
WRITE_MARKER(); |
1206 |
|
|
1207 |
|
if (pParam->fincr>0) { |
1208 |
BitstreamPutBit(bs, 1); // fixed_vop_rate = 1 |
BitstreamPutBit(bs, 1); // fixed_vop_rate = 1 |
1209 |
BitstreamPutBits(bs, pParam->fincr, log2bin(pParam->fbase)); // fixed_vop_time_increment |
BitstreamPutBits(bs, pParam->fincr, log2bin(pParam->fbase)); // fixed_vop_time_increment |
1210 |
|
}else{ |
1211 |
|
BitstreamPutBit(bs, 0); // fixed_vop_rate = 0 |
1212 |
|
} |
1213 |
|
|
1214 |
WRITE_MARKER(); |
WRITE_MARKER(); |
1215 |
BitstreamPutBits(bs, pParam->width, 13); // width |
BitstreamPutBits(bs, pParam->width, 13); // width |