Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstdiscoverer.c75 GstDiscoverer *dc; member
151 #define DISCO_LOCK(dc) g_mutex_lock (&dc->priv->lock); argument
152 #define DISCO_UNLOCK(dc) g_mutex_unlock (&dc->priv->lock); argument
193 static void gst_discoverer_set_timeout (GstDiscoverer * dc,
195 static gboolean async_timeout_cb (GstDiscoverer * dc);
198 GstDiscoverer * dc);
200 GstDiscoverer * dc);
202 GstPad * pad, GstDiscoverer * dc);
204 GstDiscoverer * dc);
206 GParamSpec * pspec, GstDiscoverer * dc);
[all …]
/third_party/openssl/crypto/evp/
Dnames.c105 struct doall_cipher *dc = arg; in do_all_cipher_fn() local
107 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
109 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
116 struct doall_cipher dc; in EVP_CIPHER_do_all() local
121 dc.fn = fn; in EVP_CIPHER_do_all()
122 dc.arg = arg; in EVP_CIPHER_do_all()
123 OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, do_all_cipher_fn, &dc); in EVP_CIPHER_do_all()
130 struct doall_cipher dc; in EVP_CIPHER_do_all_sorted() local
135 dc.fn = fn; in EVP_CIPHER_do_all_sorted()
136 dc.arg = arg; in EVP_CIPHER_do_all_sorted()
[all …]
/third_party/FreeBSD/sys/kern/
Dsubr_bus.c133 static void print_devclass_short(devclass_t dc, int indent);
134 static void print_devclass(devclass_t dc, int indent);
291 devclass_t dc; in devclass_find_internal() local
297 TAILQ_FOREACH(dc, &devclasses, link) { in devclass_find_internal()
298 if (!strcmp(dc->name, classname)) in devclass_find_internal()
302 if (create && !dc) { in devclass_find_internal()
303 dc = bsd_malloc(sizeof(struct devclass) + strlen(classname) + 1, in devclass_find_internal()
305 if (!dc) in devclass_find_internal()
307 dc->parent = NULL; in devclass_find_internal()
308 dc->name = (char*) (dc + 1); in devclass_find_internal()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Ddiscoverer.c37 GstDiscoverer *dc; in GST_START_TEST() local
39 dc = gst_discoverer_new (GST_SECOND, &err); in GST_START_TEST()
40 fail_unless (dc != NULL); in GST_START_TEST()
43 g_object_unref (dc); in GST_START_TEST()
51 GstDiscoverer *dc; in GST_START_TEST() local
60 dc = gst_discoverer_new (30 * GST_SECOND, &err); in GST_START_TEST()
61 fail_unless (dc != NULL); in GST_START_TEST()
68 info = gst_discoverer_discover_uri (dc, uri, &err); in GST_START_TEST()
103 g_object_unref (dc); in GST_START_TEST()
112 GstDiscoverer *dc; in GST_START_TEST() local
[all …]
/third_party/ffmpeg/libavformat/
Ddata_uri.c35 DataContext *dc = h->priv_data; in data_open() local
83 dc->data = dc->tofree = ddata; in data_open()
84 dc->size = ret; in data_open()
86 dc->data = data; in data_open()
87 dc->size = in_size; in data_open()
94 DataContext *dc = h->priv_data; in data_close() local
96 av_freep(&dc->tofree); in data_close()
102 DataContext *dc = h->priv_data; in data_read() local
104 if (dc->pos >= dc->size) in data_read()
106 size = FFMIN(size, dc->size - dc->pos); in data_read()
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dvp8dsp_mmi.c969 void ff_vp8_luma_dc_wht_mmi(int16_t block[4][4][16], int16_t dc[16]) in ff_vp8_luma_dc_wht_mmi()
976 MMI_LDC1(%[ftmp0], %[dc], 0x00) in ff_vp8_luma_dc_wht_mmi()
977 MMI_LDC1(%[ftmp1], %[dc], 0x08) in ff_vp8_luma_dc_wht_mmi()
978 MMI_LDC1(%[ftmp2], %[dc], 0x10) in ff_vp8_luma_dc_wht_mmi()
979 MMI_LDC1(%[ftmp3], %[dc], 0x18) in ff_vp8_luma_dc_wht_mmi()
988 MMI_SDC1(%[ftmp0], %[dc], 0x00) in ff_vp8_luma_dc_wht_mmi()
989 MMI_SDC1(%[ftmp1], %[dc], 0x08) in ff_vp8_luma_dc_wht_mmi()
990 MMI_SDC1(%[ftmp2], %[dc], 0x10) in ff_vp8_luma_dc_wht_mmi()
991 MMI_SDC1(%[ftmp3], %[dc], 0x18) in ff_vp8_luma_dc_wht_mmi()
998 : [dc]"r"((uint8_t*)dc) in ff_vp8_luma_dc_wht_mmi()
[all …]
/third_party/libexif/libexif/canon/
Dexif-mnote-data-canon.c67 exif_mnote_data_canon_get_tags (ExifMnoteDataCanon *dc, unsigned int n, in exif_mnote_data_canon_get_tags() argument
72 if (!dc || !m) return; in exif_mnote_data_canon_get_tags()
73 for (*m = 0; *m < dc->count; (*m)++) { in exif_mnote_data_canon_get_tags()
74 to = from + mnote_canon_entry_count_values (&dc->entries[*m]); in exif_mnote_data_canon_get_tags()
86 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) note; in exif_mnote_data_canon_get_value() local
89 if (!dc) return NULL; in exif_mnote_data_canon_get_value()
90 exif_mnote_data_canon_get_tags (dc, n, &m, &s); in exif_mnote_data_canon_get_value()
91 if (m >= dc->count) return NULL; in exif_mnote_data_canon_get_value()
92 return mnote_canon_entry_get_value (&dc->entries[m], s, val, maxlen); in exif_mnote_data_canon_get_value()
329 ExifMnoteDataCanon *dc = (ExifMnoteDataCanon *) n; in exif_mnote_data_canon_count() local
[all …]
/third_party/boost/libs/geometry/example/with_external_libs/
Dx04_wxwidgets_world_mapper.cpp158 void DrawCountries(wxDC& dc);
159 void DrawCountry(wxDC& dc, country_type const& country);
263 wxClientDC dc(this); in OnMouseMove() local
264 PrepareDC(dc); in OnMouseMove()
265 m_owner->PrepareDC(dc); in OnMouseMove()
290 dc.SetBrush(*wxWHITE_BRUSH); in OnMouseMove()
291 DrawCountry(dc, m_countries[previous_focus]); in OnMouseMove()
296 dc.SetBrush(m_orange); in OnMouseMove()
297 DrawCountry(dc, m_countries[m_focus]); in OnMouseMove()
315 wxDC& dc = (wxDC&) gdc; in OnPaint() local
[all …]
/third_party/flutter/skia/tools/sk_app/win/
DGLWindowContext_win.cpp67 HDC dc = GetDC(fHWND); in onInitializeContext() local
69 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
76 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in onInitializeContext()
81 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
87 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
95 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
102 int pixelFormat = GetPixelFormat(dc); in onInitializeContext()
104 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); in onInitializeContext()
108 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
110 extensions.getPixelFormatAttribiv(dc, in onInitializeContext()
[all …]
/third_party/skia/tools/sk_app/win/
DGLWindowContext_win.cpp67 HDC dc = GetDC(fHWND); in onInitializeContext() local
69 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
76 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in onInitializeContext()
81 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
87 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
95 if (wglMakeCurrent(dc, fHGLRC)) { in onInitializeContext()
102 int pixelFormat = GetPixelFormat(dc); in onInitializeContext()
104 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); in onInitializeContext()
108 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
110 extensions.getPixelFormatAttribiv(dc, in onInitializeContext()
[all …]
/third_party/ffmpeg/libavfilter/x86/
Dvf_gradfun_init.c29 const uint16_t *dc, int thresh,
32 const uint16_t *dc, int thresh,
36 const uint16_t *buf1, uint16_t *dc,
39 const uint16_t *buf1, uint16_t *dc,
44 const uint16_t *dc, in gradfun_filter_line_mmxext() argument
51 ff_gradfun_filter_line_c(dst + x, src + x, dc + x / 2, in gradfun_filter_line_mmxext()
56 ff_gradfun_filter_line_mmxext(x, dst + width, src + width, dc + width / 2, in gradfun_filter_line_mmxext()
60 static void gradfun_filter_line_ssse3(uint8_t *dst, const uint8_t *src, const uint16_t *dc, in gradfun_filter_line_ssse3() argument
68 ff_gradfun_filter_line_c(dst + x, src + x, dc + x / 2, in gradfun_filter_line_ssse3()
73 ff_gradfun_filter_line_ssse3(x, dst + width, src + width, dc + width / 2, in gradfun_filter_line_ssse3()
[all …]
/third_party/flutter/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp31 auto dc = wglGetCurrentDC(); in context_restorer() local
32 return [glrc, dc] { wglMakeCurrent(dc, glrc); }; in context_restorer()
112 HDC dc; in WinGLTestContext() local
121 dc = fDeviceContext; in WinGLTestContext()
129 dc = fPbufferContext->getDC(); in WinGLTestContext()
134 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
178 HDC dc; in onPlatformMakeCurrent() local
182 dc = fDeviceContext; in onPlatformMakeCurrent()
185 dc = fPbufferContext->getDC(); in onPlatformMakeCurrent()
189 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
[all …]
/third_party/ffmpeg/libavcodec/
Dg2meet.c224 int dc, val, pos; in jpg_decode_block() local
232 dc = get_vlc2(gb, c->dc_vlc[is_chroma].table, 9, 2); in jpg_decode_block()
233 if (dc < 0) in jpg_decode_block()
235 if (dc) in jpg_decode_block()
236 dc = get_xbits(gb, dc); in jpg_decode_block()
237 dc = dc * qmat[0] + c->prev_dc[plane]; in jpg_decode_block()
238 block[0] = dc; in jpg_decode_block()
239 c->prev_dc[plane] = dc; in jpg_decode_block()
479 static inline int is_pixel_on_stack(const ePICContext *dc, uint32_t pix) in is_pixel_on_stack() argument
483 for (i = 0; i < dc->stack_pos; i++) in is_pixel_on_stack()
[all …]
Dvp8dsp.c54 static void vp7_luma_dc_wht_c(int16_t block[4][4][16], int16_t dc[16]) in vp7_luma_dc_wht_c()
61 a1 = (dc[i * 4 + 0] + dc[i * 4 + 2]) * 23170; in vp7_luma_dc_wht_c()
62 b1 = (dc[i * 4 + 0] - dc[i * 4 + 2]) * 23170; in vp7_luma_dc_wht_c()
63 c1 = dc[i * 4 + 1] * 12540 - dc[i * 4 + 3] * 30274; in vp7_luma_dc_wht_c()
64 d1 = dc[i * 4 + 1] * 30274 + dc[i * 4 + 3] * 12540; in vp7_luma_dc_wht_c()
76 AV_ZERO64(dc + i * 4); in vp7_luma_dc_wht_c()
84 static void vp7_luma_dc_wht_dc_c(int16_t block[4][4][16], int16_t dc[16]) in vp7_luma_dc_wht_dc_c()
86 int i, val = (23170 * (23170 * dc[0] >> 14) + 0x20000) >> 18; in vp7_luma_dc_wht_dc_c()
87 dc[0] = 0; in vp7_luma_dc_wht_dc_c()
133 int i, dc = (23170 * (23170 * block[0] >> 14) + 0x20000) >> 18; in vp7_idct_dc_add_c() local
[all …]
Deatgq.c129 ptrdiff_t dst_stride, int dc) in tgq_dconly() argument
131 int level = av_clip_uint8((dc*s->qtable[0] + 2056) >> 4); in tgq_dconly()
138 int mb_x, int mb_y, const int8_t *dc) in tgq_idct_put_mb_dconly() argument
144 tgq_dconly(s, dest_y, linesize, dc[0]); in tgq_idct_put_mb_dconly()
145 tgq_dconly(s, dest_y + 8, linesize, dc[1]); in tgq_idct_put_mb_dconly()
146 tgq_dconly(s, dest_y + 8 * linesize, linesize, dc[2]); in tgq_idct_put_mb_dconly()
147 tgq_dconly(s, dest_y + 8 * linesize + 8, linesize, dc[3]); in tgq_idct_put_mb_dconly()
149 tgq_dconly(s, dest_cb, frame->linesize[1], dc[4]); in tgq_idct_put_mb_dconly()
150 tgq_dconly(s, dest_cr, frame->linesize[2], dc[5]); in tgq_idct_put_mb_dconly()
158 int8_t dc[6]; in tgq_decode_mb() local
[all …]
Dvc1dsp.c247 int dc = block[0]; in vc1_inv_trans_8x8_dc_c() local
249 dc = (3 * dc + 1) >> 1; in vc1_inv_trans_8x8_dc_c()
250 dc = (3 * dc + 16) >> 5; in vc1_inv_trans_8x8_dc_c()
253 dest[0] = av_clip_uint8(dest[0] + dc); in vc1_inv_trans_8x8_dc_c()
254 dest[1] = av_clip_uint8(dest[1] + dc); in vc1_inv_trans_8x8_dc_c()
255 dest[2] = av_clip_uint8(dest[2] + dc); in vc1_inv_trans_8x8_dc_c()
256 dest[3] = av_clip_uint8(dest[3] + dc); in vc1_inv_trans_8x8_dc_c()
257 dest[4] = av_clip_uint8(dest[4] + dc); in vc1_inv_trans_8x8_dc_c()
258 dest[5] = av_clip_uint8(dest[5] + dc); in vc1_inv_trans_8x8_dc_c()
259 dest[6] = av_clip_uint8(dest[6] + dc); in vc1_inv_trans_8x8_dc_c()
[all …]
/third_party/flutter/skia/src/utils/win/
DSkWGL_win.cpp18 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() argument
25 const char* extensionString = this->getExtensionsString(dc); in hasExtension()
127 HDC dc, in selectFormat() argument
143 this->getPixelFormatAttribiv(dc, in selectFormat()
303 static void get_pixel_formats_to_try(HDC dc, const SkWGLExtensions& extensions, in get_pixel_formats_to_try() argument
331 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try()
338 extensions.choosePixelFormat(dc, msaaIAttrs.begin(), fAttrs, 64, formats, &num); in get_pixel_formats_to_try()
340 formatsToTry[0] = extensions.selectFormat(formats, num, dc, msaaSampleCount); in get_pixel_formats_to_try()
347 extensions.choosePixelFormat(dc, iAttrs.begin(), fAttrs, 1, format, &num); in get_pixel_formats_to_try()
350 static HGLRC create_gl_context(HDC dc, const SkWGLExtensions& extensions, in create_gl_context() argument
[all …]
/third_party/skia/src/utils/win/
DSkWGL_win.cpp18 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() argument
25 const char* extensionString = this->getExtensionsString(dc); in hasExtension()
127 HDC dc, in selectFormat() argument
143 this->getPixelFormatAttribiv(dc, in selectFormat()
310 static void get_pixel_formats_to_try(HDC dc, const SkWGLExtensions& extensions, in get_pixel_formats_to_try() argument
338 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try()
345 extensions.choosePixelFormat(dc, msaaIAttrs.begin(), fAttrs, 64, formats, &num); in get_pixel_formats_to_try()
347 formatsToTry[0] = extensions.selectFormat(formats, num, dc, msaaSampleCount); in get_pixel_formats_to_try()
354 extensions.choosePixelFormat(dc, iAttrs.begin(), fAttrs, 1, format, &num); in get_pixel_formats_to_try()
357 static HGLRC create_gl_context(HDC dc, const SkWGLExtensions& extensions, in create_gl_context() argument
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_gradfun.c58 void ff_gradfun_filter_line_c(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int … in ff_gradfun_filter_line_c() argument
61 for (x = 0; x < width; dc += x & 1, x++) { in ff_gradfun_filter_line_c()
63 int delta = dc[0] - pix; in ff_gradfun_filter_line_c()
72 void ff_gradfun_blur_line_c(uint16_t *dc, uint16_t *buf, const uint16_t *buf1, const uint8_t *src, … in ff_gradfun_blur_line_c() argument
79 dc[x] = v - old; in ff_gradfun_blur_line_c()
88 uint16_t *dc = ctx->buf + 16; in filter() local
92 memset(dc, 0, (bstride + 16) * sizeof(*buf)); in filter()
94 …ctx->blur_line(dc, buf + y * bstride, buf + (y - 1) * bstride, src + 2 * y * src_linesize, src_lin… in filter()
101 ctx->blur_line(dc, buf0, buf1, src + (y + r) * src_linesize, src_linesize, width / 2); in filter()
103 v += dc[x]; in filter()
[all …]
Daf_adenorm.c81 const float dc = s->level; in dc_denorm_fltp() local
84 dst[n] = src[n] + dc; in dc_denorm_fltp()
94 const double dc = s->level; in dc_denorm_dblp() local
97 dst[n] = src[n] + dc; in dc_denorm_dblp()
107 const float dc = s->level; in ac_denorm_fltp() local
111 dst[n] = src[n] + dc * (((N + n) & 1) ? -1.f : 1.f); in ac_denorm_fltp()
121 const double dc = s->level; in ac_denorm_dblp() local
125 dst[n] = src[n] + dc * (((N + n) & 1) ? -1. : 1.); in ac_denorm_dblp()
135 const float dc = s->level; in sq_denorm_fltp() local
139 dst[n] = src[n] + dc * ((((N + n) >> 8) & 1) ? -1.f : 1.f); in sq_denorm_fltp()
[all …]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dtest-conversions.cc46 DoubleToStringConverter dc(flags, NULL, NULL, 'e', -6, 21, 0, 0); in TEST() local
48 CHECK(dc.ToShortest(0.0, &builder)); in TEST()
52 CHECK(dc.ToShortest(12345.0, &builder)); in TEST()
56 CHECK(dc.ToShortest(12345e23, &builder)); in TEST()
60 CHECK(dc.ToShortest(1e21, &builder)); in TEST()
64 CHECK(dc.ToShortest(1e-23, &builder)); in TEST()
68 CHECK(dc.ToShortest(1e20, &builder)); in TEST()
72 CHECK(dc.ToShortest(111111111111111111111.0, &builder)); in TEST()
76 CHECK(dc.ToShortest(1111111111111111111111.0, &builder)); in TEST()
80 CHECK(dc.ToShortest(11111111111111111111111.0, &builder)); in TEST()
[all …]
/third_party/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp32 auto dc = wglGetCurrentDC(); in context_restorer() local
33 return [glrc, dc] { wglMakeCurrent(dc, glrc); }; in context_restorer()
114 HDC dc; in WinGLTestContext() local
123 dc = fDeviceContext; in WinGLTestContext()
131 dc = fPbufferContext->getDC(); in WinGLTestContext()
136 if (!(wglMakeCurrent(dc, glrc))) { in WinGLTestContext()
193 HDC dc; in onPlatformMakeCurrent() local
197 dc = fDeviceContext; in onPlatformMakeCurrent()
200 dc = fPbufferContext->getDC(); in onPlatformMakeCurrent()
204 if (!wglMakeCurrent(dc, glrc)) { in onPlatformMakeCurrent()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dynamic_indexing.c69 struct dIndexing_transform_context *dc = dIndexing_transform_context(ctx); in dIndexing_decl() local
76 dc->orig_num_tmp = decl->Range.Last; in dIndexing_decl()
81 dc->const_buf_range[decl->Dim.Index2D] = decl->Range.Last; in dIndexing_decl()
109 struct dIndexing_transform_context *dc = dIndexing_transform_context(ctx); in remove_dynamic_indexes() local
111 int tmp_loopIdx = dc->orig_num_tmp + 1; in remove_dynamic_indexes()
112 int tmp_cond = dc->orig_num_tmp + 2; in remove_dynamic_indexes()
113 int tmp_arrayIdx = dc->orig_num_tmp + 3; in remove_dynamic_indexes()
114 int imm_index = dc->orig_num_imm; in remove_dynamic_indexes()
161 for (i = 0; i < dc->num_iterations; i++) { in remove_dynamic_indexes()
180 (reg->Register.Index > dc->const_buf_range[i]))) { in remove_dynamic_indexes()
[all …]
/third_party/optimized-routines/math/tools/
Dremez.jl738 nc, dc, e1 = try_e(e0)
743 return nc, dc
752 nc, dc, e2 = try_e(e1)
760 nc, dc, enew = try_e(emid)
769 return nc, dc
826 (nc, dc) = ratfn_leastsquares(f, grid, n, d, w)
828 ratfn_to_string(nc, dc))
849 approx_y = ratfn_eval(nc, dc, x)
867 return nc, dc, max_err, extrema
872 (nc, dc) = ratfn_equal_deviation(f, map(x->x[1], extrema),
[all …]
/third_party/boost/libs/function_types/test/custom_ccs/
Dmember_ccs_exact.cpp24 typedef ft::default_cc dc; typedef
45 ft::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C &> >::type, dc >
49 ft::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C &>, cc>::type, dc >
53 ft::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C const &>, cc>::type, dc >
57 …t::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C volatile &>, cc>::type, dc >
61 …callable_builtin< ft::member_function_pointer<mpl::vector<int, C const volatile &>, cc>::type, dc >
69 ft::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C &>, cc>::type, dc >

12345678910>>...17