/external/mesa3d/src/gallium/state_trackers/omx/ |
vid_dec_mpeg12.c | 68 struct pipe_video_codec templat = {}; local 72 templat.profile = priv->profile; 73 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 74 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 75 templat.max_references = 2; 76 templat.expect_chunked_decode = true; 77 templat.width = port->sPortParam.format.video.nFrameWidth; 78 templat.height = port->sPortParam.format.video.nFrameHeight; 80 priv->codec = priv->pipe->create_video_codec(priv->pipe, &templat);
|
vid_dec.c | 425 struct pipe_video_buffer templat = {}; local 436 memset(&templat, 0, sizeof(templat)); 438 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 439 templat.width = priv->codec->width; 440 templat.height = priv->codec->height; 441 templat.buffer_format = pscreen->get_video_param( 447 templat.interlaced = pscreen->get_video_param( 453 priv->target = priv->pipe->create_video_buffer(priv->pipe, &templat); 632 struct pipe_video_buffer templat = {} local [all...] |
vid_dec_h264.c | 109 struct pipe_video_codec templat = {}; local 113 templat.profile = priv->profile; 114 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 115 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 116 templat.max_references = priv->picture.h264.num_ref_frames; 117 templat.expect_chunked_decode = true; 118 templat.width = port->sPortParam.format.video.nFrameWidth; 119 templat.height = port->sPortParam.format.video.nFrameHeight; 120 templat.level = priv->picture.h264.pps->sps->level_idc; 122 priv->codec = priv->pipe->create_video_codec(priv->pipe, &templat); [all...] |
vid_enc.c | 565 struct pipe_video_buffer templat = {}; local 567 templat.buffer_format = PIPE_FORMAT_NV12; 568 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 569 templat.width = priv->scale.xWidth; 570 templat.height = priv->scale.xHeight; 571 templat.interlaced = false; 573 priv->scale_buffer[i] = priv->s_pipe->create_video_buffer(priv->s_pipe, &templat); 684 struct pipe_video_codec templat = {}; local 689 templat.profile = enc_TranslateOMXProfileToPipe(priv->profile_level.eProfile); 690 templat.level = enc_TranslateOMXLevelToPipe(priv->profile_level.eLevel) 835 struct pipe_video_buffer templat = {}; local [all...] |
vid_dec_h265.c | 616 struct pipe_video_codec templat = {}; local 620 templat.profile = priv->profile; 621 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 622 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 623 templat.expect_chunked_decode = true; 624 templat.width = priv->codec_data.h265.pic_width_in_luma_samples; 625 templat.height = priv->codec_data.h265.pic_height_in_luma_samples; 626 templat.level = priv->codec_data.h265.level_idc; 627 priv->codec = priv->pipe->create_video_codec(priv->pipe, &templat);
|
/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 42 struct pipe_resource templat; local 68 memset(&templat, 0, sizeof(templat)); 69 templat.target = PIPE_TEXTURE_2D; 70 templat.format = formats[i]; 71 templat.width0 = WIDTH; 72 templat.height0 = HEIGHT; 73 templat.depth0 = 1; 74 templat.array_size = 1; 75 templat.last_level = 0 [all...] |
shader-leak.c | 169 struct pipe_resource templat; local 195 memset(&templat, 0, sizeof(templat)); 196 templat.target = PIPE_TEXTURE_2D; 197 templat.format = formats[i]; 198 templat.width0 = WIDTH; 199 templat.height0 = HEIGHT; 200 templat.depth0 = 1; 201 templat.last_level = 0; 202 templat.nr_samples = 1 [all...] |
tri-gs.c | 176 struct pipe_resource templat; local 202 memset(&templat, 0, sizeof(templat)); 203 templat.target = PIPE_TEXTURE_2D; 204 templat.format = formats[i]; 205 templat.width0 = WIDTH; 206 templat.height0 = HEIGHT; 207 templat.depth0 = 1; 208 templat.array_size = 1; 209 templat.last_level = 0 [all...] |
fs-test.c | 250 struct pipe_resource templat; local 296 memset(&templat, 0, sizeof(templat)); 297 templat.target = PIPE_TEXTURE_2D; 298 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 299 templat.width0 = SIZE; 300 templat.height0 = SIZE; 301 templat.depth0 = 1; 302 templat.array_size = 1; 303 templat.last_level = 0 380 struct pipe_resource templat; local [all...] |
quad-sample.c | 166 struct pipe_resource templat; local 212 memset(&templat, 0, sizeof(templat)); 213 templat.target = PIPE_TEXTURE_2D; 214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 215 templat.width0 = SIZE; 216 templat.height0 = SIZE; 217 templat.depth0 = 1; 218 templat.last_level = 0; 219 templat.nr_samples = 1 295 struct pipe_resource templat; local [all...] |
tri-instanced.c | 227 struct pipe_resource templat; local 253 memset(&templat, 0, sizeof(templat)); 254 templat.target = PIPE_TEXTURE_2D; 255 templat.format = formats[i]; 256 templat.width0 = WIDTH; 257 templat.height0 = HEIGHT; 258 templat.depth0 = 1; 259 templat.array_size = 1; 260 templat.last_level = 0 [all...] |
vs-test.c | 82 struct pipe_resource templat; local 85 memset(&templat, 0, sizeof(templat)); 86 templat.target = PIPE_BUFFER; 87 templat.format = PIPE_FORMAT_R8_UNORM; 88 templat.width0 = sizeof(constants); 89 templat.height0 = 1; 90 templat.depth0 = 1; 91 templat.array_size = 1; 92 templat.last_level = 0 239 struct pipe_resource templat; local 369 struct pipe_resource templat; local [all...] |
gs-test.c | 151 struct pipe_resource templat; local 153 memset(&templat, 0, sizeof(templat)); 154 templat.target = PIPE_BUFFER; 155 templat.format = PIPE_FORMAT_R8_UNORM; 156 templat.width0 = sizeof(constants1); 157 templat.height0 = 1; 158 templat.depth0 = 1; 159 templat.array_size = 1; 160 templat.last_level = 0 341 struct pipe_resource templat; local 471 struct pipe_resource templat; local [all...] |
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_texture.c | 163 struct pipe_resource templat = *prsc; local 165 templat.bind &= ~(PIPE_BIND_DEPTH_STENCIL | PIPE_BIND_RENDER_TARGET | 168 etna_resource_alloc(pctx->screen, ETNA_LAYOUT_TILED, &templat);
|
/external/mesa3d/src/gallium/state_trackers/hgl/ |
hgl.c | 86 struct pipe_resource templat; local 97 memset(&templat, 0, sizeof(templat)); 98 templat.target = buffer->target; 99 templat.width0 = width; 100 templat.height0 = height; 101 templat.depth0 = 1; 102 templat.array_size = 1; 103 templat.last_level = 0; 128 templat.format = format [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
context.c | 194 struct pipe_video_codec templat = {0}; local 248 templat.profile = ProfileToPipe(mc_type); 249 templat.entrypoint = (mc_type & XVMC_IDCT) ? PIPE_VIDEO_ENTRYPOINT_IDCT : PIPE_VIDEO_ENTRYPOINT_MC; 250 templat.chroma_format = FormatToPipe(chroma_format); 251 templat.width = width; 252 templat.height = height; 253 templat.max_references = 2; 254 templat.expect_chunked_decode = true; 256 context_priv->decoder = pipe->create_video_codec(pipe, &templat);
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 57 XVisualInfo templat, *visinfo = NULL; local 79 templat.screen = DefaultScreen(graw.display); 80 templat.depth = 32; 81 templat.class = TrueColor; 83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_pstipple.c | 107 struct pipe_resource templat, *tex; local 109 memset(&templat, 0, sizeof(templat)); 110 templat.target = PIPE_TEXTURE_2D; 111 templat.format = PIPE_FORMAT_A8_UNORM; 112 templat.last_level = 0; 113 templat.width0 = 32; 114 templat.height0 = 32; 115 templat.depth0 = 1; 116 templat.array_size = 1 135 struct pipe_sampler_view templat, *sv; local 150 struct pipe_sampler_state templat; local [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
image.c | 62 *width = p_surf->templat.width; 63 *height = p_surf->templat.height; 66 p_surf->templat.chroma_format, 67 p_surf->templat.interlaced); 478 struct pipe_video_buffer templat = surf->templat; local 480 templat.buffer_format = format; 481 tmp_buf = drv->pipe->create_video_buffer(drv->pipe, &templat); 490 surf->templat.buffer_format = format;
|
surface.c | 492 struct pipe_video_buffer *templat) 511 if (surface->templat.width != memory_attibute->width || 512 surface->templat.height != memory_attibute->height || 535 res_templ.format = surface->templat.buffer_format; 553 surface->buffer = vl_video_buffer_create_ex2(drv->pipe, templat, resources); 576 struct pipe_video_buffer templat; local 656 memset(&templat, 0, sizeof(templat)); 658 templat.buffer_format = pscreen->get_video_param( 664 templat.interlaced = pscreen->get_video_param [all...] |
va_private.h | 238 struct pipe_video_codec templat, *decoder; member in struct:__anon30234 275 struct pipe_video_buffer templat, *buffer; member in struct:__anon30238
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_video_buffer.c | 412 struct pipe_video_buffer templat, *result; local 430 templat = *tmpl; 431 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) 433 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) 437 templat.height /= 2; 441 pipe, &templat, resource_formats,
|
vl_mpeg12_decoder.c | 963 struct pipe_video_buffer templat; local 985 memset(&templat, 0, sizeof(templat)); 986 templat.width = dec->base.width / 4; 987 templat.height = dec->base.height; 988 templat.chroma_format = dec->base.chroma_format; 991 dec->context, &templat, 999 memset(&templat, 0, sizeof(templat)); 1000 templat.width = dec->base.width / nr_of_idct_render_targets 1047 struct pipe_video_buffer templat; local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_vce.c | 392 struct pipe_video_buffer *tmp_buf, templat = {}; local 444 templat.buffer_format = PIPE_FORMAT_NV12; 445 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 446 templat.width = enc->base.width; 447 templat.height = enc->base.height; 448 templat.interlaced = false; 449 if (!(tmp_buf = context->create_video_buffer(context, &templat))) {
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
decode.c | 47 struct pipe_video_codec templat = {}; local 63 templat.profile = ProfileToPipe(profile); 64 if (templat.profile == PIPE_VIDEO_PROFILE_UNKNOWN) 79 templat.profile, 91 templat.profile, 98 templat.profile, 115 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 116 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 117 templat.width = width; 118 templat.height = height [all...] |