/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_chipset.c | 34 void r300_parse_chipset(uint32_t pci_id, struct r300_capabilities* caps) in r300_parse_chipset() argument 39 caps->family = CHIP_FAMILY_##chipfamily; \ in r300_parse_chipset() 51 caps->high_second_pipe = FALSE; in r300_parse_chipset() 52 caps->num_vert_fpus = 0; in r300_parse_chipset() 53 caps->hiz_ram = 0; in r300_parse_chipset() 54 caps->zmask_ram = 0; in r300_parse_chipset() 57 switch (caps->family) { in r300_parse_chipset() 60 caps->high_second_pipe = TRUE; in r300_parse_chipset() 61 caps->num_vert_fpus = 4; in r300_parse_chipset() 62 caps->hiz_ram = R300_HIZ_LIMIT; in r300_parse_chipset() [all …]
|
D | r300_screen.c | 80 return chip_families[r300screen->caps.family]; in r300_get_name() 86 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param() 118 return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1; in r300_get_param() 157 return !r300screen->caps.has_tcl; in r300_get_param() 163 return r300screen->caps.has_tcl; in r300_get_param() 167 return r300screen->caps.num_tex_units; in r300_get_param() 184 boolean is_r400 = r300screen->caps.is_r400; in r300_get_shader_param() 185 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param() 219 return r300screen->caps.num_tex_units; in r300_get_shader_param() 242 if (!r300screen->caps.has_tcl) { in r300_get_shader_param() [all …]
|
D | r300_context.c | 112 if (!r300->screen->caps.has_tcl) { in r300_destroy_context() 144 boolean is_rv350 = r300->screen->caps.is_rv350; in r300_setup_atoms() 145 boolean is_r500 = r300->screen->caps.is_r500; in r300_setup_atoms() 146 boolean has_tcl = r300->screen->caps.has_tcl; in r300_setup_atoms() 199 R300_INIT_ATOM(hiz_clear, r300->screen->caps.hiz_ram > 0 ? 4 : 0); in r300_setup_atoms() 201 R300_INIT_ATOM(zmask_clear, r300->screen->caps.zmask_ram > 0 ? 4 : 0); in r300_setup_atoms() 228 if (!r300->screen->caps.has_tcl) { in r300_setup_atoms() 301 if (r300->screen->caps.is_r500) { in r300_init_states() 319 if (r300->screen->caps.is_rv350) { in r300_init_states() 324 if (r300->screen->caps.is_r500) { in r300_init_states() [all …]
|
/external/avahi/avahi-daemon/ |
D | caps.c | 37 cap_t caps; in avahi_caps_reduce() local 44 caps = cap_init(); in avahi_caps_reduce() 45 assert(caps); in avahi_caps_reduce() 46 cap_clear(caps); in avahi_caps_reduce() 48 cap_set_flag(caps, CAP_EFFECTIVE, 3, cap_values, CAP_SET); in avahi_caps_reduce() 49 cap_set_flag(caps, CAP_PERMITTED, 3, cap_values, CAP_SET); in avahi_caps_reduce() 51 if (cap_set_proc(caps) < 0) { in avahi_caps_reduce() 55 cap_free(caps); in avahi_caps_reduce() 68 cap_t caps; in avahi_caps_reduce2() local 81 caps = cap_init(); in avahi_caps_reduce2() [all …]
|
/external/skia/src/gpu/ |
D | GrXferProcessor.cpp | 39 const GrCaps& caps) const { in getOptimizations() 43 caps); in getOptimizations() 71 void GrXferProcessor::getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in getGLSLProcessorKey() argument 85 this->onGetGLSLProcessorKey(caps, b); in getGLSLProcessorKey() 89 const GrCaps& caps) const { in xferBarrierType() 93 SkASSERT(caps.textureBarrierSupport()); in xferBarrierType() 96 return this->onXferBarrier(rt, caps); in xferBarrierType() 198 const GrCaps& caps) const { in createXferProcessor() 200 if (this->willReadDstColor(caps, optimizations, hasMixedSamples)) { in createXferProcessor() 201 if (!caps.shaderCaps()->dstReadInShaderSupport()) { in createXferProcessor() [all …]
|
D | GrGpu.cpp | 60 const GrCaps& caps = *this->caps(); in makeCopyForTextureParams() local 61 if (textureParams.isTiled() && !caps.npotTextureTileSupport() && in makeCopyForTextureParams() 95 if (!this->caps()->isConfigTexturable(desc.fConfig)) { in createTexture() 100 if (isRT && !this->caps()->isConfigRenderable(desc.fConfig, desc.fSampleCnt > 0)) { in createTexture() 112 int maxRTSize = this->caps()->maxRenderTargetSize(); in createTexture() 117 int maxSize = this->caps()->maxTextureSize(); in createTexture() 127 desc.fSampleCnt = SkTMin(desc.fSampleCnt, this->caps()->maxSampleCount()); in createTexture() 138 if (!this->caps()->npotTextureTileSupport() && in createTexture() 149 if (!this->caps()->reuseScratchTextures() && !isRT) { in createTexture() 163 if (!this->caps()->isConfigTexturable(desc.fConfig)) { in wrapBackendTexture() [all …]
|
D | GrPathRendererChain.cpp | 29 const GrCaps& caps = *context->caps(); in GrPathRendererChain() local 33 caps)) { in GrPathRendererChain() 40 if (caps.shaderCaps()->plsPathRenderingSupport()) { in GrPathRendererChain() 44 this->addPathRenderer(new GrDefaultPathRenderer(caps.twoSidedStencilSupport(), in GrPathRendererChain() 45 caps.stencilWrapOpsSupport()))->unref(); in GrPathRendererChain()
|
D | GrCoordTransform.cpp | 30 const GrShaderCaps* caps = texture->getContext()->caps()->shaderCaps(); in reset() local 31 if (caps->floatPrecisionVaries()) { in reset() 34 info = &caps->getFloatShaderPrecisionInfo(kFragment_GrShaderType, fPrecision); in reset() 46 info = &caps->getFloatShaderPrecisionInfo(kFragment_GrShaderType, nextP); in reset()
|
/external/skia/src/gpu/effects/ |
D | GrCustomXfermode.cpp | 58 const GrCaps& caps) { in can_use_hw_blend_equation() argument 59 if (!caps.advancedBlendEquationSupport()) { in can_use_hw_blend_equation() 68 if (caps.canUseAdvancedBlendEquation(equation)) { in can_use_hw_blend_equation() 109 const GrCaps& caps) const override; 111 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 132 static void GenKey(const GrXferProcessor& p, const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) { in GenKey() argument 136 SkASSERT(caps.advBlendEqInteraction() > 0); // 0 will mean !xp.hasHWBlendEquation(). in GenKey() 137 key |= caps.advBlendEqInteraction(); in GenKey() 140 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey() 189 void CustomXP::onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument [all …]
|
D | GrBezierEffect.h | 64 const GrCaps& caps, 70 if (!caps.shaderCaps()->shaderDerivativeSupport()) { 76 if (!caps.shaderCaps()->shaderDerivativeSupport()) { 106 void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 144 const GrCaps& caps, 150 if (!caps.shaderCaps()->shaderDerivativeSupport()) { 156 if (!caps.shaderCaps()->shaderDerivativeSupport()) { 186 void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 226 const GrCaps& caps) { in Create() argument 229 if (!caps.shaderCaps()->shaderDerivativeSupport()) { in Create() [all …]
|
D | GrPorterDuffXferProcessor.cpp | 360 const GrCaps& caps) const override; 362 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 478 const GrCaps& caps) const { in onGetOptimizations() 527 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 600 const GrCaps& caps) const override; 602 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 633 static void GenKey(const GrProcessor& processor, const GrGLSLCaps& caps, in GenKey() argument 677 void PDLCDXferProcessor::onGetGLSLProcessorKey(const GrGLSLCaps& caps, in onGetGLSLProcessorKey() argument 679 GLPDLCDXferProcessor::GenKey(*this, caps, b); in onGetGLSLProcessorKey() 690 const GrCaps& caps) const { in onGetOptimizations() [all …]
|
D | GrDisableColorXP.cpp | 35 const GrCaps& caps) const override { in onGetOptimizations() 39 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 80 void DisableColorXP::onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument 81 GLDisableColorXP::GenKey(*this, caps, b); in onGetGLSLProcessorKey() 97 GrDisableColorXPFactory::onCreateXferProcessor(const GrCaps& caps, in onCreateXferProcessor() argument
|
/external/libcap/contrib/bug400591/ |
D | bug.c | 13 cap_t caps, caps2; in main() local 18 assert((caps = cap_get_pid(1))); in main() 20 text1 = cap_to_text(caps, NULL); in main() 23 size = cap_size (caps); in main() 29 copy_size = cap_copy_ext (buffer, caps, size); in main() 40 assert(cap_compare(caps, caps2) == 0); in main()
|
/external/opencv3/modules/videoio/src/ |
D | cap_gstreamer.cpp | 152 GstCaps* caps; member in CvCapture_GStreamer 175 caps = NULL; in init() 438 if(!caps || !( GST_IS_CAPS (caps) )) in setFilter() 443 caps = gst_caps_new_simple("video/x-raw-rgb", prop, type, v1, NULL); in setFilter() 445 … caps = gst_caps_new_simple("video/x-raw","format",G_TYPE_STRING,"BGR", prop, type, v1, NULL); in setFilter() 451 caps = gst_caps_new_simple("video/x-raw-rgb", prop, type, v1, v2, NULL); in setFilter() 453 … caps = gst_caps_new_simple("video/x-raw","format",G_TYPE_STRING,"BGR", prop, type, v1, v2, NULL); in setFilter() 460 if (! gst_caps_is_writable(caps)) in setFilter() 461 caps = gst_caps_make_writable (caps); in setFilter() 464 gst_caps_set_simple(caps, prop, type, v1, NULL); in setFilter() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | vgu.c | 60 VGbitfield caps; in vguLine() local 65 caps = vgGetPathCapabilities(path); in vguLine() 66 if (!(caps & VG_PATH_CAPABILITY_APPEND_TO)) { in vguLine() 87 VGbitfield caps; in vguPolygon() local 98 caps = vgGetPathCapabilities(path); in vguPolygon() 99 if (!(caps & VG_PATH_CAPABILITY_APPEND_TO)) { in vguPolygon() 139 VGbitfield caps; in vguRect() local 144 caps = vgGetPathCapabilities(path); in vguRect() 145 if (!(caps & VG_PATH_CAPABILITY_APPEND_TO)) { in vguRect() 182 VGbitfield caps; in vguRoundRect() local [all …]
|
/external/tinycompress/ |
D | compress.c | 143 const struct snd_compr_caps *caps) in _is_codec_supported() argument 148 for (i = 0; i < caps->num_codecs; i++) { in _is_codec_supported() 149 if (caps->codecs[i] == config->codec->id) { in _is_codec_supported() 160 if (config->fragment_size < caps->min_fragment_size) { in _is_codec_supported() 162 config->fragment_size, caps->min_fragment_size); in _is_codec_supported() 165 if (config->fragment_size > caps->max_fragment_size) { in _is_codec_supported() 167 config->fragment_size, caps->max_fragment_size); in _is_codec_supported() 170 if (config->fragments < caps->min_fragments) { in _is_codec_supported() 172 config->fragments, caps->min_fragments); in _is_codec_supported() 175 if (config->fragments > caps->max_fragments) { in _is_codec_supported() [all …]
|
/external/strace/ |
D | ptp.c | 118 struct ptp_clock_caps caps; in ptp_ioctl() local 124 if (umove_or_printaddr(tcp, arg, &caps)) in ptp_ioctl() 128 caps.max_adj, caps.n_alarm, caps.n_ext_ts, in ptp_ioctl() 129 caps.n_per_out, caps.pps); in ptp_ioctl()
|
/external/skia/include/gpu/ |
D | GrXferProcessor.h | 99 void getGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const; 148 const GrCaps& caps) const; 154 GrXferBarrierType xferBarrierType(const GrRenderTarget* rt, const GrCaps& caps) const; 244 const GrCaps& caps) const = 0; 250 virtual void onGetGLSLProcessorKey(const GrGLSLCaps& caps, 307 const GrCaps& caps) const; 326 bool willNeedDstTexture(const GrCaps& caps, const GrPipelineOptimizations& optimizations, 354 virtual GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, 361 bool willReadDstColor(const GrCaps& caps, 368 virtual bool onWillReadDstColor(const GrCaps& caps,
|
/external/libcap/libcap/ |
D | cap_text.c | 307 static int getstateflags(cap_t caps, int capno) in getstateflags() argument 311 if (isset_cap(caps, capno, CAP_EFFECTIVE)) { in getstateflags() 314 if (isset_cap(caps, capno, CAP_PERMITTED)) { in getstateflags() 317 if (isset_cap(caps, capno, CAP_INHERITABLE)) { in getstateflags() 326 char *cap_to_text(cap_t caps, ssize_t *length_p) in cap_to_text() argument 336 if (!good_cap_t(caps)) { in cap_to_text() 341 switch (caps->head.version) { in cap_to_text() 358 _cap_debugcap("e = ", *caps, CAP_EFFECTIVE); in cap_to_text() 359 _cap_debugcap("i = ", *caps, CAP_INHERITABLE); in cap_to_text() 360 _cap_debugcap("p = ", *caps, CAP_PERMITTED); in cap_to_text() [all …]
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Shell.cpp | 414 VkSurfaceCapabilitiesKHR caps; in resize_swapchain() local 416 ctx_.surface, &caps)); in resize_swapchain() 418 VkExtent2D extent = caps.currentExtent; in resize_swapchain() 425 if (extent.width < caps.minImageExtent.width) in resize_swapchain() 426 extent.width = caps.minImageExtent.width; in resize_swapchain() 427 else if (extent.width > caps.maxImageExtent.width) in resize_swapchain() 428 extent.width = caps.maxImageExtent.width; in resize_swapchain() 430 if (extent.height < caps.minImageExtent.height) in resize_swapchain() 431 extent.height = caps.minImageExtent.height; in resize_swapchain() 432 else if (extent.height > caps.maxImageExtent.height) in resize_swapchain() [all …]
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_is_capture_device.cc | 23 v4l2_capability caps; in main() local 24 if (!v4l2_dev.ProbeCaps(&caps, false)) { in main() 28 is_capture_device = ((caps.capabilities & V4L2_CAP_VIDEO_CAPTURE) && in main() 29 !(caps.capabilities & V4L2_CAP_VIDEO_OUTPUT)); in main()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_encoder.c | 40 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_enc_init_ver() 43 && !(iface->caps & VPX_CODEC_CAP_PSNR)) in vpx_codec_enc_init_ver() 46 && !(iface->caps & VPX_CODEC_CAP_OUTPUT_PARTITION)) in vpx_codec_enc_init_ver() 80 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_enc_init_multi_ver() 83 && !(iface->caps & VPX_CODEC_CAP_PSNR)) in vpx_codec_enc_init_multi_ver() 86 && !(iface->caps & VPX_CODEC_CAP_OUTPUT_PARTITION)) in vpx_codec_enc_init_multi_ver() 163 else if (!(iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_enc_config_default() 212 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_encode() 263 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_get_cx_data() 329 else if (!(ctx->iface->caps & VPX_CODEC_CAP_ENCODER)) in vpx_codec_get_preview_frame() [all …]
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | presenceouttask.cc | 114 std::string caps; in TranslateStatus() local 115 caps.append(s.voice_capability() ? "voice-v1" : ""); in TranslateStatus() 116 caps.append(s.pmuc_capability() ? " pmuc-v1" : ""); in TranslateStatus() 117 caps.append(s.video_capability() ? " video-v1" : ""); in TranslateStatus() 118 caps.append(s.camera_capability() ? " camera-v1" : ""); in TranslateStatus() 120 result->AddAttr(QN_EXT, caps, 1); in TranslateStatus()
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 128 void GrOverdrawFP::onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument 129 GLOverdrawFP::GenKey(*this, caps, b); in onGetGLSLProcessorKey() 158 const GrCaps& caps) const override { in onGetOptimizations() 163 void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override; 203 void OverdrawXP::onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const { in onGetGLSLProcessorKey() argument 204 GLOverdrawXP::GenKey(*this, caps, b); in onGetGLSLProcessorKey() 225 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, in onCreateXferProcessor() argument 232 bool onWillReadDstColor(const GrCaps& caps, in onWillReadDstColor() argument
|
/external/webrtc/talk/media/devices/ |
D | win32devicemanager.cc | 323 WAVEINCAPS caps; in GetWaveDevices() local 324 if (waveInGetDevCaps(i, &caps, sizeof(caps)) == MMSYSERR_NOERROR && in GetWaveDevices() 325 caps.wChannels > 0) { in GetWaveDevices() 326 devs->push_back(Device(rtc::ToUtf8(caps.szPname), in GetWaveDevices() 333 WAVEOUTCAPS caps; in GetWaveDevices() local 334 if (waveOutGetDevCaps(i, &caps, sizeof(caps)) == MMSYSERR_NOERROR && in GetWaveDevices() 335 caps.wChannels > 0) { in GetWaveDevices() 336 devs->push_back(Device(rtc::ToUtf8(caps.szPname), i)); in GetWaveDevices()
|