Lines Matching defs:templat

126       if (u_reduce_video_profile(context->templat.profile) == PIPE_VIDEO_FORMAT_MPEG4_AVC) {
579 unsigned index, struct pipe_video_buffer *templat)
597 if (surface->templat.width != memory_attribute->width ||
598 surface->templat.height != memory_attribute->height ||
605 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats);
619 whandle.format = templat->buffer_format;
624 unsigned num_planes = util_format_get_num_planes(templat->buffer_format);
636 res_templ.width0 = util_format_get_plane_width(templat->buffer_format, i,
638 res_templ.height0 = util_format_get_plane_height(templat->buffer_format, i,
651 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources);
667 struct pipe_video_buffer *templat)
678 num_format_planes = util_format_get_num_planes(templat->buffer_format);
685 if (surface->templat.width != desc->width ||
686 surface->templat.height != desc->height ||
709 templat->buffer_format, NULL) &&
712 templat->buffer_format);
717 vl_get_video_buffer_formats(pscreen, templat->buffer_format, resource_formats);
728 res_templ.format = templat->buffer_format;
732 whandle.format = templat->buffer_format;
771 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources);
787 struct pipe_video_buffer *templat,
798 drv->pipe->create_video_buffer_with_modifiers(drv->pipe, templat,
802 surface->buffer = drv->pipe->create_video_buffer(drv->pipe, templat);
838 struct pipe_video_buffer templat;
957 memset(&templat, 0, sizeof(templat));
959 templat.buffer_format = pscreen->get_video_param(
967 templat.interlaced = false;
969 templat.interlaced =
977 if (expected_format != templat.buffer_format || memory_attribute)
978 templat.interlaced = 0;
980 templat.buffer_format = expected_format;
983 templat.width = width;
984 templat.height = height;
986 templat.bind |= PIPE_BIND_PROTECTED;
998 surf->templat = templat;
1008 templat.bind = PIPE_BIND_LINEAR | PIPE_BIND_SHARED;
1010 vaStatus = vlVaHandleSurfaceAllocate(drv, surf, &templat, modifiers,
1017 vaStatus = surface_from_external_memory(ctx, surf, memory_attribute, i, &templat);
1023 vaStatus = surface_from_prime_2(ctx, surf, prime_desc, &templat);
1302 surf->templat.interlaced = false;
1305 ret = vlVaHandleSurfaceAllocate(drv, surf, &surf->templat, NULL, 0);
1313 src_rect.x1 = dst_rect.x1 = surf->templat.width;
1314 src_rect.y1 = dst_rect.y1 = surf->templat.height;
1332 desc->width = surf->templat.width;
1333 desc->height = surf->templat.height;