Home
last modified time | relevance | path

Searched refs:fctx (Results 1 - 24 of 24) sorted by relevance

/third_party/skia/modules/svg/src/
H A DSkSVGFeLighting.cpp39 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()
77 const auto obbt = ctx.transformForCurrentOBB(fctx.primitiveUnits()); in resolveXYZ()
95 const SkSVGFilterContext& fctx, in makeDistantLight()
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()
72 resolveXYZ(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, SkSVGNumberType x, SkSVGNumberType y, SkSVGNumberType z) const resolveXYZ() argument
93 makeDistantLight( const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeDistantLight* light) const makeDistantLight() argument
108 makePointLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFePointLight* light) const makePointLight() argument
121 makeSpotLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeSpotLight* light) const makeSpotLight() argument
147 makeDistantLight( const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeDistantLight* light) const makeDistantLight() argument
161 makePointLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFePointLight* light) const makePointLight() argument
173 makeSpotLight(const SkSVGRenderContext& ctx, const SkSVGFilterContext& fctx, const SkSVGFeSpotLight* light) const makeSpotLight() argument
[all...]
H A DSkSVGFeDisplacementMap.cpp28 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()
H A DSkSVGFe.cpp15 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 in resolveFilterSubregion()
[all...]
H A DSkSVGFeOffset.cpp22 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()
H A DSkSVGFeGaussianBlur.cpp22 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()
H A DSkSVGFilter.cpp30 SkSVGFilterContext fctx(ctx.resolveOBBRect(fX, fY, fWidth, fHeight, fFilterUnits), in buildFilterDAG()
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()
H A DSkSVGFeComposite.cpp48 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()
H A DSkSVGFeMorphology.cpp24 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()
H A DSkSVGFeBlend.cpp39 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()
H A DSkSVGFeImage.cpp24 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()
H A DSkSVGFeColorMatrix.cpp93 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()
H A DSkSVGFeFlood.cpp28 const SkSVGFilterContext& fctx) const { in onMakeImageFilter()
30 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
H A DSkSVGFeTurbulence.cpp62 const SkSVGFilterContext& fctx) const { in onMakeImageFilter()
77 return SkImageFilters::Shader(shader, this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_flush.c157 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, in debug_flush_map()
301 debug_flush_cb_reference(struct debug_flush_ctx *fctx, struct debug_flush_buf *fbuf) debug_flush_cb_reference() argument
370 debug_flush_might_flush(struct debug_flush_ctx *fctx) debug_flush_might_flush() argument
398 debug_flush_flush(struct debug_flush_ctx *fctx) debug_flush_flush() argument
413 debug_flush_ctx_destroy(struct debug_flush_ctx *fctx) debug_flush_ctx_destroy() argument
[all...]
H A Du_debug_flush.h83 * @param fctx The context representation to destroy.
86 debug_flush_ctx_destroy(struct debug_flush_ctx *fctx);
111 * @param fctx The context representation that might be flushed.
115 void debug_flush_might_flush(struct debug_flush_ctx *fctx);
120 * @param fctx The context representation that is flushed.
124 void debug_flush_flush(struct debug_flush_ctx *fctx);
130 * @param fctx The context representation that is flushed.
134 void debug_flush_cb_reference(struct debug_flush_ctx *fctx,
/third_party/ffmpeg/libavcodec/
H A Dpthread_frame.c163 static void async_lock(FrameThreadContext *fctx) in async_lock() argument
165 pthread_mutex_lock(&fctx->async_mutex); in async_lock()
166 while (fctx->async_lock) in async_lock()
167 pthread_cond_wait(&fctx->async_cond, &fctx->async_mutex); in async_lock()
168 fctx->async_lock = 1; in async_lock()
169 pthread_mutex_unlock(&fctx->async_mutex); in async_lock()
172 static void async_unlock(FrameThreadContext *fctx) in async_unlock() argument
174 pthread_mutex_lock(&fctx->async_mutex); in async_unlock()
175 av_assert0(fctx in async_unlock()
402 FrameThreadContext *fctx = p->parent; release_delayed_buffers() local
424 FrameThreadContext *fctx = p->parent; submit_packet() local
529 FrameThreadContext *fctx = avctx->internal->thread_ctx; ff_thread_decode_frame() local
692 park_frame_worker_threads(FrameThreadContext *fctx, int thread_count) park_frame_worker_threads() argument
727 FrameThreadContext *fctx = avctx->internal->thread_ctx; ff_frame_thread_free() local
789 init_thread(PerThreadContext *p, int *threads_to_free, FrameThreadContext *fctx, AVCodecContext *avctx, const FFCodec *codec, int first) init_thread() argument
869 FrameThreadContext *fctx; ff_frame_thread_init() local
928 FrameThreadContext *fctx = avctx->internal->thread_ctx; ff_thread_flush() local
1102 FrameThreadContext *fctx; ff_thread_release_buffer() local
[all...]
/third_party/ffmpeg/tools/
H A Dpktdumper.c56 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/ffmpeg/libavutil/
H A Dhwcontext_videotoolbox.c164 VTFramesContext *fctx = ctx->internal->priv; in vt_pool_alloc() local
203 &fctx->pool); in vt_pool_alloc()
224 VTFramesContext *fctx = ctx->internal->priv; in vt_pool_alloc_buffer() local
228 fctx->pool, in vt_pool_alloc_buffer()
247 VTFramesContext *fctx = ctx->internal->priv; in vt_frames_uninit() local
248 if (fctx->pool) { in vt_frames_uninit()
249 CVPixelBufferPoolRelease(fctx->pool); in vt_frames_uninit()
250 fctx->pool = NULL; in vt_frames_uninit()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_context.c104 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/
H A Ddv.c56 AVFormatContext* fctx; member
249 av_log(c->fctx, AV_LOG_ERROR, in dv_extract_audio_info()
255 av_log(c->fctx, AV_LOG_ERROR, "stype %d is invalid\n", stype); in dv_extract_audio_info()
268 c->ast[i] = avformat_new_stream(c->fctx, NULL); in dv_extract_audio_info()
341 c->fctx = s; in dv_init_demux()
/third_party/ffmpeg/doc/examples/
H A Dtranscoding.c237 static int init_filter(FilteringContext* fctx, AVCodecContext *dec_ctx, in init_filter() argument
376 fctx->buffersrc_ctx = buffersrc_ctx; in init_filter()
377 fctx->buffersink_ctx = buffersink_ctx; in init_filter()
378 fctx->filter_graph = filter_graph; in init_filter()
/third_party/skia/modules/svg/include/
H A DSkSVGFe.h41 const SkSVGFilterContext& fctx) const;
/third_party/ffmpeg/libavfilter/
H A Dvf_overlay_qsv.c164 AVHWFramesContext *fctx; in have_alpha_planar() local
167 fctx = (AVHWFramesContext *)link->hw_frames_ctx->data; in have_alpha_planar()
168 pix_fmt = fctx->sw_format; in have_alpha_planar()
H A Daf_hdcd.c977 AVFilterContext *fctx; /**< filter context for logging errors */ member
1080 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_integrate()
1095 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_integrate()
1355 av_log(ctx->fctx, AV_LOG_VERBOSE, in hdcd_control_stereo()
1701 s->fctx = ctx; in init()

Completed in 14 milliseconds