• Home
  • Raw
  • Download

Lines Matching refs:start_code

139     s->start_code    = -1;  in ff_mjpeg_decode_init()
1962 if (s->start_code == APP3 && id == AV_RB32("_JPS") && len >= 10) { in mjpeg_decode_app()
2002 if (s->start_code == APP1 && id == AV_RB32("Exif") && len >= 2) { in mjpeg_decode_app()
2037 if ((s->start_code == APP1) && (len > (0x28 - 8))) { in mjpeg_decode_app()
2057 if (s->start_code == APP2 && id == AV_RB32("ICC_") && len >= 10) { in mjpeg_decode_app()
2202 int start_code; in ff_mjpeg_find_marker() local
2203 start_code = find_marker(buf_ptr, buf_end); in ff_mjpeg_find_marker()
2210 if (start_code == SOS && !s->ls) { in ff_mjpeg_find_marker()
2267 } else if (start_code == SOS && s->ls) { in ff_mjpeg_find_marker()
2314 return start_code; in ff_mjpeg_find_marker()
2398 int start_code; in ff_mjpeg_receive_frame() local
2421 start_code = ff_mjpeg_find_marker(s, &buf_ptr, buf_end, in ff_mjpeg_receive_frame()
2425 if (start_code < 0) { in ff_mjpeg_receive_frame()
2430 start_code, unescaped_buf_size, s->pkt->size); in ff_mjpeg_receive_frame()
2434 start_code, buf_end - buf_ptr); in ff_mjpeg_receive_frame()
2443 s->start_code = start_code; in ff_mjpeg_receive_frame()
2445 av_log(avctx, AV_LOG_DEBUG, "startcode: %X\n", start_code); in ff_mjpeg_receive_frame()
2448 if (start_code >= RST0 && start_code <= RST7) { in ff_mjpeg_receive_frame()
2450 "restart marker: %d\n", start_code & 0x0f); in ff_mjpeg_receive_frame()
2452 } else if (start_code >= APP0 && start_code <= APP15) { in ff_mjpeg_receive_frame()
2457 } else if (start_code == COM) { in ff_mjpeg_receive_frame()
2461 } else if (start_code == DQT) { in ff_mjpeg_receive_frame()
2470 (start_code == SOF48 || start_code == LSE)) { in ff_mjpeg_receive_frame()
2476 switch(start_code) { in ff_mjpeg_receive_frame()
2491 switch (start_code) { in ff_mjpeg_receive_frame()
2507 if (start_code == SOF0) in ff_mjpeg_receive_frame()
2621 "mjpeg: unsupported coding type (%x)\n", start_code); in ff_mjpeg_receive_frame()