Lines Matching defs:templat
48 struct pipe_video_codec templat = {};
64 templat.profile = ProfileToPipe(profile);
65 if (templat.profile == PIPE_VIDEO_PROFILE_UNKNOWN)
77 supported = vl_codec_supported(screen, templat.profile, false);
86 templat.profile,
93 templat.profile,
110 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM;
111 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420;
112 templat.width = width;
113 templat.height = height;
114 templat.max_references = max_references;
116 if (u_reduce_video_profile(templat.profile) ==
118 templat.level = u_get_h264_level(templat.width, templat.height,
119 &templat.max_references);
121 vldecoder->decoder = pipe->create_video_codec(pipe, &templat);
624 vlsurf->templat.buffer_format = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOINT_BITSTREAM,
628 vlsurf->templat.interlaced = screen->get_video_param(screen, dec->profile, PIPE_VIDEO_ENTRYPOINT_BITSTREAM,
632 vlsurf->video_buffer = dec->context->create_video_buffer(dec->context, &vlsurf->templat);