Searched defs:ctx (Results 1 - 25 of 202) sorted by relevance

123456789

/hardware/intel/common/libva/va/egl/
H A Dva_egl.c34 * EGLContext ctx,
70 VADriverContextP ctx; local
73 ctx = CTX(dpy);
75 va_egl = (struct VADriverVTableEGL *)ctx->vtable_egl;
77 return va_egl->vaGetEGLClientBufferFromSurface(ctx, surface, buffer);
/hardware/qcom/display/msm8084/hdmi_cec/
H A DQHDMIClient.h48 void setCECContext(qhdmicec::cec_context_t* ctx) { mCtx = ctx; } argument
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_qclient.h48 QClient(hwc_context_t *ctx);
58 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} argument
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_qclient.h48 QClient(hwc_context_t *ctx);
58 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} argument
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_qclient.h47 QClient(hwc_context_t *ctx);
55 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} argument
H A Dhwc_qclient.cpp42 QClient::QClient(hwc_context_t *ctx) : mHwcContext(ctx), argument
43 mMPDeathNotifier(new MPDeathNotifier(ctx))
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_qclient.h47 QClient(hwc_context_t *ctx);
55 MPDeathNotifier(hwc_context_t* ctx) : mHwcContext(ctx){} argument
H A Dhwc_qclient.cpp42 QClient::QClient(hwc_context_t *ctx) : mHwcContext(ctx), argument
43 mMPDeathNotifier(new MPDeathNotifier(ctx))
/hardware/intel/img/libdrm/libdrm/nouveau/
H A Dnouveau_drmif.h35 drm_context_t ctx; member in struct:nouveau_device_priv
43 int fd, drm_context_t ctx);
H A Dnouveau_device.c35 int fd, drm_context_t ctx)
54 nvdev->ctx = ctx;
108 drm_context_t ctx; local
118 ret = drmCreateContext(fd, &ctx);
124 ret = nouveau_device_open_existing(dev, 1, fd, ctx);
126 drmDestroyContext(fd, ctx);
147 drmDestroyContext(nvdev->fd, nvdev->ctx);
34 nouveau_device_open_existing(struct nouveau_device **dev, int close, int fd, drm_context_t ctx) argument
/hardware/intel/img/psb_video/src/
H A Dpsb_surface_attrib.h103 VADriverContextP ctx,
120 VADriverContextP ctx,
136 VADriverContextP ctx,
119 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument
H A Dvsp_compose.c37 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData;
38 #define INIT_CONTEXT_VPP context_VPP_p ctx = (context_VPP_p) obj_context->format_data;
43 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
48 VAStatus vsp_compose_process_pipeline_param(context_VPP_p ctx, object_context_p obj_context, object_buffer_p obj_buffer) argument
52 vsp_cmdbuf_p cmdbuf = ctx->obj_context->vsp_cmdbuf;
79 if (ctx->obj_context->frame_count == 0)
97 output_surface = ctx->obj_context->current_render_target;
120 ctx->compose_param_offset,
133 ctx->compose_param_offset,
149 ctx
[all...]
/hardware/intel/common/libva/va/drm/
H A Dva_drm.c60 VADriverContextP const ctx = pDisplayContext->pDriverContext; local
61 struct drm_state * const drm_state = ctx->drm_state;
66 status = VA_DRM_GetDriverName(ctx, driver_name_ptr);
H A Dva_drm_utils.c47 VA_DRM_GetDriverName(VADriverContextP ctx, char **driver_name_ptr) argument
49 struct drm_state * const drm_state = ctx->drm_state;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/generic/
H A Dsystemdependent.c87 void vp8_machine_specific_config(VP8_COMMON *ctx) argument
90 ctx->processor_core_count = get_cpu_count();
94 ctx->cpu_caps = arm_cpu_caps();
96 ctx->cpu_caps = x86_simd_caps();
/hardware/intel/img/hwcomposer/ips/common/
H A DSpritePlaneBase.cpp36 bool SpritePlaneBase::flip(void *ctx) argument
39 return DisplayPlane::flip(ctx);
/hardware/intel/common/libva/va/glx/
H A Dva_glx.c29 #define INIT_CONTEXT(ctx, dpy) do { \
33 ctx = ((VADisplayContextP)(dpy))->pDriverContext; \
34 if (!(ctx)) \
37 VAStatus status = va_glx_init_context(ctx); \
42 #define INVOKE(ctx, func, args) do { \
44 vtable = &VA_DRIVER_CONTEXT_GLX(ctx)->vtable; \
123 VADriverContextP ctx; local
130 INIT_CONTEXT(ctx, dpy);
132 INVOKE(ctx, CreateSurface, (ctx, targe
142 VADriverContextP ctx; local
159 VADriverContextP ctx; local
[all...]
/hardware/libhardware/modules/hwcomposer/
H A Dhwcomposer.cpp98 struct hwc_context_t* ctx = (struct hwc_context_t*)dev; local
99 if (ctx) {
100 free(ctx);
/hardware/intel/common/libva/va/
H A Dva_tpi.c56 VADriverContextP ctx; local
59 ctx = CTX(dpy);
63 tpi = (struct VADriverVTableTPI *)ctx->vtable_tpi;
65 return tpi->vaCreateSurfacesWithAttribute( ctx, width, height, format, num_surfaces, surfaces, attribute_tpi);
89 VADriverContextP ctx; local
92 ctx = CTX(dpy);
94 tpi = ( struct VADriverVTableTPI *)ctx->vtable_tpi;
96 return tpi->vaPutSurfaceBuf( ctx, surface, data, data_len, srcx, srcy, srcw, srch,
108 VADriverContextP ctx; local
111 ctx
[all...]
/hardware/intel/common/libva/va/wayland/
H A Dva_wayland.c168 VADriverContextP const ctx = get_driver_context(dpy); local
170 if (!ctx)
172 if (!ctx->vtable_wayland || !ctx->vtable_wayland->vaGetSurfaceBufferWl)
174 return ctx->vtable_wayland->vaGetSurfaceBufferWl(ctx, surface, flags,
186 VADriverContextP const ctx = get_driver_context(dpy); local
188 if (!ctx)
190 if (!ctx->vtable_wayland || !ctx
[all...]
H A Dva_wayland_emgd.c65 VADriverContextP const ctx = pDisplayContext->pDriverContext; local
67 struct drm_state * const drm_state = ctx->drm_state;
85 free(ctx->drm_state);
86 ctx->drm_state = NULL;
115 VADriverContextP const ctx = pDisplayContext->pDriverContext; local
136 ctx->drm_state = drm_state;
147 wl_emgd_ctx->registry = wl_display_get_registry(ctx->native_dpy);
149 wl_display_roundtrip(ctx->native_dpy);
/hardware/intel/common/libva/va/x11/
H A Ddri1_util.c25 dri1CreateDrawable(VADriverContextP ctx, XID x_drawable) argument
40 dri1DestroyDrawable(VADriverContextP ctx, struct dri_drawable *dri_drawable) argument
46 dri1SwapBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) argument
52 dri1GetRenderingBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) argument
60 dri1Close(VADriverContextP ctx) argument
62 struct dri_state *dri_state = (struct dri_state *)ctx->drm_state;
64 free_drawable_hashtable(ctx);
65 VA_DRIDestroyContext(ctx->native_dpy, ctx->x11_screen, dri_state->hwContextID);
70 VA_DRICloseConnection(ctx
74 isDRI1Connected(VADriverContextP ctx, char **driver_name) argument
[all...]
H A Dva_dricommon.c62 do_drawable_hash(VADriverContextP ctx, XID drawable) argument
64 struct dri_state *dri_state = (struct dri_state *)ctx->drm_state;
74 dri_drawable = dri_state->createDrawable(ctx, drawable);
76 dri_drawable->is_window = is_window(ctx->native_dpy, drawable);
84 free_drawable(VADriverContextP ctx, struct dri_drawable* dri_drawable) argument
86 struct dri_state *dri_state = (struct dri_state *)ctx->drm_state;
91 dri_state->destroyDrawable(ctx, dri_drawable);
98 free_drawable_hashtable(VADriverContextP ctx) argument
100 struct dri_state *dri_state = (struct dri_state *)ctx->drm_state;
110 dri_state->destroyDrawable(ctx, pre
118 dri_get_drawable(VADriverContextP ctx, XID drawable) argument
124 dri_swap_buffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) argument
132 dri_get_rendering_buffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dmd5_utils.c51 MD5Init(struct MD5Context *ctx) { argument
52 ctx->buf[0] = 0x67452301;
53 ctx->buf[1] = 0xefcdab89;
54 ctx->buf[2] = 0x98badcfe;
55 ctx->buf[3] = 0x10325476;
57 ctx->bytes[0] = 0;
58 ctx->bytes[1] = 0;
66 MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) { argument
71 t = ctx->bytes[0];
73 if ((ctx
108 MD5Final(md5byte digest[16], struct MD5Context *ctx) argument
[all...]
/hardware/intel/img/psb_video/src/android/
H A Dpsb_HDMIExtMode.c34 #define INIT_DRIVER_DATA psb_driver_data_p driver_data = (psb_driver_data_p) ctx->pDriverData
63 VAStatus psb_HDMIExt_update(VADriverContextP ctx, psb_HDMIExt_info_p psb_HDMIExt_info) argument
131 psb_HDMIExt_info_p psb_HDMIExt_init(VADriverContextP ctx, psb_android_output_p output) argument
205 if (psb_HDMIExt_update(ctx, psb_HDMIExt_info))

Completed in 358 milliseconds

123456789