Searched refs:context_priv (Results 1 – 4 of 4) sorted by relevance
194 XvMCContextPrivate *context_priv; in XvMCCreateContext() local226 context_priv = CALLOC(1, sizeof(XvMCContextPrivate)); in XvMCCreateContext()227 if (!context_priv) in XvMCCreateContext()235 FREE(context_priv); in XvMCCreateContext()243 FREE(context_priv); in XvMCCreateContext()247 context_priv->decoder = pipe->create_video_decoder in XvMCCreateContext()256 if (!context_priv->decoder) { in XvMCCreateContext()260 FREE(context_priv); in XvMCCreateContext()264 if (!vl_compositor_init(&context_priv->compositor, pipe)) { in XvMCCreateContext()266 context_priv->decoder->destroy(context_priv->decoder); in XvMCCreateContext()[all …]
78 XvMCContextPrivate *context_priv; in XvMCSetAttribute() local87 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); in XvMCSetAttribute()[all …]
121 XvMCContextPrivate *context_priv; in RecursiveEndFrame() local126 context_priv = surface->context->privData; in RecursiveEndFrame()148 context_priv->decoder->end_frame(context_priv->decoder, surface->video_buffer, &desc.base); in RecursiveEndFrame()155 XvMCContextPrivate *context_priv; in XvMCCreateSurface() local169 context_priv = context->privData; in XvMCCreateSurface()170 pipe = context_priv->pipe; in XvMCCreateSurface()183 tmpl.chroma_format = context_priv->decoder->chroma_format; in XvMCCreateSurface()184 tmpl.width = context_priv->decoder->width; in XvMCCreateSurface()185 tmpl.height = context_priv->decoder->height; in XvMCCreateSurface()221 XvMCContextPrivate *context_priv; in XvMCRenderSurface() local[all …]
197 XvMCContextPrivate *context_priv; in XvMCCreateSubpicture() local211 context_priv = context->privData; in XvMCCreateSubpicture()212 pipe = context_priv->pipe; in XvMCCreateSubpicture()217 if (width > context_priv->subpicture_max_width || in XvMCCreateSubpicture()218 height > context_priv->subpicture_max_height) in XvMCCreateSubpicture()303 XvMCContextPrivate *context_priv; in XvMCClearSubpicture() local322 context_priv = subpicture_priv->context->privData; in XvMCClearSubpicture()323 pipe = context_priv->pipe; in XvMCClearSubpicture()350 XvMCContextPrivate *context_priv; in XvMCCompositeSubpicture() local372 context_priv = subpicture_priv->context->privData; in XvMCCompositeSubpicture()[all …]