Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 25 of 50) sorted by relevance

12

/third_party/boost/boost/compute/container/
Ddynamic_bitset.hpp42 typedef Block block_type; typedef in boost::compute::dynamic_bitset
47 BOOST_STATIC_CONSTANT(size_type, bits_per_block = sizeof(block_type) * CHAR_BIT);
53 : m_bits(size / sizeof(block_type), queue.get_context()), in dynamic_bitset()
115 popcount<block_type>(), in count()
136 block_type(0), in resize()
158 block_type block_value; in set()
176 const size_type bit = n % (sizeof(block_type) * CHAR_BIT); in test()
177 const size_type block = n / (sizeof(block_type) * CHAR_BIT); in test()
179 block_type block_value; in test()
195 m_bits.begin(), m_bits.end(), lambda::_1 != block_type(0), queue in any()
[all …]
/third_party/ffmpeg/libavformat/
Dbethsoftvid.c104 uint8_t block_type, AVFormatContext *s) in read_frame() argument
141 vidbuf_start[vidbuf_nbytes++] = block_type; in read_frame()
147 if(block_type == VIDEO_YOFF_P_FRAME){ in read_frame()
168 if(block_type == VIDEO_I_FRAME) in read_frame()
198 if (block_type == VIDEO_I_FRAME) in read_frame()
225 unsigned char block_type; in vid_read_packet() local
232 block_type = avio_r8(pb); in vid_read_packet()
233 switch(block_type){ in vid_read_packet()
280 return read_frame(vid, pb, pkt, block_type, s); in vid_read_packet()
289 block_type, block_type, block_type); in vid_read_packet()
Drtpdec_qdm2.c40 int block_type; ///< superblock type, value 2 .. 8 member
103 qdm->block_type = AV_RB16(p + 2); in qdm2_parse_config()
208 *p++ = qdm->block_type | 0x80; in qdm2_restore_block()
212 *p++ = qdm->block_type; in qdm2_restore_block()
215 if ((include_csum = (qdm->block_type == 2 || qdm->block_type == 4))) { in qdm2_restore_block()
/third_party/ffmpeg/libavcodec/
Dvmdaudio.c142 int block_type, silent_chunks, audio_chunks; in vmdaudio_decode_frame() local
153 block_type = buf[6]; in vmdaudio_decode_frame()
154 if (block_type < BLOCK_TYPE_AUDIO || block_type > BLOCK_TYPE_SILENCE) { in vmdaudio_decode_frame()
155 av_log(avctx, AV_LOG_ERROR, "unknown block type: %d\n", block_type); in vmdaudio_decode_frame()
163 if (block_type == BLOCK_TYPE_INITIAL) { in vmdaudio_decode_frame()
173 } else if (block_type == BLOCK_TYPE_SILENCE) { in vmdaudio_decode_frame()
Drv34.c71 static int rv34_decode_mv(RV34DecContext *r, int block_type);
363 r->block_type = RV34_MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
373 r->block_type = RV34_MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
395 r->block_type = r->decode_mb_info(r); in rv34_decode_inter_mb_header()
396 if(r->block_type == -1) in rv34_decode_inter_mb_header()
398 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
399 r->mb_type[mb_pos] = r->block_type; in rv34_decode_inter_mb_header()
400 if(r->block_type == RV34_MB_SKIP){ in rv34_decode_inter_mb_header()
407 if (rv34_decode_mv(r, r->block_type) < 0) in rv34_decode_inter_mb_header()
409 if(r->block_type == RV34_MB_SKIP){ in rv34_decode_inter_mb_header()
[all …]
Dmpegaudiodsp.h38 int count, int switch_point, int block_type);
40 int count, int switch_point, int block_type);
80 int count, int switch_point, int block_type);
83 int count, int switch_point, int block_type);
Dc93.c162 C93BlockType block_type; in decode_frame() local
167 block_type= bt & 0x0F; in decode_frame()
168 switch (block_type) { in decode_frame()
183 if (block_type == C93_4X4_FROM_CURR && from_y == y+j && in decode_frame()
209 if (block_type == C93_4X4_2COLOR) { in decode_frame()
213 } else if (block_type == C93_4X4_4COLOR) { in decode_frame()
236 block_type, x, y); in decode_frame()
Dbethsoftvideo.c74 char block_type; in bethsoftvid_decode_frame() local
98 switch(block_type = bytestream2_get_byte(&vid->g)){ in bethsoftvid_decode_frame()
127 else if(block_type == VIDEO_I_FRAME) in bethsoftvid_decode_frame()
139 else if(block_type == VIDEO_I_FRAME) in bethsoftvid_decode_frame()
Dtruemotion1.c66 int block_type; member
120 int block_type; member
461 s->block_type = compression_types[header.compression].block_type; in truemotion1_decode_header()
466 s->block_height, s->block_type, in truemotion1_decode_header()
693 if (s->block_type == BLOCK_2x2) { in truemotion1_decode_16bit()
700 } else if (s->block_type == BLOCK_4x2) { in truemotion1_decode_16bit()
819 if (s->block_type == BLOCK_2x2) { in truemotion1_decode_24bit()
826 } else if (s->block_type == BLOCK_4x2) { in truemotion1_decode_24bit()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
46 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
48 switch (block_type) { in pkcs1_generate_encryption_block()
71 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dpkcs1.c18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
46 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
48 switch (block_type) { in pkcs1_generate_encryption_block()
71 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
/third_party/skia/experimental/skrive/src/reader/
DBinaryReader.cpp110 uint8_t block_type; in openBlock() local
113 if (this->validateSize(sizeof(block_type) + sizeof(block_size)) && in openBlock()
114 fStream->readU8 (&block_type) && in openBlock()
119 return static_cast<BlockType>(block_type); in openBlock()
DJsonReader.cpp19 StreamReader::BlockType block_type(const char* type_name) { in block_type() function
22 StreamReader::BlockType block_type; in block_type() member
52 ? map_entry->block_type in block_type()
202 const auto btype = block_type(m.fKey.begin()); in openObjectBlock()
224 return block_type(jtype->begin()); in openArrayBlock()
/third_party/libsnd/src/
Dvoc.c160 unsigned char block_type, rate_byte ; in voc_read_header() local
206 block_type = 0 ; in voc_read_header()
207 offset += psf_binheader_readf (psf, "1", &block_type) ; in voc_read_header()
209 switch (block_type) in voc_read_header()
235 default : psf_log_printf (psf, "*** Weird block marker (%d)\n", block_type) ; in voc_read_header()
241 if (block_type == VOC_SOUND_DATA) in voc_read_header()
274 if (block_type == VOC_EXTENDED) in voc_read_header()
301 offset += psf_binheader_readf (psf, "1", &block_type) ; in voc_read_header()
303 if (block_type != VOC_SOUND_DATA) in voc_read_header()
336 if (block_type == VOC_EXTENDED_II) in voc_read_header()
/third_party/ffmpeg/libavcodec/x86/
Dmpegaudiodsp.c30 …36_blocks_ ## CPU(float *out, float *buf, float *in, int count, int switch_point, int block_type);\
199 int count, int switch_point, int block_type) \
205 float *win = mdct_win_sse[switch_point && j < 4][block_type]; \
218 int win_idx = (switch_point && j < 2) ? 0 : block_type; \
/third_party/boost/tools/quickbook/src/
Dmain_grammar.cpp140 block_types::values block_type; member
478 >> ( cl::eps_p(ph::var(local.block_type) == block_types::code) in init_main()
480 | cl::eps_p(ph::var(local.block_type) == block_types::list) in init_main()
482 | cl::eps_p(ph::var(local.block_type) == block_types::paragraph) in init_main()
613 >> cl::eps_p(ph::var(local.block_type) == block_types::code) in init_main()
1174 block_type = (new_indent > list_stack.top().indent2) in check_code_block_impl()
1187 block_type = block_types::code; in plain_block()
1190 block_type = block_types::paragraph; in plain_block()
1241 block_type = block_types::paragraph; in plain_block()
1257 block_type = block_types::code; in plain_block()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpdvpay.c242 gint block_type; in include_dif() local
245 block_type = data[0] >> 5; in include_dif()
247 switch (block_type) { in include_dif()
Dgstrtpdvdepay.c250 gint block_type, dif_sequence, dif_block; in calculate_difblock_location() local
253 block_type = block[0] >> 5; in calculate_difblock_location()
259 switch (block_type) { in calculate_difblock_location()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_libtomcrypt.c490 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
518 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
520 switch (block_type) { in pkcs1_generate_encryption_block()
543 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
553 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1() argument
562 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_libtomcrypt.c490 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, in pkcs1_generate_encryption_block() argument
518 *pos++ = block_type; /* BT */ in pkcs1_generate_encryption_block()
520 switch (block_type) { in pkcs1_generate_encryption_block()
543 "%d", __func__, block_type); in pkcs1_generate_encryption_block()
553 static int crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, in crypto_rsa_encrypt_pkcs1() argument
562 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
/third_party/boost/boost/dynamic_bitset/
Ddynamic_bitset.hpp73 typedef Block block_type; typedef in boost::dynamic_bitset
92 reference(block_type & b, block_width_type pos) in reference()
95 block_type(1) << pos ) in reference()
119 block_type & m_block;
120 const block_type m_mask;
493 *it = static_cast<block_type>(value); in init_from_unsigned_long()
768 const block_type v = value? detail::dynamic_bitset_impl::max_limit<Block>::value : Block(0); in resize()
920 block_type * const b = &m_bits[0]; in operator <<=()
940 std::fill_n(m_bits.begin(), div, static_cast<block_type>(0)); in operator <<=()
968 block_type * const b = &m_bits[0]; in operator >>=()
[all …]
/third_party/node/deps/brotli/c/dec/
Ddecode.c1129 uint32_t block_type; in DecodeBlockTypeAndLength() local
1136 block_type = ReadSymbol(type_tree, br); in DecodeBlockTypeAndLength()
1141 if (!SafeReadSymbol(type_tree, br, &block_type)) return BROTLI_FALSE; in DecodeBlockTypeAndLength()
1149 if (block_type == 1) { in DecodeBlockTypeAndLength()
1150 block_type = ringbuffer[1] + 1; in DecodeBlockTypeAndLength()
1151 } else if (block_type == 0) { in DecodeBlockTypeAndLength()
1152 block_type = ringbuffer[0]; in DecodeBlockTypeAndLength()
1154 block_type -= 2; in DecodeBlockTypeAndLength()
1156 if (block_type >= max_block_type) { in DecodeBlockTypeAndLength()
1157 block_type -= max_block_type; in DecodeBlockTypeAndLength()
[all …]
/third_party/skia/third_party/externals/brotli/c/dec/
Ddecode.c1129 uint32_t block_type; in DecodeBlockTypeAndLength() local
1136 block_type = ReadSymbol(type_tree, br); in DecodeBlockTypeAndLength()
1141 if (!SafeReadSymbol(type_tree, br, &block_type)) return BROTLI_FALSE; in DecodeBlockTypeAndLength()
1149 if (block_type == 1) { in DecodeBlockTypeAndLength()
1150 block_type = ringbuffer[1] + 1; in DecodeBlockTypeAndLength()
1151 } else if (block_type == 0) { in DecodeBlockTypeAndLength()
1152 block_type = ringbuffer[0]; in DecodeBlockTypeAndLength()
1154 block_type -= 2; in DecodeBlockTypeAndLength()
1156 if (block_type >= max_block_type) { in DecodeBlockTypeAndLength()
1157 block_type -= max_block_type; in DecodeBlockTypeAndLength()
[all …]

12