Home
last modified time | relevance | path

Searched refs:tmp_size (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dexrenc.c67 unsigned int tmp_size; member
220 int64_t tmp_size = element_size * s->planes * frame->width; in encode_scanline_rle() local
221 int64_t max_compressed_size = tmp_size * 3 / 2; in encode_scanline_rle()
223 av_fast_padded_malloc(&scanline->uncompressed_data, &scanline->uncompressed_size, tmp_size); in encode_scanline_rle()
227 av_fast_padded_malloc(&scanline->tmp, &scanline->tmp_size, tmp_size); in encode_scanline_rle()
256 reorder_pixels(scanline->tmp, scanline->uncompressed_data, tmp_size); in encode_scanline_rle()
257 predictor(scanline->tmp, tmp_size); in encode_scanline_rle()
260 scanline->tmp, tmp_size); in encode_scanline_rle()
262 if (scanline->actual_size <= 0 || scanline->actual_size >= tmp_size) { in encode_scanline_rle()
265 scanline->actual_size = tmp_size; in encode_scanline_rle()
[all …]
Dexr.c116 int tmp_size; member
1309 av_fast_padded_malloc(&td->tmp, &td->tmp_size, uncompressed_size); in decode_block()
/third_party/python/Modules/
D_dbmmodule.c131 Py_ssize_t tmp_size; in dbm_subscript() local
134 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size)) { in dbm_subscript()
138 krec.dsize = tmp_size; in dbm_subscript()
157 Py_ssize_t tmp_size; in dbm_ass_sub() local
159 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
166 krec.dsize = tmp_size; in dbm_ass_sub()
186 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
191 drec.dsize = tmp_size; in dbm_ass_sub()
347 Py_ssize_t tmp_size; in _dbm_dbm_setdefault_impl() local
366 if ( !PyArg_Parse(default_value, "s#", &val.dptr, &tmp_size) ) { in _dbm_dbm_setdefault_impl()
[all …]
/third_party/ltp/lib/
Dtst_net.c143 size_t tmp_size; in tst_get_connect_address() local
164 tmp_size = sizeof(struct in6_addr); in tst_get_connect_address()
166 if (!memcmp(&inet6_ptr->sin6_addr, &in6addr_any, tmp_size)) { in tst_get_connect_address()
168 tmp_size); in tst_get_connect_address()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c97 u32 tmp_size = 0; in nv98_create_decoder() local
205 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
211 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
218 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nv98_create_decoder()
245 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c107 u32 tmp_size = 0; in nvc0_create_decoder() local
227 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
233 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
240 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nvc0_create_decoder()
269 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c308 size_t tmp_size, rescaler_size; in InitYUVRescaler() local
313 tmp_size = (work_size + 2 * uv_work_size) * sizeof(*work); in InitYUVRescaler()
315 tmp_size += work_size * sizeof(*work); in InitYUVRescaler()
319 p->memory = WebPSafeMalloc(1ULL, tmp_size + rescaler_size); in InitYUVRescaler()
325 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + tmp_size); in InitYUVRescaler()
/third_party/ffmpeg/libavfilter/
Dvf_zscale.c118 size_t tmp_size; member
483 void **tmp, size_t *tmp_size) in graph_build() argument
497 if (size > *tmp_size) { in graph_build()
503 *tmp_size = size; in graph_build()
630 &s->tmp, &s->tmp_size); in filter_frame()
755 s->tmp_size = 0; in uninit()
/third_party/ffmpeg/libavformat/
Dnutdec.c199 int tmp_stream, tmp_mul, tmp_pts, tmp_size, tmp_res, tmp_head_idx; in decode_main_header() local
253 tmp_size = ffio_read_varlen(bc); in decode_main_header()
255 tmp_size = 0; in decode_main_header()
263 count = tmp_mul - (unsigned)tmp_size; in decode_main_header()
289 if (tmp_size < 0 || tmp_size > INT_MAX - count) { in decode_main_header()
305 nut->frame_code[i].size_lsb = tmp_size + j; in decode_main_header()
Dnutenc.c351 int i, j, tmp_pts, tmp_flags, tmp_stream, tmp_mul, tmp_size, tmp_fields, in write_mainheader() local
374 tmp_size = 0; in write_mainheader()
379 if (tmp_size != nut->frame_code[i].size_lsb ) tmp_fields = 4; in write_mainheader()
387 tmp_size = nut->frame_code[i].size_lsb; in write_mainheader()
400 nut->frame_code[i].size_lsb != tmp_size + j || in write_mainheader()
405 if (j != tmp_mul - tmp_size) in write_mainheader()
413 if (tmp_fields > 3) put_v(bc, tmp_size); in write_mainheader()
/third_party/openssl/test/
Dendecoder_legacy_test.c447 size_t tmp_size; in test_DER() local
475 tmp_size = der_provided_len, in test_DER()
477 &tmp_size))) in test_DER()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function874 size_t tmp_size;
878 tmp_size = ( rand() % max_chunk_size ) + 1;
879 ASSERT_ALLOC( tmp, tmp_size );
881 TEST_ASSERT( mbedtls_test_rnd_std_rand( NULL, tmp, tmp_size ) == 0 );
882 ret = mbedtls_mps_reader_feed( &rd, tmp, tmp_size );
887 memcpy( outgoing + out_pos, tmp, tmp_size );
888 out_pos += tmp_size;
/third_party/mbedtls/library/
Dpk_wrap.c540 size_t tmp_size; in extract_ecdsa_sig() local
542 if( ( ret = mbedtls_asn1_get_tag( p, end, &tmp_size, in extract_ecdsa_sig()
/third_party/ntfs-3g/ntfsprogs/
Dntfsdecrypt.c414 size_t tmp_size; in ntfs_rsa_private_key_import_from_gnutls() local
429 rd[i].size, &tmp_size) != GPG_ERR_NO_ERROR) { in ntfs_rsa_private_key_import_from_gnutls()
/third_party/alsa-utils/aplay/
Daplay.c2041 static size_t tmp_size; in remap_data() local
2051 if (tmp_size < chunk_bytes) { in remap_data()
2058 tmp_size = count; in remap_data()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTransformFeedbackTests.cpp877 glw::GLsizei tmp_size = 0; in testExtension1() local
882 &tmp_size, &tmp_type, tmp_buffer); in testExtension1()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4181 unsigned tmp_size = 0; in emit_load() local
4183 while ((!tmp_size || (tmp_size % component_size)) && i < num_vals) { in emit_load()
4186 tmp_size += vals[i].bytes(); in emit_load()
4194 tmp[0] = bld.tmp(RegClass::get(reg_type, tmp_size)); in emit_load()
4212 if (tmp_size == elem_rc.bytes()) { in emit_load()
4215 assert(tmp_size % elem_rc.bytes() == 0); in emit_load()
4217 aco_opcode::p_split_vector, Format::PSEUDO, 1, tmp_size / elem_rc.bytes())}; in emit_load()
/third_party/ffmpeg/
DChangelog101 - avformat/nutdec: Check tmp_size