Home
last modified time | relevance | path

Searched refs:cur_byte (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavformat/
Dtedcaptionsdec.c70 static void next_byte(AVIOContext *pb, int *cur_byte) in next_byte() argument
74 *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() argument
79 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() argument
86 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 …]
/third_party/ffmpeg/libavcodec/
Dcyuv.c83 unsigned char cur_byte; in cyuv_decode_frame() local
133 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 …]
Ddnxhd_parser.c32 int cur_byte; member
51 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()
/third_party/node/deps/v8/src/base/
Dvlq.h87 byte cur_byte = get_next(); in VLQDecodeUnsigned() local
89 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()
/third_party/gn/src/gn/
Dtokenizer.cc166 size_t cur_byte = 0; in ByteOffsetOfNthLine() local
167 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()
/third_party/mbedtls/library/
Dasn1write.c314 const unsigned char *cur_byte; in mbedtls_asn1_write_named_bitstring() local
327 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()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function2423 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) {