Home
last modified time | relevance | path

Searched refs:nlayers (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dj2kenc.c140 int nlayers; member
344 bytestream_put_be16(&s->buf, s->nlayers); // num of layers in put_cod()
434 for (layno = 0; layno < s->nlayers; layno++) { in compute_rates()
473 tile->layer_rates = av_mallocz_array(s->nlayers, sizeof(*tile->layer_rates)); in init_tiles()
782 int nlayers) in encode_packet() argument
813 for (i = 0; i < nlayers; i++) { in encode_packet()
819 if (i == nlayers) in encode_packet()
893 if (layno == nlayers - 1 && cblk->layers[layno].cum_passes){ in encode_packet()
925 if (layno == nlayers - 1 && cblk->layers[layno].cum_passes) { in encode_packet()
936 static int encode_packets(Jpeg2000EncoderContext *s, Jpeg2000Tile *tile, int tileno, int nlayers) in encode_packets() argument
[all …]
Djpeg2000.h142 uint8_t nlayers; // number of layers member
Djpeg2000.c372 cblk->layers = av_mallocz_array(codsty->nlayers, sizeof(*cblk->layers)); in init_prec()
Djpeg2000dec.c574 tmp.nlayers = bytestream2_get_be16u(&s->g); in get_cod()
1603 FFMIN(e->LYEpoc, tile->codsty[0].nlayers), in jpeg2000_decode_packets()
1614 tile->codsty[0].nlayers, in jpeg2000_decode_packets()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.c295 unsigned nlayers = 1; in svga_create_surface_view() local
315 nlayers = surf_tmpl->u.tex.last_layer - surf_tmpl->u.tex.first_layer + 1; in svga_create_surface_view()
380 if (nlayers == 6) in svga_create_surface_view()
384 if (nlayers % 6 == 0) in svga_create_surface_view()
398 layer, nlayers, zslice, in svga_create_surface_view()
806 unsigned nlayers = 1; in svga_propagate_surface() local
823 nlayers = surf->u.tex.last_layer - surf->u.tex.first_layer + 1; in svga_propagate_surface()
837 for (i = 0; i < nlayers; i++) { in svga_propagate_surface()
849 for (i = 0; i < nlayers; i++) { in svga_propagate_surface()
Dsvga_resource_texture.c731 unsigned nlayers; in svga_texture_transfer_unmap_direct() local
737 nlayers = box.d; in svga_texture_transfer_unmap_direct()
741 nlayers = 1; in svga_texture_transfer_unmap_direct()
756 for (i = 0; i < nlayers; i++) { in svga_texture_transfer_unmap_direct()
762 assert(nlayers == 1); in svga_texture_transfer_unmap_direct()
1368 st->upload.nlayers = 1; in svga_texture_transfer_map_upload()
1376 st->upload.nlayers = st->base.box.depth; in svga_texture_transfer_map_upload()
1381 st->upload.nlayers = st->base.box.depth; in svga_texture_transfer_map_upload()
1399 if (st->upload.nlayers > 1 && st->base.layer_stride & 15) in svga_texture_transfer_map_upload()
1465 for (i = 0, layer = st->slice; i < st->upload.nlayers; i++, layer++) { in svga_texture_transfer_unmap_upload()
Dsvga_resource_texture.h145 unsigned nlayers; member
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c11 uint16_t nlayers; member
418 tx->nlayers = box->depth; in nvc0_miptree_transfer_map()
441 size * tx->nlayers, NULL, &tx->rect[1].bo); in nvc0_miptree_transfer_map()
459 for (i = 0; i < tx->nlayers; ++i) { in nvc0_miptree_transfer_map()
512 for (i = 0; i < tx->nlayers; ++i) { in nvc0_miptree_transfer_unmap()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c677 unsigned nlayers = MAX2(region->dstSubresource.layerCount, region->extent.depth); in panvk_meta_copy_img2img() local
678 for (unsigned l = 0; l < nlayers; l++) { in panvk_meta_copy_img2img()
1101 unsigned nlayers = MAX2(region->imageSubresource.layerCount, region->imageExtent.depth); in panvk_meta_copy_buf2img() local
1102 for (unsigned l = 0; l < nlayers; l++) { in panvk_meta_copy_buf2img()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c1505 ASSERTED unsigned nlayers = info->src.end.layer - info->src.start.layer + 1; in GENX() local
1507 assert(nlayers == (info->dst.end.layer - info->dst.start.layer + 1)); in GENX()