Home
last modified time | relevance | path

Searched refs:context_priv (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xvmc/
Dcontext.c195 XvMCContextPrivate *context_priv; in XvMCCreateContext() local
227 context_priv = CALLOC(1, sizeof(XvMCContextPrivate)); in XvMCCreateContext()
228 if (!context_priv) in XvMCCreateContext()
238 FREE(context_priv); in XvMCCreateContext()
246 FREE(context_priv); in XvMCCreateContext()
258 context_priv->decoder = pipe->create_video_codec(pipe, &templat); in XvMCCreateContext()
260 if (!context_priv->decoder) { in XvMCCreateContext()
264 FREE(context_priv); in XvMCCreateContext()
268 if (!vl_compositor_init(&context_priv->compositor, pipe)) { in XvMCCreateContext()
270 context_priv->decoder->destroy(context_priv->decoder); in XvMCCreateContext()
[all …]
Dattributes.c78 XvMCContextPrivate *context_priv; in XvMCSetAttribute() local
87 context_priv = context->privData; in XvMCSetAttribute()
94 context_priv->procamp.brightness = value / 1000.0f; in XvMCSetAttribute()
96 context_priv->procamp.contrast = value / 1000.0f + 1.0f; in XvMCSetAttribute()
98 context_priv->procamp.saturation = value / 1000.0f + 1.0f; in XvMCSetAttribute()
100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute()
102 context_priv->color_standard = value ? in XvMCSetAttribute()
110 context_priv->color_standard, in XvMCSetAttribute()
111 &context_priv->procamp, true, &csc in XvMCSetAttribute()
113 vl_compositor_set_csc_matrix(&context_priv->cstate, (const vl_csc_matrix *)&csc, 1.0f, 0.0f); in XvMCSetAttribute()
[all …]
Dsurface.c122 XvMCContextPrivate *context_priv; in RecursiveEndFrame() local
127 context_priv = surface->context->privData; in RecursiveEndFrame()
149 context_priv->decoder->end_frame(context_priv->decoder, surface->video_buffer, &desc.base); in RecursiveEndFrame()
156 XvMCContextPrivate *context_priv; in XvMCCreateSurface() local
170 context_priv = context->privData; in XvMCCreateSurface()
171 pipe = context_priv->pipe; in XvMCCreateSurface()
181 context_priv->decoder->profile, in XvMCCreateSurface()
182 context_priv->decoder->entrypoint, in XvMCCreateSurface()
185 tmpl.chroma_format = context_priv->decoder->chroma_format; in XvMCCreateSurface()
186 tmpl.width = context_priv->decoder->width; in XvMCCreateSurface()
[all …]
Dsubpicture.c264 XvMCContextPrivate *context_priv; in XvMCCreateSubpicture() local
279 context_priv = context->privData; in XvMCCreateSubpicture()
280 pipe = context_priv->pipe; in XvMCCreateSubpicture()
285 if (width > context_priv->subpicture_max_width || in XvMCCreateSubpicture()
286 height > context_priv->subpicture_max_height) in XvMCCreateSubpicture()
374 XvMCContextPrivate *context_priv; in XvMCClearSubpicture() local
393 context_priv = subpicture_priv->context->privData; in XvMCClearSubpicture()
394 pipe = context_priv->pipe; in XvMCClearSubpicture()
416 XvMCContextPrivate *context_priv; in XvMCCompositeSubpicture() local
438 context_priv = subpicture_priv->context->privData; in XvMCCompositeSubpicture()
[all …]
/external/libxcam/capi/
DMakefile.am25 context_priv.cpp \