Searched refs:cur_byte (Results 1 – 7 of 7) sorted by relevance
70 static void next_byte(AVIOContext *pb, int *cur_byte) in next_byte() argument74 *cur_byte = ret > 0 ? b : ret == 0 ? AVERROR_EOF : ret; in next_byte()77 static void skip_spaces(AVIOContext *pb, int *cur_byte) in skip_spaces() argument79 while (*cur_byte == ' ' || *cur_byte == '\t' || in skip_spaces()80 *cur_byte == '\n' || *cur_byte == '\r') in skip_spaces()81 next_byte(pb, cur_byte); in skip_spaces()84 static int expect_byte(AVIOContext *pb, int *cur_byte, uint8_t c) in expect_byte() argument86 skip_spaces(pb, cur_byte); in expect_byte()87 if (*cur_byte != c) in expect_byte()88 return ERR_CODE(*cur_byte); in expect_byte()[all …]
83 unsigned char cur_byte; in cyuv_decode_frame() local133 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()134 u_plane[u_ptr++] = u_pred = cur_byte & 0xF0; in cyuv_decode_frame()135 y_plane[y_ptr++] = y_pred = (cur_byte & 0x0F) << 4; in cyuv_decode_frame()137 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()138 v_plane[v_ptr++] = v_pred = cur_byte & 0xF0; in cyuv_decode_frame()139 y_pred += y_table[cur_byte & 0x0F]; in cyuv_decode_frame()142 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()143 y_pred += y_table[cur_byte & 0x0F]; in cyuv_decode_frame()145 y_pred += y_table[(cur_byte & 0xF0) >> 4]; in cyuv_decode_frame()[all …]
32 int cur_byte; member51 dctx->cur_byte = 0; in dnxhd_find_frame_end()62 dctx->cur_byte++; in dnxhd_find_frame_end()65 if (dctx->cur_byte == 24) { in dnxhd_find_frame_end()67 } else if (dctx->cur_byte == 26) { in dnxhd_find_frame_end()69 } else if (dctx->cur_byte == 42) { in dnxhd_find_frame_end()87 dctx->cur_byte = 0; in dnxhd_find_frame_end()94 dctx->cur_byte += buf_size - i; in dnxhd_find_frame_end()107 dctx->cur_byte = 0; in dnxhd_find_frame_end()
87 byte cur_byte = get_next(); in VLQDecodeUnsigned() local89 if (cur_byte <= kDataMask) { in VLQDecodeUnsigned()90 return cur_byte; in VLQDecodeUnsigned()92 uint32_t bits = cur_byte & kDataMask; in VLQDecodeUnsigned()94 cur_byte = get_next(); in VLQDecodeUnsigned()95 bits |= (cur_byte & kDataMask) << shift; in VLQDecodeUnsigned()96 if (cur_byte <= kDataMask) break; in VLQDecodeUnsigned()
166 size_t cur_byte = 0; in ByteOffsetOfNthLine() local167 while (cur_byte < buf.size()) { in ByteOffsetOfNthLine()168 if (IsNewline(buf, cur_byte)) { in ByteOffsetOfNthLine()171 return cur_byte + 1; in ByteOffsetOfNthLine()173 cur_byte++; in ByteOffsetOfNthLine()
314 const unsigned char *cur_byte; in mbedtls_asn1_write_named_bitstring() local327 cur_byte = buf + byte_len - 1; in mbedtls_asn1_write_named_bitstring()328 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring()344 cur_byte_shifted = *--cur_byte; in mbedtls_asn1_write_named_bitstring()
2423 unsigned cur_byte;2461 for (cur_byte = 0; cur_byte < sizeof(should_corrupt_byte); cur_byte++) {2463 unsigned char * const byte = &serialized_session[cur_byte];2465 if (should_corrupt_byte[cur_byte] == 0) {