Home
last modified time | relevance | path

Searched +defs:g +defs:y (Results 1 – 25 of 35) sorted by relevance

12

/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Dformat_helper.h38 static inline uint8_t RGBToY(uint8_t r, uint8_t g, uint8_t b) in RGBToY()
40 int y = (54 * r + 183 * g + 18 * b) >> 8; in RGBToY() local
44 static inline uint8_t RGBToU(uint8_t r, uint8_t g, uint8_t b) in RGBToU()
50 static inline uint8_t RGBToV(uint8_t r, uint8_t g, uint8_t b) in RGBToV()
56 static inline uint8_t YuvToR(uint8_t y, uint8_t u, uint8_t v) in YuvToR()
62 static inline uint8_t YuvToG(uint8_t y, uint8_t u, uint8_t v) in YuvToG()
64 int g = (y - ((48 * (u - 128) + 120 * (v - 128)) >> 8)); in YuvToG() local
68 static inline uint8_t YuvToB(uint8_t y, uint8_t u, uint8_t v) in YuvToB()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/utils/
H A DScene.js23 viewport(x, y, width, height) { argument
45 clear(r = 0, g = 0, b = 0, a = 1) { argument
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c146 …const uint32_t alg, uint32_t keySize, const struct HksBlob *x, const struct HksBlob *y, struct Hks… in EccToX509PublicKey()
200 …const uint32_t alg, uint32_t keySize, const struct HksBlob *x, const struct HksBlob *y, struct Hks… in Sm2ToX509PublicKey()
208 …const struct HksBlob *publicKey, struct HksBlob *y, struct HksBlob *p, struct HksBlob *q, struct H… in GetDsaPubKeyParam()
237 static int32_t DsaToX509PublicKey(const struct HksBlob *y, const struct HksBlob *p, const struct Hk… in DsaToX509PublicKey()
238 const struct HksBlob *g, struct HksBlob *x509Key) in DsaToX509PublicKey()
291 struct HksBlob y = {0}; in DsaPublicKeyToX509() local
294 struct HksBlob g = {0}; in DsaPublicKeyToX509() local
492 BIGNUM *y = BN_new(); in EcKeyToPublicKey() local
646 const BIGNUM *g = NULL; in X509PublicKeyToDsa() local
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dcpu_brightness_algo.cpp82 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local
135 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local
139 uint8_t g = FormatHelper::YuvToG(y, u, v); in OnApplyYUVNV21() local
194 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local
198 uint8_t g = FormatHelper::YuvToG(y, u, v); in OnApplyYUVNV12() local
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_dsa_helper.c83 BIGNUM *y = NULL; in InitDsa() local
86 BIGNUM *g = NULL; in InitDsa() local
364 const BIGNUM *y = DSA_get0_pub_key(dsa); in SaveDsaKeyToHksBlob() local
367 const BIGNUM *g = DSA_get0_g(dsa); in SaveDsaKeyToHksBlob() local
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcpu_contrast_algo.cpp72 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local
124 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local
128 uint8_t g = FormatHelper::YuvToG(y, u, v); in OnApplyYUVNV21() local
181 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local
185 uint8_t g = FormatHelper::YuvToG(y, u, v); in OnApplyYUVNV12() local
/ohos5.0/foundation/resourceschedule/ffrt/benchmarks/base/
H A Dbase.cpp25 static inline uint64_t func(uint64_t x, uint64_t y) in func()
27 std::mt19937_64 g(x - y); in func() local
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_dsa.c75 BIGNUM *y = BN_bin2bn(buff, keyMaterial->ySize, NULL); in InitDsaStructKey() local
117 BIGNUM *g = BN_bin2bn(buff, keyMaterial->gSize, NULL); in InitDsaStructParameter() local
205 const BIGNUM *y = DSA_get0_pub_key(dsa); in DsaKeyMaterialData() local
208 const BIGNUM *g = DSA_get0_g(dsa); in DsaKeyMaterialData() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_common.cpp95 unsigned g = ((color >> 10) & 0x3F) << 5; in color_to_565() local
126 uint8_t* DrawBitmapGetAddr8(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr8()
135 uint16_t* DrawBitmapGetAddr16(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr16()
144 uint32_t* DrawBitmapGetAddr32(OH_Drawing_Bitmap* bitmap, int x, int y) in DrawBitmapGetAddr32()
153 void DrawPathGetBound(DrawRect& r, float x, float y) in DrawPathGetBound()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/
H A Drsgpuoverdrawcanvaslistener_fuzzer.cpp64 float y = GetData<float>(); in DoDrawPoint() local
77 float y = GetData<float>(); in DoDrawLine() local
214 float y = GetData<float>(); in DoDrawCircle() local
254 float y = GetData<float>(); in DoDrawShadow() local
266 uint32_t g = GetData<uint32_t>(); in DoDrawShadow() local
303 float y = GetData<float>(); in DoDrawBitmap() local
318 float y = GetData<float>(); in DoDrawImage() local
379 uint32_t g = GetData<uint32_t>(); in DoAttachPen() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/
H A Dcolor_picker.cpp122 int y = 0; in GetMainColor() local
208 uint32_t g = GetARGB32ColorG(color); in RGB2GRAY() local
237 uint32_t g = GetARGB32ColorG(color); in CalcRelaticeLuminance() local
465 double y = basicS + basicV; in AdjustToBasicColor() local
666 double r, g, b; in RGB2HSV() local
741 uint32_t r, g, b; in HSVtoRGB() local
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc_slr.cpp92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck()
116 int y; member
120 const SLRWeightMat &y) in SLRBoxCheck()
161 …nst SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRBox()
197 …uint32_t r = SLRCast(rgba[0]), g = SLRCast(rgba[1]), b = SLRCast(rgba[2]), a = SLRCast(rgba[3]); /… in SLRBox() local
201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial()
218 const SLRWeightMat &x, const SLRWeightMat &y) in SLRSubtask()
231 void SLRProc::Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Parallel()
H A Dbasic_transformer.cpp239 for (int32_t y = 0; y < size.height; ++y) { in DrawPixelmap() local
290 uint32_t g = (color & RGB16_G_MASK) >> RGB16_RGB32_G_SHIFT; in RGB565to32() local
298 uint16_t g = (c & RGB24_G_MASK) >> RGB32_RGB16_G_SHIFT; in Color32toRGB565() local
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
H A Ddetailed_ecc_key_params.h37 HcfBigInteger y; member
45 HcfPoint g; member
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/
H A Dfoldsplitcontainer.js119 this.containerGlobalPosition = { x: 0, y: 0 }; property in FoldSplitContainer.constructor.containerGlobalPosition
685 let g = 0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscpuoverdrawcanvaslistener_fuzzer/
H A Drscpuoverdrawcanvaslistener_fuzzer.cpp63 float y = GetData<float>(); in DoDrawPoint() local
76 float y = GetData<float>(); in DoDrawLine() local
213 float y = GetData<float>(); in DoDrawCircle() local
253 float y = GetData<float>(); in DoDrawShadow() local
265 uint32_t g = GetData<uint32_t>(); in DoDrawShadow() local
302 float y = GetData<float>(); in DoDrawTextBlob() local
315 float y = GetData<float>(); in DoDrawBitmap() local
330 float y = GetData<float>(); in DoDrawImage() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutils.h60 #define PRIMITIVE_CAT(x, y) x##y argument
61 #define CAT(x, y) PRIMITIVE_CAT(x, y) argument
285 int g = (color >> 8) & 0xFF; in IsDarkColor() local
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/
H A Drender_environment.cpp311 uint8_t y; in ConvertFromYUVToRGB() local
324 uint8_t g = FormatHelper::YuvToG(y, u, v); in ConvertFromYUVToRGB() local
350 uint8_t g = rgbData[rgb_index + G_POS]; in ConvertFromRGBToYUV() local
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/
H A Dsubheader.js2126 constructor(v, w, x, y = -1, z = undefined, a1) { argument
2169 let g = { class in TextArrowLayout.onMeasureSize
/ohos5.0/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp309 int x, y, j; in ProcessImage() local
310 int y0, u, v, r, g, b; in ProcessImage() local
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.cpp298 int x, y, j; in ProcessImage() local
299 int y0, u, v, r, g, b; in ProcessImage() local
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/
H A Dv4l2_main.cpp230 int x, y, j; in ProcessImage() local
231 int y0, u, v, r, g, b; in ProcessImage() local
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_utils.cpp594 napi_value g = GetDetailAsyKeySpecValue(env, arg, "g"); in InitDsaCommonAsyKeySpec() local
797 napi_value g = GetDetailAsyKeySpecValue(env, arg, "g"); in InitEccDetailAsyKeySpec() local
1301 napi_value g = GetDetailAsyKeySpecValue(env, arg, "g"); in InitDhCommonAsyKeySpec() local
1917 napi_value y = ConvertBigIntToNapiValue(env, &(p->y)); in ConvertEccPointToNapiValue() local
1954 napi_value y = ConvertBigIntToNapiValue(env, &(blob->g.y)); in ConvertEccCommonParamPointToNapiValue() local
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c313 BIGNUM *y, BN_CTX *ctx) in OpensslEcPointGetAffineCoordinatesGfp()
386 const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinatesGfp()
938 int OpensslDsaSet0Pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDsaSet0Pqg()
1849 int OpensslDhSet0Pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDhSet0Pqg()
1952 const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) in OpensslEcPointSetAffineCoordinates()
1961 BIGNUM *x, BIGNUM *y, BN_CTX *ctx) in OpensslEcPointGetAffineCoordinates()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/hvigor/
H A Dhvigor-wrapper.js16 …os"),e=require("fs"),t=require("child_process"),r=require("crypto"),n="undefined"!=typeof globalTh… variable

12