Lines Matching refs:start_code
142 s->start_code = -1;
1980 if (s->start_code == APP3 && id == AV_RB32("_JPS") && len >= 10) {
2020 if (s->start_code == APP1 && id == AV_RB32("Exif") && len >= 2) {
2055 if ((s->start_code == APP1) && (len > (0x28 - 8))) {
2075 if (s->start_code == APP2 && id == AV_RB32("ICC_") && len >= 10) {
2220 int start_code;
2221 start_code = find_marker(buf_ptr, buf_end);
2228 if (start_code == SOS && !s->ls) {
2285 } else if (start_code == SOS && s->ls) {
2332 return start_code;
2416 int start_code;
2442 start_code = ff_mjpeg_find_marker(s, &buf_ptr, buf_end,
2446 if (start_code < 0) {
2451 start_code, unescaped_buf_size, s->pkt->size);
2455 start_code, buf_end - buf_ptr);
2464 s->start_code = start_code;
2466 av_log(avctx, AV_LOG_DEBUG, "startcode: %X\n", start_code);
2469 if (start_code >= RST0 && start_code <= RST7) {
2471 "restart marker: %d\n", start_code & 0x0f);
2473 } else if (start_code >= APP0 && start_code <= APP15) {
2478 } else if (start_code == COM) {
2482 } else if (start_code == DQT) {
2491 (start_code == SOF48 || start_code == LSE)) {
2497 switch(start_code) {
2512 switch (start_code) {
2528 if (start_code == SOF0)
2644 "mjpeg: unsupported coding type (%x)\n", start_code);