Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 62) sorted by relevance

123

/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/
Dxf-types.h78 #define xf_next_power_of_two(v) __xf_power_of_two_1((v) - 1) argument
79 #define __xf_power_of_two_1(v) __xf_power_of_two_2((v) | ((v) >> 1)) argument
80 #define __xf_power_of_two_2(v) __xf_power_of_two_3((v) | ((v) >> 2)) argument
81 #define __xf_power_of_two_3(v) __xf_power_of_two_4((v) | ((v) >> 4)) argument
82 #define __xf_power_of_two_4(v) __xf_power_of_two_5((v) | ((v) >> 8)) argument
83 #define __xf_power_of_two_5(v) __xf_power_of_two_6((v) | ((v) >> 16)) argument
84 #define __xf_power_of_two_6(v) ((v) + 1) argument
87 #define xf_is_power_of_two(v) (((v) & ((v) - 1)) == 0) argument
/device/google/contexthub/firmware/os/algos/common/math/
Dvec.h57 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3()
65 static inline void vec3Add(struct Vec3 *v, const struct Vec3 *w) { in vec3Add()
74 static inline void vec3AddVecs(struct Vec3 *u, const struct Vec3 *v, in vec3AddVecs()
85 static inline void vec3Sub(struct Vec3 *v, const struct Vec3 *w) { in vec3Sub()
94 static inline void vec3SubVecs(struct Vec3 *u, const struct Vec3 *v, in vec3SubVecs()
105 static inline void vec3ScalarMul(struct Vec3 *v, float c) { in vec3ScalarMul()
113 static inline float vec3Dot(const struct Vec3 *v, const struct Vec3 *w) { in vec3Dot()
120 static inline float vec3NormSquared(const struct Vec3 *v) { in vec3NormSquared()
126 static inline float vec3Norm(const struct Vec3 *v) { in vec3Norm()
133 static inline void vec3Normalize(struct Vec3 *v) { in vec3Normalize()
[all …]
Dvec.c54 void vecAdd(float *u, const float *v, const float *w, size_t dim) { in vecAdd()
64 void vecAddInPlace(float *v, const float *w, size_t dim) { in vecAddInPlace()
73 void vecSub(float *u, const float *v, const float *w, size_t dim) { in vecSub()
83 void vecScalarMul(float *u, const float *v, float c, size_t dim) { in vecScalarMul()
92 void vecScalarMulInPlace(float *v, float c, size_t dim) { in vecScalarMulInPlace()
100 float vecNorm(const float *v, size_t dim) { in vecNorm()
106 float vecNormSquared(const float *v, size_t dim) { in vecNormSquared()
111 float vecDot(const float *v, const float *w, size_t dim) { in vecDot()
122 float vecMaxAbsoluteValue(const float *v, size_t dim) { in vecMaxAbsoluteValue()
Dmat.c81 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v) { in mat33Apply()
446 void mat44Apply(struct Vec4 *out, const struct Mat44 *A, const struct Vec4 *v) { in mat44Apply()
609 void matMultiplyVec(float *out, const float *A, const float *v, in matMultiplyVec()
621 void matTransposeMultiplyVec(float *out, const float *A, const float *v, in matTransposeMultiplyVec()
Dkasa.c104 struct Vec3 v; in kasaFit() local
/device/generic/goldfish-opengl/android-emu/android/base/
Dring_buffer.c208 struct ring_buffer_view* v, in ring_buffer_view_init()
222 struct ring_buffer_view* v, in ring_buffer_init_view_only()
234 const struct ring_buffer_view* v, in ring_buffer_view_get_ring_pos()
241 const struct ring_buffer_view* v, in ring_buffer_view_can_write()
251 const struct ring_buffer_view* v, in ring_buffer_view_can_read()
261 const struct ring_buffer_view* v) { in ring_buffer_available_read()
274 const struct ring_buffer_view* v, in ring_buffer_copy_contents()
328 struct ring_buffer_view* v, in ring_buffer_view_write()
371 struct ring_buffer_view* v, in ring_buffer_view_read()
412 const struct ring_buffer_view* v, in ring_buffer_wait_write()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-debug.h51 #define xf_next_power_of_two(v) __xf_power_of_two_1((v) - 1) argument
52 #define __xf_power_of_two_1(v) __xf_power_of_two_2((v) | ((v) >> 1)) argument
53 #define __xf_power_of_two_2(v) __xf_power_of_two_3((v) | ((v) >> 2)) argument
54 #define __xf_power_of_two_3(v) __xf_power_of_two_4((v) | ((v) >> 4)) argument
55 #define __xf_power_of_two_4(v) __xf_power_of_two_5((v) | ((v) >> 8)) argument
56 #define __xf_power_of_two_5(v) __xf_power_of_two_6((v) | ((v) >> 16)) argument
57 #define __xf_power_of_two_6(v) ((v) + 1) argument
60 #define xf_is_power_of_two(v) (((v) & ((v) - 1)) == 0) argument
84 #define C_UNUSED(v) (void)(0 ? (v) = (v), 1 : 0) argument
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/
Dxf-hal.h94 u32 v; in xf_atomic_test_and_set() local
107 u32 v; in xf_atomic_test_and_clear() local
120 u32 v; in xf_atomic_set() local
133 u32 v; in xf_atomic_clear() local
Dxf-shmem.h116 #define XF_PROXY_WRITE(core, field, v) \ argument
133 #define __XF_PROXY_WRITE_cmd_write_idx(proxy, v) \ argument
136 #define __XF_PROXY_WRITE_cmd_read_idx(proxy, v) \ argument
139 #define __XF_PROXY_WRITE_rsp_read_idx(proxy, v) \ argument
142 #define __XF_PROXY_WRITE_rsp_write_idx(proxy, v) \ argument
/device/generic/opengl-transport/host/commands/emugen/
DEntryPoint.cpp110 const VarType *v = TypeFactory::instance()->getVarTypeByName(vartype); in parse() local
152 Var *v = NULL; in var() local
164 const Var *v = NULL; in var() local
194 const Var * v = var(varname); in validateVarAttr() local
209 Var* v = nullptr; in setAttribute() local
/device/generic/goldfish/camera/
DConverters.h153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV()
162 RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB565ToYUV()
169 RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB32ToYUV()
199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) argument
200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8) argument
201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8) argument
206 YUVToRGB565(int y, int u, int v) in YUVToRGB565()
218 YUVToRGB32(int y, int u, int v) in YUVToRGB32()
DEmulatedCamera2.cpp343 const vendor_tag_query_ops_t *v, in get_camera_vendor_section_name()
350 const vendor_tag_query_ops_t *v, in get_camera_vendor_tag_name()
357 const vendor_tag_query_ops_t *v, in get_camera_vendor_tag_type()
/device/google/cuttlefish/guest/hals/camera/
DConverters.h170 uint8_t* u, uint8_t* v) { in R8G8B8ToYUV()
178 uint8_t* v) { in RGB565ToYUV()
184 uint8_t* v) { in RGB32ToYUV()
213 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) argument
214 #define YUV2G(y, u, v) \ argument
216 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8) argument
219 static __inline__ uint16_t YUVToRGB565(int y, int u, int v) { in YUVToRGB565()
231 static __inline__ uint32_t YUVToRGB32(int y, int u, int v) { in YUVToRGB32()
DEmulatedCamera2.cpp315 const vendor_tag_query_ops_t *v, uint32_t tag) { in get_camera_vendor_section_name()
321 const vendor_tag_query_ops_t *v, uint32_t tag) { in get_camera_vendor_tag_name()
326 int EmulatedCamera2::get_camera_vendor_tag_type(const vendor_tag_query_ops_t *v, in get_camera_vendor_tag_type()
/device/google/contexthub/firmware/os/inc/
DfloatRt.h45 static inline float floatFromUint64(uint64_t v) in floatFromUint64()
50 static inline float floatFromInt64(int64_t v) in floatFromInt64()
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h147 #define SET_HIGH_WORD(d,v) \ argument
157 #define SET_LOW_WORD(d,v) \ argument
260 #define SET_LDBL_EXPSIGN(d,v) \ argument
270 #define LD80C(m, ex, v) { \ argument
276 #define LD80C(m, ex, v) { .e = (v), } argument
319 #define RETURNF(v) return (v) argument
565 #define DOPRINT_END1(v) \ argument
581 #define DOPRINT_END1(v) \ argument
597 #define DOPRINT_END1(v) \ argument
619 #define DOPRINT_END1(v) \ argument
[all …]
/device/google/contexthub/firmware/os/core/
DfloatRt.c126 float floatFromUint64(uint64_t v) in floatFromUint64()
137 float floatFromInt64(int64_t v) in floatFromInt64()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DKeyedVectorUtils.h21 void clearObjectMap(std::map<GLuint, T>& v) { in clearObjectMap()
/device/google/contexthub/firmware/lib/libm/
Dkf_sin.c38 float z,r,v; local
Dfdlibm.h320 #define SET_HIGH_WORD(d,v) \ argument
330 #define SET_LOW_WORD(d,v) \ argument
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.h96 void AppendToMessage(Message* msg, T v, Ts... vals) { in AppendToMessage()
/device/linaro/dragonboard/qcom/pd-mapper/
Dassoc.c43 const char *v = value; in assoc_hash() local
/device/google/crosshatch/json-c/
Dlinkhash.c493 int lh_table_insert(struct lh_table *t, void *k, const void *v) in lh_table_insert()
552 json_bool lh_table_lookup_ex(struct lh_table* t, const void* k, void **v) in lh_table_lookup_ex()
/device/google/bonito/json-c/
Dlinkhash.c493 int lh_table_insert(struct lh_table *t, void *k, const void *v) in lh_table_insert()
552 json_bool lh_table_lookup_ex(struct lh_table* t, const void* k, void **v) in lh_table_lookup_ex()
/device/google/coral/json-c/
Dlinkhash.c493 int lh_table_insert(struct lh_table *t, void *k, const void *v) in lh_table_insert()
552 json_bool lh_table_lookup_ex(struct lh_table* t, const void* k, void **v) in lh_table_lookup_ex()

123