Home
last modified time | relevance | path

Searched refs:_context (Results 1 – 25 of 65) sorted by relevance

123

/external/libxcam/xcore/
Ddynamic_analyzer.cpp29 , _context (NULL) in DynamicAnalyzer()
44 XCAM_ASSERT (!_context); in create_context()
49 _context = context; in create_context()
56 if (_context && _desc && _desc->destroy_context) { in destroy_context()
57 _desc->destroy_context (_context); in destroy_context()
58 _context = NULL; in destroy_context()
65 XCAM_ASSERT (_context); in analyze_ae()
66 return _desc->analyze_ae (_context, &param); in analyze_ae()
72 XCAM_ASSERT (_context); in analyze_awb()
73 return _desc->analyze_awb (_context, &param); in analyze_awb()
[all …]
Dsmart_analysis_handler.cpp37 , _context (NULL) in SmartAnalysisHandler()
59 XCAM_ASSERT (!_context); in create_context()
75 _context = context; in create_context()
85 context = _context; in destroy_context()
86 _context = NULL; in destroy_context()
142 XCAM_ASSERT (_context); in update_params()
143 ret = _desc->update_params (_context, &params); in update_params()
162 XCAM_ASSERT (_context); in analyze()
166 ret = _desc->analyze (_context, video_buffer, res_array, &res_count); in analyze()
180 _desc->free_results (_context, res_array, res_count); in analyze()
Dsmart_analysis_handler.h52 return (_context != NULL); in is_valid()
87 XCamSmartAnalysisContext *_context; variable
/external/libxcam/modules/ocl/
Dcl_kernel.cpp52 , _context (context) in CLKernel()
76 _context->destroy_kernel_id (_kernel_id); in destroy()
251 XCAM_ASSERT (_context.ptr ()); in load_from_source()
257 _context->generate_kernel_id ( in load_from_source()
289 XCAM_ASSERT (_context.ptr ()); in load_from_binary()
292 _context->generate_kernel_id ( in load_from_binary()
449 XCAM_ASSERT (_context.ptr ()); in execute()
460 XCamReturn ret = _context->execute_kernel (self, NULL, events, kernel_event); in execute()
470 _context->finish (); in execute()
475 ret = _context->set_event_callback (kernel_event, CL_COMPLETE, event_notify, user_data); in execute()
[all …]
Dcv_context.h41 return _context; in get_cl_context()
54 SmartPtr<CLContext> _context; variable
Dcl_image_processor.cpp83 _context = CLDevice::instance ()->get_context (); in CLImageProcessor()
84 XCAM_ASSERT (_context.ptr()); in CLImageProcessor()
130 return _context; in get_cl_context()
360 demo_handler = create_cl_demo_image_handler (_context); in create_handlers()
Dcv_context.cpp47 _context = CLDevice::instance()->get_context(); in init_opencv_ocl()
51 cl_context _context_id = _context->get_context_id (); in init_opencv_ocl()
Dcl_kernel.h84 return _context; in get_context()
133 SmartPtr<CLContext> _context; variable
Dcl_image_bo_buffer.cpp82 , _context (context) in CLBoBufferPool()
110 image = new CLImage2D (_context, info, CL_MEM_READ_WRITE); in create_image_bo()
112 image = new CLImage2DArray (_context, info, CL_MEM_READ_WRITE, extra_array_size); in create_image_bo()
Dcl_image_handler.h86 return _context; in get_context()
158 SmartPtr<CLContext> _context; variable
/external/webrtc/webrtc/modules/video_render/ios/
Dvideo_render_ios_view.mm21 EAGLContext* _context;
92 _context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
94 if (!_context) {
98 if (![EAGLContext setCurrentContext:_context]) {
109 [_context renderbufferStorage:GL_RENDERBUFFER
133 if (![_context presentRenderbuffer:GL_RENDERBUFFER]) {
146 if (![EAGLContext setCurrentContext:_context]) {
/external/python/cpython2/Lib/
Dssl.py369 _context=self)
542 _context=None): argument
545 if _context:
546 self._context = _context
555 self._context = SSLContext(ssl_version)
556 self._context.verify_mode = cert_reqs
558 self._context.load_verify_locations(ca_certs)
560 self._context.load_cert_chain(certfile, keyfile)
562 self._context.set_npn_protocols(npn_protocols)
564 self._context.set_ciphers(ciphers)
[all …]
/external/mesa3d/src/gallium/drivers/trace/
Dtr_context.c1373 trace_context_transfer_map(struct pipe_context *_context, in trace_context_transfer_map() argument
1380 struct trace_context *tr_context = trace_context(_context); in trace_context_transfer_map()
1406 trace_context_transfer_flush_region( struct pipe_context *_context, in trace_context_transfer_flush_region() argument
1410 struct trace_context *tr_context = trace_context(_context); in trace_context_transfer_flush_region()
1419 trace_context_transfer_unmap(struct pipe_context *_context, in trace_context_transfer_unmap() argument
1422 struct trace_context *tr_ctx = trace_context(_context); in trace_context_transfer_unmap()
1472 trace_context_buffer_subdata(struct pipe_context *_context, in trace_context_buffer_subdata() argument
1477 struct trace_context *tr_context = trace_context(_context); in trace_context_buffer_subdata()
1501 trace_context_texture_subdata(struct pipe_context *_context, in trace_context_texture_subdata() argument
1510 struct trace_context *tr_context = trace_context(_context); in trace_context_texture_subdata()
[all …]
/external/skqp/experimental/canvaskit/htmlcanvas/
Dhtmlcanvas.js11 this._context = new CanvasRenderingContext2D(skSurface.getCanvas());
44 return this._context;
75 this._context._dispose();
/external/skia/modules/canvaskit/htmlcanvas/
Dhtmlcanvas.js11 this._context = new CanvasRenderingContext2D(skSurface.getCanvas());
44 return this._context;
75 this._context._dispose();
/external/python/cpython3/Lib/asyncio/
Dtasks.py114 self._context = contextvars.copy_context()
116 self._loop.call_soon(self.__step, context=self._context)
249 self.__step, new_exc, context=self._context)
255 self.__step, new_exc, context=self._context)
259 self.__wakeup, context=self._context)
269 self.__step, new_exc, context=self._context)
273 self._loop.call_soon(self.__step, context=self._context)
280 self.__step, new_exc, context=self._context)
285 self.__step, new_exc, context=self._context)
/external/webrtc/webrtc/api/objc/
DRTCOpenGLVideoRenderer.mm146 EAGLContext *_context;
148 NSOpenGLContext *_context;
183 _context = context;
209 [_context flushBuffer];
253 NSAssert(_context, @"context shouldn't be nil");
255 if ([EAGLContext currentContext] != _context) {
256 [EAGLContext setCurrentContext:_context];
259 if ([NSOpenGLContext currentContext] != _context) {
260 [_context makeCurrentContext];
373 BOOL hasUnpackRowLength = _context.API == kEAGLRenderingAPIOpenGLES3;
/external/parameter-framework/upstream/tools/xmlGenerator/
DEddParser.py78 self._context = {
86 self._context = propagationContext
90 contextCopy = self._context.copy()
92 for key in iter(self._context) :
98 return self._context["DomainOptions"]
101 return self._context["Configurations"]
104 return self._context["ConfigurationOptions"]
107 return self._context["Rules"]
110 return self._context["PathOptions"]
/external/tensorflow/tensorflow/python/eager/
Dops_test.py276 del context._context
277 context._context = context.Context()
284 del context._context
285 context._context = context.Context()
293 del context._context
294 context._context = context.Context()
303 del context._context
304 context._context = context.Context()
Dcontext.py882 _context = None variable
887 global _context
889 if _context is None:
890 _context = Context()
895 if _context is None:
897 return _context
902 return _context
/external/webrtc/talk/app/webrtc/objc/
DRTCOpenGLVideoRenderer.mm167 EAGLContext* _context;
169 NSOpenGLContext* _context;
202 _context = context;
228 [_context flushBuffer];
272 NSAssert(_context, @"context shouldn't be nil");
274 if ([EAGLContext currentContext] != _context) {
275 [EAGLContext setCurrentContext:_context];
278 if ([NSOpenGLContext currentContext] != _context) {
279 [_context makeCurrentContext];
391 BOOL hasUnpackRowLength = _context.API == kEAGLRenderingAPIOpenGLES3;
/external/tensorflow/tensorflow/python/summary/
Dsummary.py39 from tensorflow.python.eager import context as _context unknown
363 if _context.executing_eagerly():
398 if _context.executing_eagerly():
/external/compiler-rt/lib/asan/scripts/
Dasan_device_setup381 local _context=$4
383 echo "Installing $_to/$_basename $_mode $_context"
389 if [[ -n "$_context" ]]; then
390 adb_shell chcon "$_context" "$_to/$_basename"
/external/libchrome/third_party/jinja2/
Dasyncsupport.py85 rv = await concat_async(self._stack[self._depth](self._context))
86 if self._context.eval_ctx.autoescape:
92 if not self._context.environment.is_async:
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_context.c1070 rbug_context_transfer_map(struct pipe_context *_context, in rbug_context_transfer_map() argument
1077 struct rbug_context *rb_pipe = rbug_context(_context); in rbug_context_transfer_map()
1097 rbug_context_transfer_flush_region(struct pipe_context *_context, in rbug_context_transfer_flush_region() argument
1101 struct rbug_context *rb_pipe = rbug_context(_context); in rbug_context_transfer_flush_region()
1115 rbug_context_transfer_unmap(struct pipe_context *_context, in rbug_context_transfer_unmap() argument
1118 struct rbug_context *rb_pipe = rbug_context(_context); in rbug_context_transfer_unmap()
1133 rbug_context_buffer_subdata(struct pipe_context *_context, in rbug_context_buffer_subdata() argument
1138 struct rbug_context *rb_pipe = rbug_context(_context); in rbug_context_buffer_subdata()
1150 rbug_context_texture_subdata(struct pipe_context *_context, in rbug_context_texture_subdata() argument
1159 struct rbug_context *rb_pipe = rbug_context(_context); in rbug_context_texture_subdata()

123