Home
last modified time | relevance | path

Searched refs:block_type (Results 1 - 25 of 57) sorted by relevance

123

/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_uniform_blocks.c108 enum block_type { enum
215 enum block_type block_type) in nir_interstage_cross_validate_uniform_blocks()
219 unsigned *num_blks = block_type == BLOCK_SSBO ? &prog->data->NumShaderStorageBlocks : in nir_interstage_cross_validate_uniform_blocks()
225 if (block_type == BLOCK_SSBO) { in nir_interstage_cross_validate_uniform_blocks()
247 if (block_type == BLOCK_SSBO) { in nir_interstage_cross_validate_uniform_blocks()
289 struct gl_uniform_block **sh_blks = block_type == BLOCK_SSBO ? in nir_interstage_cross_validate_uniform_blocks()
303 if (block_type == BLOCK_SSBO) in nir_interstage_cross_validate_uniform_blocks()
419 enum block_type block_type) in allocate_uniform_blocks()
214 nir_interstage_cross_validate_uniform_blocks(struct gl_shader_program *prog, enum block_type block_type) nir_interstage_cross_validate_uniform_blocks() argument
414 allocate_uniform_blocks(void *mem_ctx, struct gl_linked_shader *shader, struct gl_uniform_block **out_blks, unsigned *num_blocks, struct gl_uniform_buffer_variable **out_variables, unsigned *num_variables, enum block_type block_type) allocate_uniform_blocks() argument
544 link_linked_shader_uniform_blocks(void *mem_ctx, struct gl_shader_program *prog, struct gl_linked_shader *shader, struct gl_uniform_block **blocks, unsigned *num_blocks, enum block_type block_type) link_linked_shader_uniform_blocks() argument
[all...]
H A Dlink_uniform_block_active_visitor.cpp34 const glsl_type *const block_type = var->is_interface_instance() in process_block() local
46 b->type = block_type; in process_block()
64 if (b->type != block_type in process_block()
/third_party/ffmpeg/libavformat/
H A Dbethsoftvid.c104 uint8_t block_type, AVFormatContext *s) in read_frame()
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()
279 return read_frame(vid, pb, pkt, block_type, s); in vid_read_packet()
288 block_type, block_typ in vid_read_packet()
103 read_frame(BVID_DemuxContext *vid, AVIOContext *pb, AVPacket *pkt, uint8_t block_type, AVFormatContext *s) read_frame() argument
[all...]
H A Drtpdec_qdm2.c39 int block_type; ///< superblock type, value 2 .. 8 member
102 qdm->block_type = AV_RB16(p + 2); in qdm2_parse_config()
207 *p++ = qdm->block_type | 0x80; in qdm2_restore_block()
211 *p++ = qdm->block_type; in qdm2_restore_block()
214 if ((include_csum = (qdm->block_type == 2 || qdm->block_type == 4))) { in qdm2_restore_block()
/third_party/ffmpeg/libavcodec/
H A Drv34.c77 static int rv34_decode_mv(RV34DecContext *r, int block_type);
358 r->block_type = RV34_MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
368 r->block_type = RV34_MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
390 r->block_type = r->decode_mb_info(r); in rv34_decode_inter_mb_header()
391 if(r->block_type == -1) in rv34_decode_inter_mb_header()
393 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
394 r->mb_type[mb_pos] = r->block_type; in rv34_decode_inter_mb_header()
395 if(r->block_type == RV34_MB_SKIP){ in rv34_decode_inter_mb_header()
402 if (rv34_decode_mv(r, r->block_type) < 0) in rv34_decode_inter_mb_header()
404 if(r->block_type in rv34_decode_inter_mb_header()
461 rv34_pred_mv(RV34DecContext *r, int block_type, int subblock_no, int dmv_no) rv34_pred_mv() argument
545 rv34_pred_mv_b(RV34DecContext *r, int block_type, int dir) rv34_pred_mv_b() argument
597 rv34_pred_mv_rv3(RV34DecContext *r, int block_type, int dir) rv34_pred_mv_rv3() argument
660 rv34_mc(RV34DecContext *r, const int block_type, const int xoff, const int yoff, int mv_off, const int width, const int height, int dir, const int thirdpel, int weighted, qpel_mc_func (*qpel_mc)[16], h264_chroma_mc_func (*chroma_mc)) rv34_mc() argument
776 rv34_mc_1mv(RV34DecContext *r, const int block_type, const int xoff, const int yoff, int mv_off, const int width, const int height, int dir) rv34_mc_1mv() argument
807 rv34_mc_2mv(RV34DecContext *r, const int block_type) rv34_mc_2mv() argument
853 rv34_decode_mv(RV34DecContext *r, int block_type) rv34_decode_mv() argument
[all...]
H A Dmpegaudiodsp.h38 int count, int switch_point, int block_type);
40 int count, int switch_point, int block_type);
81 int count, int switch_point, int block_type);
84 int count, int switch_point, int block_type);
H A Dc93.c161 C93BlockType block_type; in decode_frame() local
166 block_type= bt & 0x0F; in decode_frame()
167 switch (block_type) { in decode_frame()
182 if (block_type == C93_4X4_FROM_CURR && from_y == y+j && in decode_frame()
208 if (block_type == C93_4X4_2COLOR) { in decode_frame()
212 } else if (block_type == C93_4X4_4COLOR) { in decode_frame()
235 block_type, x, y); in decode_frame()
H A Dvmdaudio.c142 int block_type, silent_chunks, audio_chunks; in vmdaudio_decode_frame() local
154 block_type = buf[6]; in vmdaudio_decode_frame()
155 if (block_type < BLOCK_TYPE_AUDIO || block_type > BLOCK_TYPE_SILENCE) { in vmdaudio_decode_frame()
156 av_log(avctx, AV_LOG_ERROR, "unknown block type: %d\n", block_type); in vmdaudio_decode_frame()
164 if (block_type == BLOCK_TYPE_INITIAL) { in vmdaudio_decode_frame()
174 } else if (block_type == BLOCK_TYPE_SILENCE) { in vmdaudio_decode_frame()
H A 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()
H A Dtruemotion1.c67 int block_type; member
121 int block_type; member
462 s->block_type = compression_types[header.compression].block_type; in truemotion1_decode_header()
467 s->block_height, s->block_type, in truemotion1_decode_header()
692 if (s->block_type == BLOCK_2x2) { in truemotion1_decode_16bit()
699 } else if (s->block_type == BLOCK_4x2) { in truemotion1_decode_16bit()
818 if (s->block_type == BLOCK_2x2) { in truemotion1_decode_24bit()
825 } else if (s->block_type == BLOCK_4x2) { in truemotion1_decode_24bit()
H A Dmpegaudiodec_template.c63 uint8_t block_type; member
138 if (g->block_type == 2) { in init_short_region()
166 if (g->block_type == 2) { in compute_band_indexes()
908 if (g->block_type != 2) in reorder_block()
1101 if (g->block_type == 2) { in compute_antialias()
1145 if (g->block_type == 2) { in compute_imdct()
1157 g->block_type); in compute_imdct()
1259 g->block_type = get_bits(&s->gb, 2); in mp_decode_layer3()
1260 if (g->block_type == 0) { in mp_decode_layer3()
1272 g->block_type in mp_decode_layer3()
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_symbolic_physical.cpp109 assert(scb.block_type != SYM_BTYPE_ERROR); in symbolic_to_physical()
111 if (scb.block_type == SYM_BTYPE_CONST_U16 && scb.privateProfile != HIGH_SPEED_PROFILE) in symbolic_to_physical()
130 if (scb.block_type == SYM_BTYPE_CONST_F16 && scb.privateProfile != HIGH_SPEED_PROFILE) in symbolic_to_physical()
327 scb.block_type = SYM_BTYPE_NONCONST; in physical_to_symbolic()
338 scb.block_type = SYM_BTYPE_CONST_F16; in physical_to_symbolic()
342 scb.block_type = SYM_BTYPE_CONST_U16; in physical_to_symbolic()
358 scb.block_type = SYM_BTYPE_ERROR; in physical_to_symbolic()
371 scb.block_type = SYM_BTYPE_ERROR; in physical_to_symbolic()
389 scb.block_type = SYM_BTYPE_ERROR; in physical_to_symbolic()
400 scb.block_type in physical_to_symbolic()
[all...]
H A Dastcenc_decompress_symbolic.cpp200 if (scb.block_type == SYM_BTYPE_ERROR) in decompress_symbolic_block()
215 if ((scb.block_type == SYM_BTYPE_CONST_F16) || in decompress_symbolic_block()
216 (scb.block_type == SYM_BTYPE_CONST_U16)) in decompress_symbolic_block()
222 if (scb.block_type == SYM_BTYPE_CONST_U16) in decompress_symbolic_block()
331 if (scb.block_type == SYM_BTYPE_ERROR) in compute_symbolic_block_difference_2plane()
427 if (scb.block_type == SYM_BTYPE_ERROR) in compute_symbolic_block_difference_1plane()
523 if (scb.block_type == SYM_BTYPE_ERROR) in compute_symbolic_block_difference_1plane_1partition()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
H A 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
H A 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()
/third_party/libsnd/src/
H A 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 in voc_read_header()
[all...]
/third_party/skia/experimental/skrive/src/reader/
H A DBinaryReader.cpp110 uint8_t block_type; variable
113 if (this->validateSize(sizeof(block_type) + sizeof(block_size)) &&
114 fStream->readU8 (&block_type) &&
119 return static_cast<BlockType>(block_type);
H A 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/lame/libmp3lame/
H A Dencoder.c175 int bt = gfc->l3_side.tt[gr][ch].block_type; in updateStats()
221 gfc->l3_side.tt[gr][ch].block_type = SHORT_TYPE; in lame_encode_frame_init()
389 cod_info->block_type = blocktype[ch]; in lame_encode_mp3_frame()
446 if (gi0[0].block_type == gi0[1].block_type && gi1[0].block_type == gi1[1].block_type) { in lame_encode_mp3_frame()
470 gfc->pinfo->blocktype[gr][ch] = gfc->l3_side.tt[gr][ch].block_type; in lame_encode_mp3_frame()
H A Dtakehiro.c307 if (cod_info->block_type == SHORT_TYPE) in quantize_xrpow()
315 if (prev_data_use || cod_info->block_type == NORM_TYPE) { in quantize_xrpow()
703 if (gi->block_type == SHORT_TYPE) { in noquant_count_bits()
710 else if (gi->block_type == NORM_TYPE) { in noquant_count_bits()
755 if (gi->block_type == NORM_TYPE) { in noquant_count_bits()
899 if (gi->block_type == SHORT_TYPE && cfg->mode_gr == 1) in best_huffman_divide()
904 if (gi->block_type == NORM_TYPE) { in best_huffman_divide()
939 if (cod_info2.block_type == NORM_TYPE) in best_huffman_divide()
1064 if (!gi->preflag && gi->block_type != SHORT_TYPE && cfg->mode_gr == 2) { in best_scalefac_store()
1081 && l3_side->tt[0][ch].block_type ! in best_scalefac_store()
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dmpegaudiodsp.c33 static void imdct36_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/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dmacro_checker_file.py164 'BlockEntry', ['delimiter', 'context', 'block_type', 'refpage'])
641 if top and top.block_type == new_block_type:
651 def processBlockOpen(self, block_type, context=None, delimiter=None):
659 if block_type == BlockType.REF_PAGE_LIKE:
671 self.pushBlock(block_type, refpage=refpage,
676 if block_type == BlockType.CODE:
679 self.pushBlock(block_type, context=context, delimiter=delimiter)
691 if old_top.block_type == BlockType.CODE:
694 elif old_top.block_type == BlockType.REF_PAGE_LIKE and old_top.refpage:
1017 if self.getInnermostBlockEntry().block_type
[all...]
/third_party/lame/mpglib/
H A Dlayer3.c409 gr_infos->block_type = getbits_fast(mp, 2); in III_get_side_info_1()
427 if (gr_infos->block_type == 0) { in III_get_side_info_1()
454 gr_infos->block_type = 0; in III_get_side_info_1()
503 gr_infos->block_type = getbits_fast(mp, 2); in III_get_side_info_2()
520 if (gr_infos->block_type == 0) { in III_get_side_info_2()
526 if (gr_infos->block_type == 2) { in III_get_side_info_2()
556 gr_infos->block_type = 0; in III_get_side_info_2()
579 if (gr_infos->block_type == 2) { in III_get_scale_factors_1()
681 if (gr_infos->block_type == 2) { in III_get_scale_factors_2()
787 if (gr_infos->block_type in III_dequantize_sample()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A 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_standard/src/crypto/
H A 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()

Completed in 22 milliseconds

123