/third_party/skia/modules/svg/src/ |
D | SkSVGFeLighting.cpp | 39 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 44 ctx, fctx, static_cast<const SkSVGFeDistantLight*>(child.get())); in onMakeImageFilter() 47 ctx, fctx, static_cast<const SkSVGFePointLight*>(child.get())); in onMakeImageFilter() 50 ctx, fctx, static_cast<const SkSVGFeSpotLight*>(child.get())); in onMakeImageFilter() 73 const SkSVGFilterContext& fctx, in resolveXYZ() argument 77 const auto obbt = ctx.transformForCurrentOBB(fctx.primitiveUnits()); in resolveXYZ() 95 const SkSVGFilterContext& fctx, in makeDistantLight() argument 99 this->resolveXYZ(ctx, fctx, dir.fX, dir.fY, dir.fZ), in makeDistantLight() 104 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)), in makeDistantLight() 105 this->resolveFilterSubregion(ctx, fctx)); in makeDistantLight() [all …]
|
D | SkSVGFe.cpp | 15 const SkSVGFilterContext& fctx) const { in makeImageFilter() 16 return this->onMakeImageFilter(ctx, fctx); in makeImageFilter() 20 const SkSVGFilterContext& fctx) const { in resolveBoundaries() 26 return ctx.resolveOBBRect(x, y, w, h, fctx.primitiveUnits()); in resolveBoundaries() 29 static bool AnyIsStandardInput(const SkSVGFilterContext& fctx, in AnyIsStandardInput() argument 44 if (fctx.previousResultIsSourceGraphic()) { in AnyIsStandardInput() 55 const SkSVGFilterContext& fctx) const { in resolveFilterSubregion() 63 if (inputs.empty() || AnyIsStandardInput(fctx, inputs)) { in resolveFilterSubregion() 64 defaultSubregion = fctx.filterEffectsRegion(); in resolveFilterSubregion() 66 defaultSubregion = fctx.filterPrimitiveSubregion(inputs[0]); in resolveFilterSubregion() [all …]
|
D | SkSVGFeDisplacementMap.cpp | 28 const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 29 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 30 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 34 sk_sp<SkImageFilter> in = fctx.resolveInput(ctx, this->getIn()); in onMakeImageFilter() 35 sk_sp<SkImageFilter> in2 = fctx.resolveInput(ctx, this->getIn2(), colorspace); in onMakeImageFilter() 38 if (fctx.primitiveUnits().type() == SkSVGObjectBoundingBoxUnits::Type::kObjectBoundingBox) { in onMakeImageFilter() 39 const auto obbt = ctx.transformForCurrentOBB(fctx.primitiveUnits()); in onMakeImageFilter() 50 const SkSVGFilterContext& fctx) const { in resolveColorspace() 54 return fctx.resolveInputColorspace(ctx, this->getIn()); in resolveColorspace()
|
D | SkSVGFilter.cpp | 30 SkSVGFilterContext fctx(ctx.resolveOBBRect(fX, fY, fWidth, fHeight, fFilterUnits), in buildFilterDAG() local 48 const SkRect filterSubregion = feNode.resolveFilterSubregion(localCtx, fctx); in buildFilterDAG() 49 cs = feNode.resolveColorspace(ctx, fctx); in buildFilterDAG() 50 filter = feNode.makeImageFilter(localCtx, fctx); in buildFilterDAG() 53 fctx.registerResult(feResultType, filter, filterSubregion, cs); in buildFilterDAG() 57 fctx.setPreviousResult(filter, filterSubregion, cs); in buildFilterDAG()
|
D | SkSVGFeOffset.cpp | 22 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 24 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter() 27 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)); in onMakeImageFilter() 28 return SkImageFilters::Offset(d.x, d.y, std::move(in), this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
D | SkSVGFeGaussianBlur.cpp | 22 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 24 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter() 28 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)), in onMakeImageFilter() 29 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
D | SkSVGFeMorphology.cpp | 24 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 25 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 26 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 27 sk_sp<SkImageFilter> input = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter() 30 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter()
|
D | SkSVGFeBlend.cpp | 39 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 40 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 42 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 43 const sk_sp<SkImageFilter> background = fctx.resolveInput(ctx, fIn2, colorspace); in onMakeImageFilter() 44 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter()
|
D | SkSVGFeComposite.cpp | 48 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 49 const SkRect cropRect = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 50 const SkSVGColorspace colorspace = this->resolveColorspace(ctx, fctx); in onMakeImageFilter() 51 const sk_sp<SkImageFilter> background = fctx.resolveInput(ctx, fIn2, colorspace); in onMakeImageFilter() 52 const sk_sp<SkImageFilter> foreground = fctx.resolveInput(ctx, this->getIn(), colorspace); in onMakeImageFilter()
|
D | SkSVGFeColorMatrix.cpp | 93 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 96 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)), in onMakeImageFilter() 97 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
D | SkSVGFeImage.cpp | 24 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 26 const SkRect viewport = this->resolveFilterSubregion(ctx, fctx); in onMakeImageFilter() 43 return SkImageFilters::Merge(&imgfilt, 1, fctx.filterEffectsRegion()); in onMakeImageFilter()
|
D | SkSVGFeFlood.cpp | 28 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 30 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
D | SkSVGFeTurbulence.cpp | 62 const SkSVGFilterContext& fctx) const { in onMakeImageFilter() 77 return SkImageFilters::Shader(shader, this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_flush.c | 157 struct debug_flush_ctx *fctx = CALLOC_STRUCT(debug_flush_ctx); in debug_flush_ctx_create() local 159 if (!fctx) in debug_flush_ctx_create() 162 fctx->ref_hash = util_hash_table_create_ptr_keys(); in debug_flush_ctx_create() 164 if (!fctx->ref_hash) in debug_flush_ctx_create() 167 fctx->bt_depth = bt_depth; in debug_flush_ctx_create() 169 list_addtail(&fctx->head, &ctx_list); in debug_flush_ctx_create() 172 return fctx; in debug_flush_ctx_create() 175 FREE(fctx); in debug_flush_ctx_create() 248 struct debug_flush_ctx *fctx; in debug_flush_map() local 251 LIST_FOR_EACH_ENTRY(fctx, &ctx_list, head) { in debug_flush_map() [all …]
|
D | u_debug_flush.h | 86 debug_flush_ctx_destroy(struct debug_flush_ctx *fctx); 115 void debug_flush_might_flush(struct debug_flush_ctx *fctx); 124 void debug_flush_flush(struct debug_flush_ctx *fctx); 134 void debug_flush_cb_reference(struct debug_flush_ctx *fctx,
|
/third_party/ffmpeg/libavcodec/ |
D | pthread_frame.c | 161 static void async_lock(FrameThreadContext *fctx) in async_lock() argument 163 pthread_mutex_lock(&fctx->async_mutex); in async_lock() 164 while (fctx->async_lock) in async_lock() 165 pthread_cond_wait(&fctx->async_cond, &fctx->async_mutex); in async_lock() 166 fctx->async_lock = 1; in async_lock() 167 pthread_mutex_unlock(&fctx->async_mutex); in async_lock() 170 static void async_unlock(FrameThreadContext *fctx) in async_unlock() argument 172 pthread_mutex_lock(&fctx->async_mutex); in async_unlock() 173 av_assert0(fctx->async_lock); in async_unlock() 174 fctx->async_lock = 0; in async_unlock() [all …]
|
/third_party/ffmpeg/tools/ |
D | pktdumper.c | 56 AVFormatContext *fctx = NULL; in main() local 92 err = avformat_open_input(&fctx, argv[1], NULL, NULL); in main() 98 err = avformat_find_stream_info(fctx, NULL); in main() 110 while ((err = av_read_frame(fctx, pkt)) >= 0) { in main() 133 avformat_close_input(&fctx); in main()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 323 MFCTX *fctx = ((JQP_FILTER*) en)->opaque; in _jql_need_deeper_match() local 324 if (!fctx->matched && (fctx->last_lvl == lvl)) { in _jql_need_deeper_match() 339 MFCTX *fctx = ((JQP_FILTER*) en)->opaque; in _jql_reset_expression_node() local 340 fctx->matched = false; in _jql_reset_expression_node() 341 fctx->last_lvl = -1; in _jql_reset_expression_node() 342 for (JQP_NODE *n = fctx->nodes; n; n = n->next) { in _jql_reset_expression_node() 364 MFCTX *fctx = iwpool_calloc(sizeof(*fctx), aux->pool); in _jql_init_expression_node() local 366 if (!fctx) { in _jql_init_expression_node() 369 f->opaque = fctx; in _jql_init_expression_node() 370 fctx->last_lvl = -1; in _jql_init_expression_node() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_coreimage.m | 138 static int query_formats(AVFilterContext *fctx) 152 if ((ret = ff_formats_ref(inout_formats, &fctx->inputs[0]->outcfg.formats)) < 0 || 153 (ret = ff_formats_ref(inout_formats, &fctx->outputs[0]->incfg.formats)) < 0) { 160 static int query_formats_src(AVFilterContext *fctx) 174 if ((ret = ff_formats_ref(inout_formats, &fctx->outputs[0]->incfg.formats)) < 0) { 470 static av_cold int init(AVFilterContext *fctx) 472 CoreImageContext *ctx = fctx->priv; 567 static av_cold int init_src(AVFilterContext *fctx) 569 CoreImageContext *ctx = fctx->priv; 575 return init(fctx); [all …]
|
D | vf_overlay_qsv.c | 165 AVHWFramesContext *fctx; in have_alpha_planar() local 168 fctx = (AVHWFramesContext *)link->hw_frames_ctx->data; in have_alpha_planar() 169 pix_fmt = fctx->sw_format; in have_alpha_planar()
|
D | af_hdcd.c | 976 AVFilterContext *fctx; /**< filter context for logging errors */ member 1079 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_integrate() 1094 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_integrate() 1354 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_control_stereo() 1701 s->fctx = ctx; in init()
|
/third_party/ejdb/src/jbi/ |
D | jbi_selection.c | 423 struct _JBMIDX fctx[JB_SOLID_EXPRNUM] = { 0 }; in jbi_selection() local 437 rc = _jbi_collect_indexes(ctx, aux->expr, fctx, &snp); in jbi_selection() 440 qsort(fctx, snp, sizeof(fctx[0]), _jbi_idx_cmp); in jbi_selection() 441 memcpy(&ctx->midx, &fctx[0], sizeof(ctx->midx)); in jbi_selection()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_context.c | 104 struct debug_flush_ctx *fctx; member 283 debug_flush_flush(vswc->fctx); in vmw_swc_flush() 319 debug_flush_might_flush(vswc->fctx); in vmw_swc_reserve() 418 debug_flush_cb_reference(vswc->fctx, vmw_debug_flush_buf(buffer)); in vmw_swc_region_relocation() 462 debug_flush_cb_reference(vswc->fctx, vmw_debug_flush_buf(buffer)); in vmw_swc_mob_relocation() 682 debug_flush_ctx_destroy(vswc->fctx); in vmw_swc_destroy() 833 vswc->fctx = debug_flush_ctx_create(TRUE, VMW_DEBUG_FLUSH_STACK); in vmw_svga_winsys_context_create()
|
/third_party/ffmpeg/libavformat/ |
D | dv.c | 45 AVFormatContext* fctx; member 238 av_log(c->fctx, AV_LOG_ERROR, in dv_extract_audio_info() 244 av_log(c->fctx, AV_LOG_ERROR, "stype %d is invalid\n", stype); in dv_extract_audio_info() 257 c->ast[i] = avformat_new_stream(c->fctx, NULL); in dv_extract_audio_info() 329 c->fctx = s; in dv_init_demux()
|
/third_party/ffmpeg/doc/examples/ |
D | transcoding.c | 235 static int init_filter(FilteringContext* fctx, AVCodecContext *dec_ctx, in init_filter() argument 373 fctx->buffersrc_ctx = buffersrc_ctx; in init_filter() 374 fctx->buffersink_ctx = buffersink_ctx; in init_filter() 375 fctx->filter_graph = filter_graph; in init_filter()
|