Lines Matching defs:desc
723 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pixfmt);
724 const int high = desc->comp[0].depth > 8;
924 FFVkSPIRVShader *shd, FFVulkanDescriptorSetBinding *desc,
958 desc_binding[i].descriptorType = desc[i].type;
959 desc_binding[i].descriptorCount = FFMAX(desc[i].elems, 1);
960 desc_binding[i].stageFlags = desc[i].stages;
961 desc_binding[i].pImmutableSamplers = desc[i].sampler ?
962 desc[i].sampler->sampler :
988 if (pl->pool_size_desc[j].type == desc[i].type)
998 pl->pool_size_desc[j].type = desc[i].type;
999 pl->pool_size_desc[j].descriptorCount += FFMAX(desc[i].elems, 1)*pl->qf->nb_queues;
1014 des_entries[i].descriptorType = desc[i].type;
1015 des_entries[i].descriptorCount = FFMAX(desc[i].elems, 1);
1017 des_entries[i].offset = ((uint8_t *)desc[i].updater) - (uint8_t *)s;
1018 des_entries[i].stride = descriptor_props[desc[i].type].struct_size;
1047 const struct descriptor_props *prop = &descriptor_props[desc[i].type];
1050 if (desc[i].mem_layout)
1051 GLSLA(", %s", desc[i].mem_layout);
1057 if (prop->mem_quali && desc[i].mem_quali)
1058 GLSLA(" %s", desc[i].mem_quali);
1064 GLSLA("%iD", desc[i].dimensions);
1066 GLSLA(" %s", desc[i].name);
1069 GLSLA(" {\n %s\n}", desc[i].buf_content);
1070 else if (desc[i].elems > 0)
1071 GLSLA("[%i]", desc[i].elems);