Home
last modified time | relevance | path

Searched refs:cur_byte (Results 1 – 8 of 8) 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.c82 unsigned char cur_byte; in cyuv_decode_frame() local
132 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()
133 u_plane[u_ptr++] = u_pred = cur_byte & 0xF0; in cyuv_decode_frame()
134 y_plane[y_ptr++] = y_pred = (cur_byte & 0x0F) << 4; in cyuv_decode_frame()
136 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()
137 v_plane[v_ptr++] = v_pred = cur_byte & 0xF0; in cyuv_decode_frame()
138 y_pred += y_table[cur_byte & 0x0F]; in cyuv_decode_frame()
141 cur_byte = buf[stream_ptr++]; in cyuv_decode_frame()
142 y_pred += y_table[cur_byte & 0x0F]; in cyuv_decode_frame()
144 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/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/gstreamer/gstreamer/libs/gst/base/
Dgstbitwriter.h181 guint8 *cur_byte; \
186 cur_byte = bitwriter->data + byte_pos; \
196 *cur_byte |= (((value >> nbits) & _gst_bit_writer_bit_filling_mask[fill_bits]) \
198 ++cur_byte; \
201 g_assert(cur_byte <= \
/third_party/mbedtls/library/
Dasn1write.c307 const unsigned char *cur_byte; in mbedtls_asn1_write_named_bitstring() local
321 cur_byte = buf + byte_len - 1; in mbedtls_asn1_write_named_bitstring()
322 cur_byte_shifted = *cur_byte >> unused_bits; in mbedtls_asn1_write_named_bitstring()
337 cur_byte_shifted = *--cur_byte; in mbedtls_asn1_write_named_bitstring()
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-tknzr.c1260 guchar next_bytes[3] = { 0 }, cur_byte = 0; in cr_tknzr_parse_rgb() local
1286 READ_NEXT_BYTE (a_this, &cur_byte); in cr_tknzr_parse_rgb()
1287 ENSURE_PARSING_COND (cur_byte == '('); in cr_tknzr_parse_rgb()
1310 READ_NEXT_BYTE (a_this, &cur_byte); in cr_tknzr_parse_rgb()
1311 ENSURE_PARSING_COND (cur_byte == ','); in cr_tknzr_parse_rgb()
1341 READ_NEXT_BYTE (a_this, &cur_byte); in cr_tknzr_parse_rgb()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function4326 unsigned cur_byte;
4354 for( cur_byte = 0; cur_byte < sizeof( should_corrupt_byte ); cur_byte++ )
4357 unsigned char * const byte = &serialized_session[ cur_byte ];
4359 if( should_corrupt_byte[ cur_byte ] == 0 )