/third_party/ffmpeg/libavcodec/ |
H A D | ttaenc.c | 112 uint32_t k, unary, outval; in tta_encode_frame() local 135 outval = (value > 0) ? (value << 1) - 1: -value << 1; in tta_encode_frame() 139 rice->sum0 += outval - (rice->sum0 >> 4); in tta_encode_frame() 145 if (outval >= ff_tta_shift_1[k]) { in tta_encode_frame() 146 outval -= ff_tta_shift_1[k]; in tta_encode_frame() 149 rice->sum1 += outval - (rice->sum1 >> 4); in tta_encode_frame() 155 unary = 1 + (outval >> k); in tta_encode_frame() 178 put_bits(&pb, k, outval & (ff_tta_shift_1[k] - 1)); in tta_encode_frame()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | canonicalize_entry_point_io.cc | 329 for (auto& outval : wrapper_output_values) { in AddFixedSampleMask() 330 if (HasSampleMask(outval.attributes)) { in AddFixedSampleMask() 332 outval.value = ctx.dst->And(outval.value, cfg.fixed_sample_mask); in AddFixedSampleMask() 378 for (auto& outval : wrapper_output_values) { in CreateOutputStruct() 381 if (member_names.count(outval.name)) { in CreateOutputStruct() 382 name = ctx.dst->Symbols().New(outval.name); in CreateOutputStruct() 384 name = ctx.dst->Symbols().Register(outval.name); in CreateOutputStruct() 389 ctx.dst->Member(name, outval.type, std::move(outval in CreateOutputStruct() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_resolve_cs.c | 93 nir_ssa_def *outval = nir_load_var(&b, color); in build_resolve_compute_shader() local 95 outval = radv_meta_build_resolve_srgb_conversion(&b, outval); in build_resolve_compute_shader() 103 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_resolve_compute_shader() 175 nir_ssa_def *outval = &tex->dest.ssa; in build_depth_stencil_resolve_compute_shader() local 198 outval = nir_fadd(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_compute_shader() 202 outval = nir_fmin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_compute_shader() 204 outval in build_depth_stencil_resolve_compute_shader() [all...] |
H A D | radv_meta_resolve_fs.c | 61 nir_ssa_def *outval = nir_load_var(&b, color); in build_resolve_fragment_shader() local 62 nir_store_var(&b, color_out, outval, 0xf); in build_resolve_fragment_shader() 296 nir_ssa_def *outval = &tex->dest.ssa; in build_depth_stencil_resolve_fragment_shader() local 319 outval = nir_fadd(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader() 323 outval = nir_fmin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader() 325 outval = nir_umin(&b, outval, &tex_add->dest.ssa); in build_depth_stencil_resolve_fragment_shader() 329 outval in build_depth_stencil_resolve_fragment_shader() [all...] |
H A D | radv_meta_bufimage.c | 83 nir_ssa_def *outval = &tex->dest.ssa; in build_nir_itob_compute_shader() local 85 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_nir_itob_compute_shader() 257 nir_ssa_def *outval = &tex->dest.ssa; in build_nir_btoi_compute_shader() local 265 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), .image_dim = dim); in build_nir_btoi_compute_shader() 435 nir_ssa_def *outval = &tex->dest.ssa; in build_nir_btoi_r32g32b32_compute_shader() local 443 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, chan), in build_nir_btoi_r32g32b32_compute_shader() 596 nir_ssa_def *outval = &tex_instr[i]->dest.ssa; in build_nir_itoi_compute_shader() local 598 nir_imm_int(&b, i), outval, nir_imm_int(&b, 0), .image_dim = dim); in build_nir_itoi_compute_shader() 788 nir_ssa_def *outval = &tex->dest.ssa; in build_nir_itoi_r32g32b32_compute_shader() local 797 nir_ssa_undef(&b, 1, 32), nir_channel(&b, outval, in build_nir_itoi_r32g32b32_compute_shader() [all...] |
H A D | radv_meta_fmask_expand.c | 81 nir_ssa_def *outval = &tex_instr[i]->dest.ssa; in build_fmask_expand_compute_shader() local 83 nir_image_deref_store(&b, output_img_deref, img_coord, nir_imm_int(&b, i), outval, in build_fmask_expand_compute_shader()
|
H A D | radv_meta_fmask_copy.c | 116 nir_ssa_def *outval = &frag_fetch->dest.ssa; in build_fmask_copy_compute_shader() local 118 sample_id, outval, nir_imm_int(&b, 0), in build_fmask_copy_compute_shader()
|
H A D | radv_meta_etc_decode.c | 502 nir_ssa_def *outval = nir_load_var(&b, color); in build_shader() local 509 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_shader() 515 nir_ssa_undef(&b, 1, 32), outval, nir_imm_int(&b, 0), in build_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir_aos.c | 299 LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) in emit_load_const() 316 outval[0] = LLVMConstVector(elems, nc); in emit_load_const() 297 emit_load_const(struct lp_build_nir_context *bld_base, const nir_load_const_instr *instr, LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) emit_load_const() argument
|
H A D | lp_bld_nir_soa.c | 823 LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) in emit_load_global() 843 outval[c] = lp_build_broadcast_scalar(res_bld, scalar); in emit_load_global() 871 outval[c] = LLVMBuildLoad2(builder, res_bld->vec_type, result, ""); in emit_load_global() 1132 LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) in emit_load_const() 1138 outval[i] = lp_build_const_int_vec(bld_base->base.gallivm, int_bld->type, in emit_load_const() 1143 outval[i] = NULL; in emit_load_const() 1199 LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) in emit_load_mem() 1242 outval[c] = lp_build_broadcast_scalar(load_bld, scalar); in emit_load_mem() 1298 outval[c] = LLVMBuildLoad2(gallivm->builder, load_bld->vec_type, result[c], ""); in emit_load_mem() 2544 LLVMValueRef outval[NIR_MAX_VEC_COMPONENT in emit_load_scratch() 817 emit_load_global(struct lp_build_nir_context *bld_base, unsigned nc, unsigned bit_size, unsigned addr_bit_size, bool offset_is_uniform, LLVMValueRef addr, LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) emit_load_global() argument 1130 emit_load_const(struct lp_build_nir_context *bld_base, const nir_load_const_instr *instr, LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) emit_load_const() argument 1193 emit_load_mem(struct lp_build_nir_context *bld_base, unsigned nc, unsigned bit_size, bool index_and_offset_are_uniform, LLVMValueRef index, LLVMValueRef offset, LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) emit_load_mem() argument 2541 emit_load_scratch(struct lp_build_nir_context *bld_base, unsigned nc, unsigned bit_size, LLVMValueRef offset, LLVMValueRef outval[NIR_MAX_VEC_COMPONENTS]) emit_load_scratch() argument [all...] |