/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv98_video_vp.c | 28 struct nouveau_bo *inter_bo, unsigned slice_size) in dump_comm_vp() argument 50 for (i = 0; i < comm->byte_ofs + slice_size; i += 0x10) { in dump_comm_vp() 75 uint32_t slice_size, bucket_size, ring_size, i; in nv98_decoder_vp() local 92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp() 95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp() 137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nv98_decoder_vp() 144 PUSH_DATA (push, inter_addr + slice_size); // 720 bucket_ofs in nv98_decoder_vp() 187 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nv98_decoder_vp() 191 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nv98_decoder_vp()
|
D | nv98_video_bsp.c | 45 uint32_t slice_size, bucket_size, ring_size, bsp_size; in nv98_decoder_bsp() local 136 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp() 140 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nv98_decoder_bsp() 148 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp() 152 PUSH_DATA (push, slice_size << 8); // 408 interparm size? in nv98_decoder_bsp() 153 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 40c interdata addr in nv98_decoder_bsp() 155 PUSH_DATA (push, inter_addr + slice_size); // 414 bucket? in nv98_decoder_bsp()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video_vp.c | 28 struct nouveau_bo *inter_bo, unsigned slice_size) in dump_comm_vp() argument 50 for (i = 0; i < comm->byte_ofs + slice_size; i += 0x10) { in dump_comm_vp() 75 uint32_t slice_size, bucket_size, ring_size, i; in nvc0_decoder_vp() local 92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp() 95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp() 137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nvc0_decoder_vp() 144 PUSH_DATA (push, inter_addr + slice_size); // 720 bucket_ofs in nvc0_decoder_vp() 187 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nvc0_decoder_vp() 191 dump_comm_vp(dec, dec->comm, comm_seq, inter_bo, slice_size << 8); in nvc0_decoder_vp()
|
D | nvc0_video_bsp.c | 142 uint32_t slice_size, bucket_size, ring_size; in nvc0_decoder_bsp_end() local 188 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end() 192 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nvc0_decoder_bsp_end() 197 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end() 201 PUSH_DATA (push, slice_size << 8); // 408 interparm size? in nvc0_decoder_bsp_end() 202 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 40c interdata addr in nvc0_decoder_bsp_end() 204 PUSH_DATA (push, inter_addr + slice_size); // 414 bucket? in nvc0_decoder_bsp_end()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap24.c | 30 unsigned long slice_size; in init_slice_boundary() local 36 slice_size = 0x10000000000; in init_slice_boundary() 40 slice_size = 0x10000000; in init_slice_boundary() 51 while (slice_boundary + slice_size < (unsigned long)heap + 2*hpage_size) in init_slice_boundary() 52 slice_boundary += slice_size; in init_slice_boundary() 59 slice_boundary += slice_size; in init_slice_boundary()
|
/third_party/ffmpeg/libavcodec/ |
D | dxtory.c | 351 int slice_size, int off) in check_slice_size() argument 355 if (slice_size > src_size - off) { in check_slice_size() 358 slice_size, src_size - off); in check_slice_size() 361 if (slice_size <= 16) { in check_slice_size() 363 slice_size); in check_slice_size() 368 if (cur_slice_size != slice_size - 16) { in check_slice_size() 371 cur_slice_size, slice_size - 16); in check_slice_size() 432 uint32_t off, slice_size; in dxtory_decode_v2() local 444 slice_size = bytestream2_get_le32(&gb_check); in dxtory_decode_v2() 446 if (slice_size <= 16 + (avctx->height * avctx->width / (8 * nslices))) in dxtory_decode_v2() [all …]
|
D | fic.c | 377 unsigned slice_size; in fic_decode_frame() local 386 slice_size = msize; in fic_decode_frame() 389 slice_size = AV_RB32(src + tsize + FIC_HEADER_SIZE + slice * 4 + 4); in fic_decode_frame() 390 if (slice_size < slice_off) in fic_decode_frame() 394 if (slice_size < slice_off || slice_size > msize) in fic_decode_frame() 397 slice_size -= slice_off; in fic_decode_frame() 400 ctx->slice_data[slice].src_size = slice_size; in fic_decode_frame()
|
D | aic.c | 393 int slice_size; in aic_decode_frame() local 420 slice_size = bytestream2_get_le16(&gb) * 4; in aic_decode_frame() 421 if (slice_size + off > buf_size || !slice_size) { in aic_decode_frame() 423 "Incorrect slice size %d at %d.%d\n", slice_size, x, y); in aic_decode_frame() 427 ret = aic_decode_slice(ctx, x, y, buf + off, slice_size); in aic_decode_frame() 434 off += slice_size; in aic_decode_frame()
|
D | utvideodec.c | 135 int slice_data_start, slice_data_end, slice_size; in decode_plane10() local 144 slice_size = slice_data_end - slice_data_start; in decode_plane10() 146 if (!slice_size) { in decode_plane10() 152 memset(c->slice_bits + slice_size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in decode_plane10() 156 init_get_bits(&gb, c->slice_bits, slice_size * 8); in decode_plane10() 296 int slice_data_start, slice_data_end, slice_size; in decode_plane() local 305 slice_size = slice_data_end - slice_data_start; in decode_plane() 307 if (!slice_size) { in decode_plane() 313 memset(c->slice_bits + slice_size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in decode_plane() 317 init_get_bits(&gb, c->slice_bits, slice_size * 8); in decode_plane() [all …]
|
D | proresenc_anatoliy.c | 546 int ret = 0, slice_size; in encode_slice() local 595 slice_size = encode_slice_data(avctx, blocks_y, blocks_u, blocks_v, in encode_slice() 610 slice_size = encode_slice_data(avctx, blocks_y, blocks_u, blocks_v, in encode_slice() 615 if (slice_size > high_bytes && *qp < qp_end_table[avctx->profile]) { in encode_slice() 618 slice_size = encode_slice_data(avctx, blocks_y, blocks_u, blocks_v, in encode_slice() 622 } while (slice_size > high_bytes && *qp < qp_end_table[avctx->profile]); in encode_slice() 623 } else if (slice_size < low_bytes && *qp in encode_slice() 627 slice_size = encode_slice_data(avctx, blocks_y, blocks_u, blocks_v, in encode_slice() 631 } while (slice_size < low_bytes && *qp > qp_start_table[avctx->profile]); in encode_slice() 647 buf + hdr_size + slice_size, in encode_slice() [all …]
|
D | dnxhdenc.c | 497 if (!FF_ALLOCZ_TYPED_ARRAY(ctx->slice_size, ctx->m.mb_height) || in dnxhd_encode_init() 886 ctx->slice_size[jobnr]); in dnxhd_encode_thread() 925 ctx->slice_size[mb_y] = 0; in dnxhd_setup_threads_slices() 928 ctx->slice_size[mb_y] += ctx->mb_bits[mb]; in dnxhd_setup_threads_slices() 930 ctx->slice_size[mb_y] = (ctx->slice_size[mb_y] + 31U) & ~31U; in dnxhd_setup_threads_slices() 931 ctx->slice_size[mb_y] >>= 3; in dnxhd_setup_threads_slices() 932 thread_size = ctx->slice_size[mb_y]; in dnxhd_setup_threads_slices() 1295 offset += ctx->slice_size[i]; in dnxhd_encode_picture() 1296 av_assert1(!(ctx->slice_size[i] & 3)); in dnxhd_encode_picture() 1335 av_freep(&ctx->slice_size); in dnxhd_encode_end()
|
D | dxva2_h264.c | 313 unsigned slice_size; in commit_bitstream_and_slice_buffer() local 432 slice_size = ctx_pic->slice_count * sizeof(*ctx_pic->slice_short); in commit_bitstream_and_slice_buffer() 435 slice_size = ctx_pic->slice_count * sizeof(*ctx_pic->slice_long); in commit_bitstream_and_slice_buffer() 439 slice_data, slice_size, mb_count); in commit_bitstream_and_slice_buffer()
|
D | vaapi_decode.h | 78 size_t slice_size);
|
D | vaapi_decode.c | 66 size_t slice_size) in ff_vaapi_decode_make_slice_buffer() argument 106 slice_size, 1, (void*)slice_data, in ff_vaapi_decode_make_slice_buffer() 111 slice_size, vas, vaErrorStr(vas)); in ff_vaapi_decode_make_slice_buffer() 118 "is %#x.\n", pic->nb_slices, slice_size, in ff_vaapi_decode_make_slice_buffer()
|
D | dxva2_hevc.c | 252 unsigned slice_size; in commit_bitstream_and_slice_buffer() local 349 slice_size = ctx_pic->slice_count * sizeof(*ctx_pic->slice_short); in commit_bitstream_and_slice_buffer() 354 slice_data, slice_size, 0); in commit_bitstream_and_slice_buffer()
|
D | proresenc_kostya.c | 994 int frame_size, picture_size, slice_size; in encode_frame() local 1118 slice_size = slice_hdr_size + sizes[ctx->num_planes - 1]; in encode_frame() 1121 slice_size += sizes[i]; in encode_frame() 1123 bytestream_put_be16(&slice_sizes, slice_size); in encode_frame() 1124 buf += slice_size - slice_hdr_size; in encode_frame() 1125 if (max_slice_size < slice_size) in encode_frame() 1126 max_slice_size = slice_size; in encode_frame()
|
D | dnxhdenc.h | 57 uint32_t *slice_size; member
|
D | huffyuvdec.c | 1235 int y_offset, slice_offset, slice_size; in decode_frame() local 1239 slice_size = AV_RL32(avpkt->data + slices_info_offset + slice * 8 + 4); in decode_frame() 1241 if (slice_offset < 0 || slice_size <= 0 || (slice_offset&3) || in decode_frame() 1242 slice_offset + (int64_t)slice_size > buf_size) in decode_frame() 1247 (const uint32_t *)(buf + slice_offset), slice_size / 4); in decode_frame() 1251 slice_size = buf_size; in decode_frame() 1254 ret = decode_slice(avctx, p, slice_height, slice_size, y_offset, table_size); in decode_frame()
|
D | magicyuvenc.c | 511 unsigned slice_size; in magy_encode_frame() local 514 slice_size = encode_slice(s->slices[i], pkt->data + bytestream2_tell_p(&pb), in magy_encode_frame() 519 bytestream2_skip_p(&pb, slice_size); in magy_encode_frame()
|
/third_party/pcre2/pcre2/maint/ |
D | GenerateUcd.py | 433 slice_type, slice_size = get_type_size(record_slice) 435 size = (size + slice_size - 1) & -slice_size 436 size += slice_size 441 slice_type, slice_size = get_type_size(record_slice) 442 size = (size + slice_size - 1) & -slice_size
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video.h | 192 uint32_t *slice_size, uint32_t *bucket_size, in nouveau_vp3_inter_sizes() argument 195 *slice_size = (SLICE_SIZE * slice_count)>>8; in nouveau_vp3_inter_sizes() 200 *ring_size = (dec->inter_bo[0]->size >> 8) - *bucket_size - *slice_size; in nouveau_vp3_inter_sizes()
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1255 uint32 slice_size, total_size; in svga3dsurface_get_image_buffer_size() local 1270 slice_size = clamped_umul32(image_blocks.height, pitch); in svga3dsurface_get_image_buffer_size() 1271 total_size = clamped_umul32(slice_size, image_blocks.depth); in svga3dsurface_get_image_buffer_size()
|
/third_party/libdrm/radeon/ |
D | radeon_surface.h | 71 uint64_t slice_size; member
|
D | radeon_surface.c | 192 surflevel->slice_size = (uint64_t)surflevel->pitch_bytes * surflevel->nblk_y; in surf_minify() 194 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in surf_minify() 606 surflevel->slice_size = (uint64_t)mtile_ps * mtileb * slice_pt; in eg_surf_minify() 608 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in eg_surf_minify() 1463 surflevel->slice_size = ALIGN((uint64_t)surflevel->pitch_bytes * surflevel->nblk_y, in si_surf_minify() 1466 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in si_surf_minify() 1512 surflevel->slice_size = (uint64_t)mtile_ps * mtileb * slice_pt; in si_surf_minify_2d() 1514 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in si_surf_minify_2d()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_gblur.c | 112 const int slice_size = slice_end - slice_start; in filter_postscale() local 115 slice_size * awidth, postscale, min, max); in filter_postscale()
|