Home
last modified time | relevance | path

Searched refs:alpha (Results 276 - 300 of 1507) sorted by relevance

1...<<11121314151617181920>>...61

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dalpha_enc.c25 // Encodes the given alpha data via specified compression method 'method'.
30 // 'method = 1' - Use lossless coder on the alpha plane only
37 // 'output' corresponds to the buffer containing compressed alpha data.
40 // 'output_size' corresponds to size of this compressed alpha buffer.
42 // Returns 1 on successfully encoding the alpha and
64 // Transfer the alpha values to the green channel. in EncodeLossless()
70 // Enable exact, or it would alter RGB values of transparent alpha, which is in EncodeLossless()
76 // Set a low default quality for encoding alpha. Ensure that Alpha quality at in EncodeLossless()
79 // If the alpha quality is set to 100 and the method to 6, allow for a high in EncodeLossless()
86 // a decoder bug related to alpha wit in EncodeLossless()
202 GetFilterMap(const uint8_t* alpha, int width, int height, int filter, int effort_level) GetFilterMap() argument
234 ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height, size_t data_size, int method, int filter, int reduce_levels, int effort_level, uint8_t** const output, size_t* const output_size, WebPAuxStats* const stats) ApplyFiltersAndEncode() argument
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dhswish_builder.cpp74 float alpha = 0.0f; in GetPrimitive() local
79 alpha, minVal, maxVal, approximate); in GetPrimitive()
H A Drelu6_builder.cpp73 float alpha{0.0f}; in GetPrimitive()
79 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha, in GetPrimitive()
H A Dtanh_builder.cpp76 float alpha {0.0f}; in GetPrimitive()
81 mindspore::lite::MindIR_Activation_CreatePrimitive(m_activationType, alpha, minVal, maxVal, approximate); in GetPrimitive()
H A Dswish_builder.cpp70 float alpha {0.0f}; in GetPrimitive()
76 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha, in GetPrimitive()
H A Dhard_sigmoid_builder.cpp74 float alpha = 0.0f; in GetPrimitive() local
79 alpha, minVal, maxVal, approximate); in GetPrimitive()
H A Dabs_builder.cpp67 float alpha {0.0f}; in GetPrimitive()
73 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha, in GetPrimitive()
H A Dsigmoid_builder.cpp74 float alpha{0.0f}; in GetPrimitive()
80 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha, minVal, in GetPrimitive()
H A Drelu_builder.cpp73 float alpha{0.0f}; in GetPrimitive()
79 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha, in GetPrimitive()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_pen.h56 virtual void SetAlpha(uint32_t alpha) {} in SetAlpha() argument
57 virtual void SetAlphaF(float alpha) {} in SetAlphaF() argument
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_paint.h97 * @brief Sets alpha and RGB used when stroking and filling
102 * @brief Replace alpha while keeping RGB unchanged.
104 void SetAlphaf(const float alpha);
144 * @brief Replaces alpha, leaving RGB
145 * @param alpha Is from 0.0 to 1.0
149 void SetAlpha(const unsigned int alpha);
/third_party/ffmpeg/libavcodec/
H A Drv34dsp.h46 int alpha, int beta,
50 int alpha, int lims,
H A Dcfhdenc.c242 int16_t *alpha; member
370 s->alpha = av_calloc(avctx->width * avctx->height, sizeof(*s->alpha)); in cfhd_encode_init()
371 if (!s->alpha) in cfhd_encode_init()
405 int alpha = src[j]; in process_alpha() local
407 if (alpha > 0 && alpha < 4080) { in process_alpha()
408 alpha *= 223; in process_alpha()
409 alpha += 128; in process_alpha()
410 alpha >> in process_alpha()
[all...]
H A Dacelp_vectors.c193 int size, float alpha, float *gain_mem) in ff_adaptive_gain_control()
203 gain_scale_factor *= 1.0 - alpha; in ff_adaptive_gain_control()
206 mem = alpha * mem + gain_scale_factor; in ff_adaptive_gain_control()
192 ff_adaptive_gain_control(float *out, const float *in, float speech_energ, int size, float alpha, float *gain_mem) ff_adaptive_gain_control() argument
H A Dmovtextdec.c69 uint8_t alpha; member
146 style->alpha = bytestream_get_byte(ptr); in mov_text_parse_style_record()
268 CMP(alpha) && CMP(fontsize) && CMP(font_id); in styles_equivalent()
395 if (default_style->alpha != style->alpha) in text_to_ass()
396 av_bprintf(buf, "{\\1a&H%02X&}", 255 - style->alpha); in text_to_ass()
465 (255U - default_style->alpha) << 24 | default_style->color, in mov_text_init()
466 (255U - default_style->alpha) << 24 | default_style->color, in mov_text_init()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_blend.h9 * supposed to treat the destination's alpha channel as 1 instead of the
120 util_blend_factor_uses_dest(enum pipe_blendfactor factor, bool alpha) in util_blend_factor_uses_dest() argument
129 return !alpha; in util_blend_factor_uses_dest()
/third_party/vk-gl-cts/framework/common/
H A DtcuPixelFormat.hpp42 PixelFormat (int red, int green, int blue, int alpha) in PixelFormat()
46 , alphaBits(alpha) in PixelFormat()
75 * Per-channel threshold is 2^(8-bits). If alpha channel bits are zero,
/drivers/peripheral/display/composer/test/unittest/
H A Dhdi_composer_ut.cpp76 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
77 LayerAlpha alpha = { 0 }; in CreateTestLayer() local
78 alpha.gAlpha = setting.alpha; in CreateTestLayer()
79 alpha.enGlobalAlpha = true; in CreateTestLayer()
80 layer->SetAlpha(alpha); in CreateTestLayer()
575 LayerAlpha alpha = { 0 }; in HWTEST_F() local
576 alpha in HWTEST_F()
[all...]
/test/xts/hats/hdf/display/composer/benchmark/
H A Ddisplay_benchmark_test.cpp99 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff in CreateTestLayer()
100 LayerAlpha alpha = { 0 }; in CreateTestLayer() local
101 alpha.gAlpha = setting.alpha; in CreateTestLayer()
102 alpha.enGlobalAlpha = true; in CreateTestLayer()
103 layer->SetAlpha(alpha); in CreateTestLayer()
894 LayerAlpha alpha = { 0 }; in BENCHMARK_F() local
895 alpha in BENCHMARK_F()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_target_packing_common.h130 vec4 GetPackPbrColor(in vec3 color, in CORE_RELAXEDP float alpha) in GetPackPbrColor() argument
132 // zero to hdr max clamp and alpha multiply in GetPackPbrColor()
133 return vec4(clamp(color.rgb, 0.0, CORE3D_HDR_FLOAT_CLAMP_MAX_VALUE) * alpha, alpha); in GetPackPbrColor()
/third_party/ffmpeg/libavfilter/
H A Dvf_despill.c33 int alpha; member
82 if (s->alpha) { in do_despill_slice()
155 { "alpha", "change alpha component", OFFSET(alpha), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
/third_party/ffmpeg/libswscale/
H A Dvscale.c57 if (desc->alpha) { in lum_planar_vscale()
130 uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; in packed_vscale()
136 (const int16_t*)(desc->alpha ? *src3 : NULL), *dst, dstW, 0, sliceY); in packed_vscale()
142 (const int16_t*)(desc->alpha ? *src3 : NULL), *dst, dstW, chrAlpha, sliceY); in packed_vscale()
198 uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; in any_vscale()
202 desc->alpha ? desc->dst->plane[3].line[dp3] : NULL }; in any_vscale()
228 desc[0].alpha = c->needAlpha; in ff_init_vscale()
249 desc[0].alpha = c->needAlpha; in ff_init_vscale()
/kernel/linux/linux-5.10/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1133 u8 alpha = tpg->alpha_component; in gen_twopix() local
1139 alpha = 0; in gen_twopix()
1309 alpha = 0; in gen_twopix()
1314 buf[0][offset + 1] = (alpha & 0xf0) | r_y_h; in gen_twopix()
1317 alpha = 0; in gen_twopix()
1320 buf[0][offset] = (b_v << 4) | (alpha >> 4); in gen_twopix()
1324 alpha = 0; in gen_twopix()
1328 buf[0][offset + 1] = (alpha & 0xf0) | b_v; in gen_twopix()
1331 alpha = 0; in gen_twopix()
1334 buf[0][offset] = (r_y_h << 4) | (alpha >> in gen_twopix()
[all...]
/kernel/linux/linux-6.6/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1137 u8 alpha = tpg->alpha_component; in gen_twopix() local
1143 alpha = 0; in gen_twopix()
1313 alpha = 0; in gen_twopix()
1318 buf[0][offset + 1] = (alpha & 0xf0) | r_y_h; in gen_twopix()
1321 alpha = 0; in gen_twopix()
1324 buf[0][offset] = (b_v << 4) | (alpha >> 4); in gen_twopix()
1328 alpha = 0; in gen_twopix()
1332 buf[0][offset + 1] = (alpha & 0xf0) | b_v; in gen_twopix()
1335 alpha = 0; in gen_twopix()
1338 buf[0][offset] = (r_y_h << 4) | (alpha >> in gen_twopix()
[all...]
/third_party/skia/src/core/
H A DSkBlitter.cpp55 SkAlpha alpha = (SkAlpha)(a * 255); in ScalarToAlpha() local
56 return alpha > 247 ? 0xFF : alpha < 8 ? 0 : alpha; in ScalarToAlpha()
111 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV() argument
112 if (alpha == 255) { in blitV()
120 this->blitAntiH(x, y++, &alpha, runs); in blitV()
133 /// such as alpha == 255; also uses blitV(), which some subclasses
313 void SkNullBlitter::blitV(int x, int y, int height, SkAlpha alpha) {} in blitV() argument
408 void SkRectClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) {
[all...]

Completed in 18 milliseconds

1...<<11121314151617181920>>...61