Lines Matching refs:stc
926 if (h->stc > 0xAF) in decode_slice_header()
927 av_log(h->avctx, AV_LOG_ERROR, "unexpected start code 0x%02x\n", h->stc); in decode_slice_header()
929 if (h->stc >= h->mb_height) { in decode_slice_header()
930 av_log(h->avctx, AV_LOG_ERROR, "stc 0x%02x is too large\n", h->stc); in decode_slice_header()
934 h->mby = h->stc; in decode_slice_header()
966 h->stc = get_bits(gb, 8); in check_for_slice()
967 if (h->stc >= h->mb_height) in check_for_slice()
995 if (h->stc == PIC_PB_START_CODE) { in decode_pic()
1062 if (!h->pic_structure && h->stc == PIC_PB_START_CODE) in decode_pic()
1232 uint32_t stc = -1; in cavs_decode_frame() local
1246 h->stc = 0; in cavs_decode_frame()
1251 buf_ptr = avpriv_find_start_code(buf_ptr, buf_end, &stc); in cavs_decode_frame()
1252 if ((stc & 0xFFFFFE00) || buf_ptr == buf_end) { in cavs_decode_frame()
1253 if (!h->stc) in cavs_decode_frame()
1258 switch (stc) { in cavs_decode_frame()
1279 h->stc = stc; in cavs_decode_frame()
1301 if (stc <= SLICE_MAX_START_CODE) { in cavs_decode_frame()