/third_party/ffmpeg/libavcodec/ |
D | twinvq.c | 71 static void eval_lpcenv(TwinVQContext *tctx, const float *cos_vals, float *lpc) in eval_lpcenv() argument 74 const TwinVQModeTab *mtab = tctx->mtab; in eval_lpcenv() 78 float cos_i = tctx->cos_tabs[0][i]; in eval_lpcenv() 115 static inline void eval_lpcenv_or_interp(TwinVQContext *tctx, in eval_lpcenv_or_interp() argument 121 const TwinVQModeTab *mtab = tctx->mtab; in eval_lpcenv_or_interp() 122 const float *cos_tab = tctx->cos_tabs[ftype]; in eval_lpcenv_or_interp() 152 static void eval_lpcenv_2parts(TwinVQContext *tctx, enum TwinVQFrameType ftype, in eval_lpcenv_2parts() argument 156 eval_lpcenv_or_interp(tctx, ftype, lpc, buf, size / 2, step, 0); in eval_lpcenv_2parts() 157 eval_lpcenv_or_interp(tctx, ftype, lpc + size / 2, buf, size / 2, in eval_lpcenv_2parts() 172 static void dequant(TwinVQContext *tctx, const uint8_t *cb_bits, float *out, in dequant() argument [all …]
|
D | metasound.c | 64 static void decode_ppc(TwinVQContext *tctx, int period_coef, int g_coef, in decode_ppc() argument 67 const TwinVQModeTab *mtab = tctx->mtab; in decode_ppc() 68 int isampf = tctx->avctx->sample_rate / 1000; in decode_ppc() 69 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels); in decode_ppc() 78 if (tctx->avctx->channels == 1) { in decode_ppc() 88 if (tctx->avctx->channels == 1) in decode_ppc() 106 pgain_base = tctx->avctx->channels == 2 ? 25000.0 : 20000.0; in decode_ppc() 115 static void dec_bark_env(TwinVQContext *tctx, const uint8_t *in, int use_hist, in dec_bark_env() argument 119 const TwinVQModeTab *mtab = tctx->mtab; in dec_bark_env() 121 float *hist = tctx->bark_hist[ftype][ch]; in dec_bark_env() [all …]
|
D | twinvqdec.c | 179 static void decode_ppc(TwinVQContext *tctx, int period_coef, int g_coef, in decode_ppc() argument 182 const TwinVQModeTab *mtab = tctx->mtab; in decode_ppc() 183 int isampf = tctx->avctx->sample_rate / 1000; in decode_ppc() 184 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels); in decode_ppc() 211 static void dec_bark_env(TwinVQContext *tctx, const uint8_t *in, int use_hist, in dec_bark_env() argument 215 const TwinVQModeTab *mtab = tctx->mtab; in dec_bark_env() 217 float *hist = tctx->bark_hist[ftype][ch]; in dec_bark_env() 239 static void read_cb_data(TwinVQContext *tctx, GetBitContext *gb, in read_cb_data() argument 244 for (i = 0; i < tctx->n_div[ftype]; i++) { in read_cb_data() 245 int bs_second_part = (i >= tctx->bits_main_spec_change[ftype]); in read_cb_data() [all …]
|
D | twinvq.h | 174 int (*read_bitstream)(AVCodecContext *avctx, struct TwinVQContext *tctx, 176 void (*dec_bark_env)(struct TwinVQContext *tctx, const uint8_t *in, 179 void (*decode_ppc)(struct TwinVQContext *tctx, int period_coef, int g_coef,
|
D | fic.c | 174 FICThreadContext *tctx = tdata; in fic_decode_slice() local 176 uint8_t *src = tctx->src; in fic_decode_slice() 177 int slice_h = tctx->slice_h; in fic_decode_slice() 178 int src_size = tctx->src_size; in fic_decode_slice() 179 int y_off = tctx->y_off; in fic_decode_slice() 195 tctx->block, &tctx->p_frame)) != 0) in fic_decode_slice()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_tgsi_lower_yuv.c | 56 tgsi_yuv_transform(struct tgsi_transform_context *tctx) in tgsi_yuv_transform() argument 58 return (struct tgsi_yuv_transform *)tctx; in tgsi_yuv_transform() 144 emit_immed(struct tgsi_transform_context *tctx, int idx, in emit_immed() argument 147 struct tgsi_yuv_transform *ctx = tgsi_yuv_transform(tctx); in emit_immed() 157 tctx->emit_immediate(tctx, &immed); in emit_immed() 168 emit_samp(struct tgsi_transform_context *tctx, unsigned samp) in emit_samp() argument 170 tgsi_transform_sampler_decl(tctx, samp); in emit_samp() 171 tgsi_transform_sampler_view_decl(tctx, samp, PIPE_TEXTURE_2D, in emit_samp() 182 emit_decls(struct tgsi_transform_context *tctx) in emit_decls() argument 184 struct tgsi_yuv_transform *ctx = tgsi_yuv_transform(tctx); in emit_decls() [all …]
|
D | st_tgsi_lower_depth_clamp.c | 46 tgsi_depth_clamp_transform(struct tgsi_transform_context *tctx) in tgsi_depth_clamp_transform() argument 48 return (struct tgsi_depth_clamp_transform *)tctx; in tgsi_depth_clamp_transform() 52 transform_decl(struct tgsi_transform_context *tctx, in transform_decl() argument 55 struct tgsi_depth_clamp_transform *ctx = tgsi_depth_clamp_transform(tctx); in transform_decl() 79 tctx->emit_declaration(tctx, decl); in transform_decl() 96 prolog_last_vertex_stage(struct tgsi_transform_context *tctx) in prolog_last_vertex_stage() argument 98 struct tgsi_depth_clamp_transform *ctx = tgsi_depth_clamp_transform(tctx); in prolog_last_vertex_stage() 103 tgsi_transform_immediate_decl(tctx, 0.5, 0.0, 0.0, 0.0); in prolog_last_vertex_stage() 107 tgsi_transform_output_decl(tctx, ctx->depth_var, in prolog_last_vertex_stage() 114 epilog_last_vertex_stage(struct tgsi_transform_context *tctx) in epilog_last_vertex_stage() argument [all …]
|
D | st_cb_bitmap_shader.c | 45 tgsi_bitmap_transform(struct tgsi_transform_context *tctx) in tgsi_bitmap_transform() argument 47 return (struct tgsi_bitmap_transform *)tctx; in tgsi_bitmap_transform() 51 transform_instr(struct tgsi_transform_context *tctx, in transform_instr() argument 54 struct tgsi_bitmap_transform *ctx = tgsi_bitmap_transform(tctx); in transform_instr() 62 tctx->emit_instruction(tctx, current_inst); in transform_instr() 70 tgsi_transform_temp_decl(tctx, 0); in transform_instr() 86 tgsi_transform_input_decl(tctx, texcoord_index, in transform_instr() 91 tgsi_transform_sampler_decl(tctx, ctx->sampler_index); in transform_instr() 94 tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index, in transform_instr() 98 tgsi_transform_tex_inst(tctx, in transform_instr() [all …]
|
D | st_cb_drawpixels_shader.c | 50 tgsi_drawpix_transform(struct tgsi_transform_context *tctx) in tgsi_drawpix_transform() argument 52 return (struct tgsi_drawpix_transform *)tctx; in tgsi_drawpix_transform() 72 transform_instr(struct tgsi_transform_context *tctx, in transform_instr() argument 75 struct tgsi_drawpix_transform *ctx = tgsi_drawpix_transform(tctx); in transform_instr() 90 tgsi_transform_const_decl(tctx, ctx->scale_const, ctx->scale_const); in transform_instr() 94 tgsi_transform_const_decl(tctx, ctx->bias_const, ctx->bias_const); in transform_instr() 99 tgsi_transform_const_decl(tctx, ctx->texcoord_const, ctx->texcoord_const); in transform_instr() 104 tgsi_transform_temp_decl(tctx, ctx->color_temp); in transform_instr() 117 tgsi_transform_input_decl(tctx, texcoord_index, sem_texcoord, 0, in transform_instr() 123 tgsi_transform_sampler_decl(tctx, ctx->drawpix_sampler); in transform_instr() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_lowering.c | 58 tgsi_lowering_context(struct tgsi_transform_context *tctx) in tgsi_lowering_context() argument 60 return (struct tgsi_lowering_context *)tctx; in tgsi_lowering_context() 131 create_mov(struct tgsi_transform_context *tctx, in create_mov() argument 145 tctx->emit_instruction(tctx, &new_inst); in create_mov() 197 transform_dst(struct tgsi_transform_context *tctx, in transform_dst() argument 200 struct tgsi_lowering_context *ctx = tgsi_lowering_context(tctx); in transform_dst() 207 create_mov(tctx, &ctx->tmp[A].dst, src0, TGSI_WRITEMASK_YZ, 0); in transform_dst() 212 create_mov(tctx, &ctx->tmp[B].dst, src1, TGSI_WRITEMASK_YW, 0); in transform_dst() 225 tctx->emit_instruction(tctx, &new_inst); in transform_dst() 236 tctx->emit_instruction(tctx, &new_inst); in transform_dst() [all …]
|
D | tgsi_emulate.c | 41 tgsi_emulation_context(struct tgsi_transform_context *tctx) in tgsi_emulation_context() argument 43 return (struct tgsi_emulation_context *)tctx; in tgsi_emulation_context() 47 transform_decl(struct tgsi_transform_context *tctx, in transform_decl() argument 50 struct tgsi_emulation_context *ctx = tgsi_emulation_context(tctx); in transform_decl() 58 tctx->emit_declaration(tctx, decl); in transform_decl() 62 passthrough_edgeflag(struct tgsi_transform_context *tctx) in passthrough_edgeflag() argument 64 struct tgsi_emulation_context *ctx = tgsi_emulation_context(tctx); in passthrough_edgeflag() 72 tctx->emit_declaration(tctx, &decl); in passthrough_edgeflag() 81 tctx->emit_declaration(tctx, &decl); in passthrough_edgeflag() 100 tctx->emit_instruction(tctx, &new_inst); in passthrough_edgeflag() [all …]
|
/third_party/skia/modules/svg/src/ |
D | SkSVGText.cpp | 118 SkSVGTextContext* tctx, in ScopedPosResolver() argument 120 : fTextContext(tctx) in ScopedPosResolver() 121 , fParent(tctx->fPosResolver) in ScopedPosResolver() 134 SkSVGTextContext* tctx) in ScopedPosResolver() argument 135 : ScopedPosResolver(txt, lctx, tctx, tctx->fCurrentCharIndex) {} in ScopedPosResolver() 474 void SkSVGTextFragment::renderText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, in renderText() argument 481 this->onShapeText(localContext, tctx, xs); in renderText() 504 void SkSVGTextContainer::onShapeText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, in onShapeText() argument 506 SkASSERT(tctx); in onShapeText() 508 const SkSVGTextContext::ScopedPosResolver resolver(*this, ctx.lengthContext(), tctx); in onShapeText() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_perfetto.cc | 151 TuRenderpassDataSource::Trace([=](TuRenderpassDataSource::TraceContext tctx) { in stage_end() argument 152 if (auto state = tctx.GetIncrementalState(); state->was_cleared) { in stage_end() 153 send_descriptors(tctx, p->start_ts[stage]); in stage_end() 157 auto packet = tctx.NewTracePacket(); in stage_end() 207 TuRenderpassDataSource::Trace([=](TuRenderpassDataSource::TraceContext tctx) { in sync_timestamp() argument 208 auto packet = tctx.NewTracePacket(); in sync_timestamp() 236 TuRenderpassDataSource::Trace([=](TuRenderpassDataSource::TraceContext tctx) { in emit_submit_id() argument 237 auto packet = tctx.NewTracePacket(); in emit_submit_id()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_perfetto.cc | 147 FdRenderpassDataSource::Trace([=](FdRenderpassDataSource::TraceContext tctx) { in stage_end() argument 148 if (auto state = tctx.GetIncrementalState(); state->was_cleared) { in stage_end() 149 send_descriptors(tctx, p->start_ts[stage]); in stage_end() 153 auto packet = tctx.NewTracePacket(); in stage_end() 270 FdRenderpassDataSource::Trace([=](FdRenderpassDataSource::TraceContext tctx) { in sync_timestamp() argument 271 auto packet = tctx.NewTracePacket(); in sync_timestamp() 299 FdRenderpassDataSource::Trace([=](FdRenderpassDataSource::TraceContext tctx) { in emit_submit_id() argument 300 auto packet = tctx.NewTracePacket(); in emit_submit_id()
|
/third_party/skia/modules/svg/tests/ |
D | Text.cpp | 168 SkSVGTextContext tctx(ctx, mock_cb); in DEF_TEST() local 169 SkSVGTextContext::ScopedPosResolver pa(*a, lctx, &tctx, tst.offseta); in DEF_TEST() 170 SkSVGTextContext::ScopedPosResolver pb(*b, lctx, &tctx, tst.offsetb); in DEF_TEST()
|
/third_party/openssl/apps/ |
D | dgst.c | 382 EVP_MD_CTX *tctx; in dgst_main() local 383 BIO_get_md_ctx(bmd, &tctx); in dgst_main() 384 md = EVP_MD_CTX_md(tctx); in dgst_main()
|
/third_party/openssl/ssl/statem/ |
D | statem_srvr.c | 3867 SSL_CTX *tctx = s->session_ctx; in construct_stateless_ticket() local 3938 if (tctx->ext.ticket_key_cb) { in construct_stateless_ticket() 3940 int ret = tctx->ext.ticket_key_cb(s, key_name, iv, ctx, in construct_stateless_ticket() 3970 tctx->ext.secure->tick_aes_key, iv) in construct_stateless_ticket() 3971 || !HMAC_Init_ex(hctx, tctx->ext.secure->tick_hmac_key, in construct_stateless_ticket() 3972 sizeof(tctx->ext.secure->tick_hmac_key), in construct_stateless_ticket() 3978 memcpy(key_name, tctx->ext.tick_key_name, in construct_stateless_ticket() 3979 sizeof(tctx->ext.tick_key_name)); in construct_stateless_ticket() 4052 SSL_CTX *tctx = s->session_ctx; in tls_construct_new_session_ticket() local 4141 if (tctx->generate_ticket_cb != NULL && in tls_construct_new_session_ticket() [all …]
|
/third_party/openssl/ssl/ |
D | t1_lib.c | 1369 SSL_CTX *tctx = s->session_ctx; in tls_decrypt_ticket() local 1407 if (tctx->ext.ticket_key_cb) { in tls_decrypt_ticket() 1409 int rv = tctx->ext.ticket_key_cb(s, nctick, in tls_decrypt_ticket() 1424 if (memcmp(etick, tctx->ext.tick_key_name, in tls_decrypt_ticket() 1429 if (HMAC_Init_ex(hctx, tctx->ext.secure->tick_hmac_key, in tls_decrypt_ticket() 1430 sizeof(tctx->ext.secure->tick_hmac_key), in tls_decrypt_ticket() 1433 tctx->ext.secure->tick_aes_key, in tls_decrypt_ticket()
|