Home
last modified time | relevance | path

Searched refs:nslices (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dfic.c275 int slice, nslices; in fic_decode_frame() local
304 nslices = src[13]; in fic_decode_frame()
305 if (!nslices) { in fic_decode_frame()
352 ctx->slice_h = 16 * (ctx->aligned_height >> 4) / nslices; in fic_decode_frame()
357 sdata = src + tsize + FIC_HEADER_SIZE + 4 * nslices; in fic_decode_frame()
358 msize = avpkt->size - nslices * 4 - tsize - FIC_HEADER_SIZE; in fic_decode_frame()
367 nslices * sizeof(ctx->slice_data[0])); in fic_decode_frame()
372 memset(ctx->slice_data, 0, nslices * sizeof(ctx->slice_data[0])); in fic_decode_frame()
374 for (slice = 0; slice < nslices; slice++) { in fic_decode_frame()
384 if (slice == nslices - 1) { in fic_decode_frame()
[all …]
Ddxtory.c384 int *nslices, int *off) in load_buffer() argument
387 *nslices = bytestream2_get_le16(gb); in load_buffer()
388 *off = FFALIGN(*nslices * 4 + 2, 16); in load_buffer()
394 if (!*nslices) { in load_buffer()
395 avpriv_request_sample(avctx, "%d slices for %dx%d", *nslices, in load_buffer()
436 int nslices, slice, line = 0; in dxtory_decode_v2() local
442 ret = load_buffer(avctx, src, src_size, &gb, &nslices, &off); in dxtory_decode_v2()
448 for (slice = 0; slice < nslices; slice++) { in dxtory_decode_v2()
451 if (slice_size <= 16 + (avctx->height * avctx->width / (8 * nslices))) in dxtory_decode_v2()
465 for (slice = 0; slice < nslices; slice++) { in dxtory_decode_v2()
/third_party/grpc/test/core/util/
Dslice_splitter.cc94 size_t nslices; in grpc_split_slices_to_buffer() local
96 grpc_split_slices(mode, src_slices, src_slice_count, &slices, &nslices); in grpc_split_slices_to_buffer()
97 for (i = 0; i < nslices; i++) { in grpc_split_slices_to_buffer()
109 grpc_slice grpc_slice_merge(grpc_slice* slices, size_t nslices) { in grpc_slice_merge() argument
115 for (i = 0; i < nslices; i++) { in grpc_slice_merge()
Dslice_splitter.h49 grpc_slice grpc_slice_merge(grpc_slice* slices, size_t nslices);
/third_party/grpc/test/core/iomgr/
Dendpoint_tests.cc52 size_t count_slices(grpc_slice* slices, size_t nslices, int* current_data) { in count_slices() argument
57 for (i = 0; i < nslices; ++i) { in count_slices()
79 size_t nslices = num_bytes / slice_size + (num_bytes % slice_size ? 1 : 0); in allocate_blocks() local
81 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * nslices)); in allocate_blocks()
86 *num_blocks = nslices; in allocate_blocks()
88 for (i = 0; i < nslices; ++i) { in allocate_blocks()
160 size_t nslices; in read_and_write_test_write_handler() local
169 slices = allocate_blocks(state->current_write_size, 8192, &nslices, in read_and_write_test_write_handler()
172 grpc_slice_buffer_addn(&state->outgoing, slices, nslices); in read_and_write_test_write_handler()
Dtcp_posix_test.cc158 static size_t count_slices(grpc_slice* slices, size_t nslices, in count_slices() argument
163 for (i = 0; i < nslices; ++i) { in count_slices()
309 size_t nslices = num_bytes / slice_size + (num_bytes % slice_size ? 1u : 0u); in allocate_blocks() local
311 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * nslices)); in allocate_blocks()
315 *num_blocks = nslices; in allocate_blocks()
317 for (i = 0; i < nslices; ++i) { in allocate_blocks()
/third_party/grpc/src/core/lib/surface/
Dbyte_buffer.cc29 size_t nslices) { in grpc_raw_byte_buffer_create() argument
30 return grpc_raw_compressed_byte_buffer_create(slices, nslices, in grpc_raw_byte_buffer_create()
35 grpc_slice* slices, size_t nslices, in grpc_raw_compressed_byte_buffer_create() argument
43 for (i = 0; i < nslices; i++) { in grpc_raw_compressed_byte_buffer_create()
/third_party/grpc/test/core/transport/chttp2/
Dhpack_parser_test.cc55 size_t nslices; in test_vector() local
64 grpc_split_slices(mode, &input, 1, &slices, &nslices); in test_vector()
67 for (i = 0; i < nslices; i++) { in test_vector()
73 for (i = 0; i < nslices; i++) { in test_vector()
/third_party/grpc/include/grpc/impl/codegen/
Dbyte_buffer.h35 size_t nslices);
44 grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression);
/third_party/grpc/test/core/end2end/
Dcq_verifier.cc118 static grpc_slice merge_slices(grpc_slice* slices, size_t nslices) { in merge_slices() argument
124 for (i = 0; i < nslices; i++) { in merge_slices()
131 for (i = 0; i < nslices; i++) { in merge_slices()
/third_party/grpc/include/grpcpp/impl/codegen/
Dbyte_buffer.h67 ByteBuffer(const Slice* slices, size_t nslices) { in ByteBuffer() argument
89 reinterpret_cast<grpc_slice*>(const_cast<Slice*>(slices)), nslices); in ByteBuffer()
Dcore_codegen_interface.h100 size_t nslices) = 0;
Dcore_codegen.h92 size_t nslices) override;
/third_party/grpc/test/cpp/cocoapods/generic/
Dgeneric.mm44 static grpc_slice merge_slices(grpc_slice* slices, size_t nslices) {
50 for (i = 0; i < nslices; i++) {
57 for (i = 0; i < nslices; i++) {
/third_party/grpc/src/cpp/common/
Dcore_codegen.cc151 size_t nslices) { in grpc_raw_byte_buffer_create() argument
152 return ::grpc_raw_byte_buffer_create(slice, nslices); in grpc_raw_byte_buffer_create()
/third_party/grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h521 typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
524 …*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice* slices, size_t nslices, grpc_compression…
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc.pxi108 size_t nslices) nogil