Home
last modified time | relevance | path

Searched refs:slices (Results 1 – 25 of 272) sorted by relevance

1234567891011

/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-layout.cpp291 EXPECT_EQ(l.slices[i].offset, offsets[i]); in TEST()
294 EXPECT_TRUE(l.slices[i].size < 64); in TEST()
296 EXPECT_EQ(l.slices[i].size, size); in TEST()
321 EXPECT_EQ(l.slices[0].offset, 0); in TEST()
322 EXPECT_EQ(l.slices[0].row_stride, 768); in TEST()
323 EXPECT_EQ(l.slices[0].surface_stride, 2304); in TEST()
324 EXPECT_EQ(l.slices[0].size, 2304); in TEST()
347 EXPECT_EQ(l.slices[0].offset, 0); in TEST()
348 EXPECT_EQ(l.slices[0].row_stride, 192); in TEST()
349 EXPECT_EQ(l.slices[0].surface_stride, 1920); in TEST()
[all …]
/third_party/mesa3d/src/freedreno/fdl/
Dfd_layout_test.c44 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { in fdl_test_layout()
69 if (layout.ubwc && !testcase->layout.slices[0].offset) { in fdl_test_layout()
71 layout.slices[l].offset -= layout.slices[0].offset; in fdl_test_layout()
72 layout.slices[0].offset = 0; in fdl_test_layout()
76 if (layout.slices[l].offset != testcase->layout.slices[l].offset) { in fdl_test_layout()
80 layout.slices[l].offset, testcase->layout.slices[l].offset); in fdl_test_layout()
83 if (fdl_pitch(&layout, l) != testcase->layout.slices[l].pitch) { in fdl_test_layout()
87 fdl_pitch(&layout, l), testcase->layout.slices[l].pitch); in fdl_test_layout()
94 if (testcase->layout.slices[l].size0 && layout.slices[l].size0 != in fdl_test_layout()
95 testcase->layout.slices[l].size0) { in fdl_test_layout()
[all …]
Dfd6_layout_test.c42 .slices =
65 .slices =
106 .slices = {
132 .slices =
151 .slices =
170 .slices =
191 .slices =
210 .slices =
229 .slices =
252 .slices =
[all …]
Dfd5_layout_test.c45 .slices =
70 .slices =
91 .slices =
Dfreedreno_layout.c60 level < ARRAY_SIZE(layout->slices) && layout->slices[level].size0; in fdl_dump_layout()
62 struct fdl_slice *slice = &layout->slices[level]; in fdl_dump_layout()
Dfd5_layout.c65 struct fdl_slice *slice = &layout->slices[level]; in fdl5_layout()
94 if (level <= 1 || layout->slices[level - 1].size0 > 0xf000) { in fdl5_layout()
97 slice->size0 = layout->slices[level - 1].size0; in fdl5_layout()
/third_party/ffmpeg/libavcodec/
Dutvideodec.c108 for (slice = 0; slice < c->slices; slice++) { in decode_plane10()
112 send = (height * (slice + 1) / c->slices); in decode_plane10()
133 for (slice = 0; slice < c->slices; slice++) { in decode_plane10()
138 send = (height * (slice + 1) / c->slices); in decode_plane10()
154 (uint32_t *)(src + slice_data_start + c->slices * 4), in decode_plane10()
217 for (slice = 0; slice < c->slices; slice++) { in decode_plane()
230 send = (height * (slice + 1) / c->slices) & cmask; in decode_plane()
268 for (slice = 0; slice < c->slices; slice++) { in decode_plane()
272 send = (height * (slice + 1) / c->slices) & cmask; in decode_plane()
294 for (slice = 0; slice < c->slices; slice++) { in decode_plane()
[all …]
Dvc1dec.c640 } *slices = NULL, *tmp; in vc1_decode_frame() local
687 tmp = av_realloc_array(slices, sizeof(*slices), n_slices+1); in vc1_decode_frame()
692 slices = tmp; in vc1_decode_frame()
693 slices[n_slices].buf = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); in vc1_decode_frame()
694 if (!slices[n_slices].buf) { in vc1_decode_frame()
699 slices[n_slices].buf); in vc1_decode_frame()
700 init_get_bits(&slices[n_slices].gb, slices[n_slices].buf, in vc1_decode_frame()
702 slices[n_slices].mby_start = avctx->coded_height + 31 >> 5; in vc1_decode_frame()
703 slices[n_slices].rawbuf = start; in vc1_decode_frame()
704 slices[n_slices].raw_size = size + 4; in vc1_decode_frame()
[all …]
Dutvideoenc.c174 if (avctx->slices > 256 || avctx->slices < 0) { in utvideo_encode_init()
177 avctx->slices); in utvideo_encode_init()
183 if (avctx->slices > subsampled_height) { in utvideo_encode_init()
186 avctx->slices, subsampled_height); in utvideo_encode_init()
234 if (!avctx->slices) { in utvideo_encode_init()
235 c->slices = subsampled_height / 120; in utvideo_encode_init()
237 if (!c->slices) in utvideo_encode_init()
238 c->slices = 1; in utvideo_encode_init()
239 else if (c->slices > 256) in utvideo_encode_init()
240 c->slices = 256; in utvideo_encode_init()
[all …]
Dmagicyuv.c67 Slice *slices[4]; // slice bitstream positions for each plane member
134 int ret = init_get_bits8(&gb, s->buf + s->slices[i][j].start, in magy_decode_slice10()
135 s->slices[i][j].size); in magy_decode_slice10()
263 const uint8_t *slice = s->buf + s->slices[i][j].start; in magy_decode_slice()
271 if (s->slices[i][j].size - 2 < width * height) in magy_decode_slice()
278 int ret = init_get_bits8(&gb, slice, s->slices[i][j].size - 2); in magy_decode_slice()
596 av_fast_malloc(&s->slices[i], &s->slices_size[i], s->nb_slices * sizeof(Slice)); in magy_decode_frame()
597 if (!s->slices[i]) in magy_decode_frame()
608 s->slices[i][j].start = offset + header_size; in magy_decode_frame()
614 s->slices[i][j].size = next_offset - offset; in magy_decode_frame()
[all …]
Dvaapi_encode.c175 pic->slices[i].row_size = ctx->slice_size; in vaapi_encode_make_row_slice()
186 ++pic->slices[i].row_size; in vaapi_encode_make_row_slice()
189 ++pic->slices[pic->nb_slices - i - 1].row_size; in vaapi_encode_make_row_slice()
191 ++pic->slices[i].row_size; in vaapi_encode_make_row_slice()
196 pic->slices[pic->nb_slices - 1].row_size += rounding; in vaapi_encode_make_row_slice()
200 slice = &pic->slices[i]; in vaapi_encode_make_row_slice()
206 const VAAPIEncodeSlice *prev = &pic->slices[i - 1]; in vaapi_encode_make_row_slice()
232 slice = &pic->slices[index]; in vaapi_encode_make_tile_slice()
235 pic->slices[index].block_start = ctx->col_bd[i] + in vaapi_encode_make_tile_slice()
237 pic->slices[index].block_size = ctx->row_height[j] * ctx->col_width[i]; in vaapi_encode_make_tile_slice()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_resource.c48 unsigned slices; in util_resource_size() local
51 slices = 6; in util_resource_size()
53 slices = depth; in util_resource_size()
55 slices = res->array_size; in util_resource_size()
58 util_format_get_stride(res->format, width) * slices * samples); in util_resource_size()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c51 rsc->slices[0].size, in vc4_resource_bo_alloc()
52 rsc->slices[0].offset, in vc4_resource_bo_alloc()
53 rsc->slices[0].offset + in vc4_resource_bo_alloc()
54 rsc->slices[0].size + in vc4_resource_bo_alloc()
59 rsc->slices[0].offset + in vc4_resource_bo_alloc()
60 rsc->slices[0].size + in vc4_resource_bo_alloc()
81 struct vc4_resource_slice *slice = &rsc->slices[ptrans->level]; in vc4_resource_transfer_unmap()
180 struct vc4_resource_slice *slice = &rsc->slices[level]; in vc4_resource_transfer_map()
232 struct vc4_resource_slice *slice = &rsc->slices[level]; in vc4_texture_subdata()
292 whandle->stride = rsc->slices[0].stride; in vc4_resource_get_handle()
[all …]
Dvc4_blit.c104 else if (rsc->slices[info->src.level].tiling == VC4_TILING_FORMAT_T) in vc4_tile_blit()
109 if (stride != rsc->slices[info->src.level].stride) in vc4_tile_blit()
330 if ((src->slices[info->src.level].offset & 3) || in vc4_yuv_blit()
331 (src->slices[info->src.level].stride & 3)) { in vc4_yuv_blit()
333 src->slices[info->src.level].offset, in vc4_yuv_blit()
334 src->slices[info->src.level].stride); in vc4_yuv_blit()
358 uint32_t stride = src->slices[info->src.level].stride; in vc4_yuv_blit()
366 .buffer_offset = src->slices[info->src.level].offset, in vc4_yuv_blit()
368 src->slices[info->src.level].offset), in vc4_yuv_blit()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_resource.c70 struct v3d_resource_slice *slice = &rsc->slices[i]; in v3d_debug_resource_layout()
123 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; in v3d_resource_transfer_unmap()
294 struct v3d_resource_slice *slice = &rsc->slices[level]; in v3d_resource_transfer_map()
352 struct v3d_resource_slice *slice = &rsc->slices[level]; in v3d_texture_subdata()
407 assert(rsc->slices[0].tiling == V3D_TILING_UIF_XOR || in v3d_resource_modifier()
408 rsc->slices[0].tiling == V3D_TILING_UIF_NO_XOR); in v3d_resource_modifier()
426 whandle->stride = rsc->slices[0].stride; in v3d_resource_get_handle()
442 whandle->stride = rsc->slices[0].stride; in v3d_resource_get_handle()
468 *value = rsc->slices[level].stride; in v3d_resource_get_param()
564 struct v3d_resource_slice *slice = &rsc->slices[i]; in v3d_setup_slices()
[all …]
/third_party/toybox/toys/pending/
Dvi.c78 } *slices;
170 struct slice_list *s = TT.slices; in insert_str()
183 TT.slices = (struct slice_list *)dlist_add( in insert_str()
184 (struct double_list **)&TT.slices, in insert_str()
193 if (s == TT.slices) return -1; //error out of bounds in insert_str()
203 (struct double_list **)&TT.slices, in insert_str()
208 (struct double_list **)&TT.slices, in insert_str()
214 (struct double_list **)&TT.slices, in insert_str()
219 s = (struct slice_list *)dlist_add_after((struct double_list **)&TT.slices, in insert_str()
231 struct slice_list *e, *s = TT.slices; in cut_str()
[all …]
/third_party/node/tools/
Dcompress_json.py28 slices = (data[i:i+step] for i in xrange(0, len(data), step)) variable
29 slices = [','.join(str(ord(c) if PY2 else c) for c in s) for s in slices] variable
30 text = ',\n'.join(slices)
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c111 struct v3d_resource_slice *slice = &image->slices[i]; in v3d_setup_slices()
214 align(image->slices[0].offset, image->alignment) - image->slices[0].offset; in v3d_setup_slices()
218 image->slices[i].offset += align_offset; in v3d_setup_slices()
227 align(image->slices[0].offset + image->slices[0].size, 64); in v3d_setup_slices()
230 image->cube_map_stride = image->slices[0].size; in v3d_setup_slices()
237 const struct v3d_resource_slice *slice = &image->slices[level]; in v3dv_layer_offset()
346 image->slices[0].stride = native_buf_stride; in create_image()
347 image->slices[0].size = image->size = native_buf_size; in create_image()
437 &image->slices[subresource->mipLevel]; in v3dv_GetImageSubresourceLayout()
458 &image->slices[subresource->mipLevel - 1]; in v3dv_GetImageSubresourceLayout()
Dv3dvx_image.c51 (image->slices[0].tiling == V3D_TILING_UIF_XOR || in pack_texture_shader_state_helper()
52 image->slices[0].tiling == V3D_TILING_UIF_NO_XOR); in pack_texture_shader_state_helper()
54 tex.level_0_xor_enable = (image->slices[0].tiling == V3D_TILING_UIF_XOR); in pack_texture_shader_state_helper()
57 tex.level_0_ub_pad = image->slices[0].ub_pad; in pack_texture_shader_state_helper()
/third_party/mesa3d/src/panfrost/lib/
Dpan_layout.c225 return layout->slices[level].afbc.surface_stride; in panfrost_get_layer_stride()
227 return layout->slices[level].surface_stride; in panfrost_get_layer_stride()
234 unsigned row_stride = layout->slices[level].row_stride; in panfrost_get_legacy_stride()
273 return layout->slices[level].offset + in panfrost_texture_offset()
275 (surface_idx * layout->slices[level].surface_stride); in panfrost_texture_offset()
360 struct pan_image_slice_layout *slice = &layout->slices[l]; in pan_image_layout_init()
484 const struct pan_image_slice_layout *slice = &iview->image->layout.slices[level]; in pan_iview_get_surface()
Dpan_cs.c62 assert(view->image->layout.slices[0].surface_stride != 0); in mali_sampling_mode()
198 ext->s_writeback_row_stride = s->image->layout.slices[level].row_stride; in pan_prepare_s()
201 s->image->layout.slices[level].surface_stride : 0; in pan_prepare_s()
221 UNUSED const struct pan_image_slice_layout *slice = &zs->image->layout.slices[level]; in pan_prepare_zs()
252 zs->image->layout.slices[level].row_stride; in pan_prepare_zs()
255 zs->image->layout.slices[level].surface_stride : 0; in pan_prepare_zs()
274 const struct pan_image_slice_layout *slice = &rt->image->layout.slices[rt->first_level]; in pan_prepare_crc()
481 int row_stride = rt->image->layout.slices[level].row_stride; in pan_prepare_rt()
487 rt->image->layout.slices[level].surface_stride : 0; in pan_prepare_rt()
511 const struct pan_image_slice_layout *slice = &rt->image->layout.slices[level]; in pan_prepare_rt()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvadecoder.c602 g_array_append_val (pic->slices, params_buffer); in gst_va_decoder_add_slice_buffer_with_n_params()
603 g_array_append_val (pic->slices, slice_buffer); in gst_va_decoder_add_slice_buffer_with_n_params()
663 if (pic->slices->len > 0) { in gst_va_decoder_decode_with_aux_surface()
666 (VABufferID *) pic->slices->data, pic->slices->len); in gst_va_decoder_decode_with_aux_surface()
772 if (pic->slices) { in _destroy_buffers()
773 for (i = 0; i < pic->slices->len; i++) { in _destroy_buffers()
774 buffer = g_array_index (pic->slices, VABufferID, i); in _destroy_buffers()
784 pic->slices = g_array_set_size (pic->slices, 0); in _destroy_buffers()
801 pic->slices = g_array_sized_new (FALSE, FALSE, sizeof (VABufferID), 64); in gst_va_decode_picture_new()
834 g_clear_pointer (&pic->slices, g_array_unref); in gst_va_decode_picture_free()
/third_party/flutter/skia/third_party/externals/angle2/samples/tri_fan_microbench/
DTriFanMicroBench.cpp37 const unsigned int slices = 8; in createVertexBuffers() local
38 const unsigned int numFanVertices = slices + 2; in createVertexBuffers()
87 const unsigned int numTriVertices = slices * 3; in createVertexBuffers()
94 for (unsigned int i = 0; i < slices; ++i) in createVertexBuffers()
/third_party/skia/third_party/externals/angle2/samples/tri_fan_microbench/
DTriFanMicroBench.cpp37 const unsigned int slices = 8; in createVertexBuffers() local
38 const unsigned int numFanVertices = slices + 2; in createVertexBuffers()
87 const unsigned int numTriVertices = slices * 3; in createVertexBuffers()
94 for (unsigned int i = 0; i < slices; ++i) in createVertexBuffers()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dmergeable_material.dart29 /// frame so that state is maintained appropriately even as slices are added
35 /// of [Material] that animates merging with other slices.
94 /// the transition of the slices, while the gaps will be animated automatically.
116 /// The z-coordinate at which to place all the [Material] slices.
398 // If more than a gap disappeared, just remove slices and shrink gaps.
520 List<Widget> slices = <Widget>[];
525 assert(slices.isNotEmpty);
535 children: slices,
539 slices = <Widget>[];
587 slices.add(
[all …]

1234567891011