Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 113) sorted by relevance

12345

/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
Dmlerrorcode.h24 #define CALL_N_CHECK(f) { \ argument
25 unsigned int r35uLt = f; \
28 __FILE__, __LINE__, #f, MLErrorCode(r35uLt), r35uLt); \
32 #define CALL_CHECK_N_RETURN_ERROR(f) { \ argument
33 unsigned int r35uLt = f; \
36 __FILE__, __LINE__, #f, MLErrorCode(r35uLt), r35uLt); \
42 #define CALL_CHECK_N_RETURN(f) do { \ argument
43 unsigned int r35uLt = f; \
46 __FILE__, __LINE__, #f, MLErrorCode(r35uLt), r35uLt); \
51 #define CALL_CHECK_N_EXIT(f) { \ argument
[all …]
/hardware/qcom/display/msm8998/gpu_tonemapper/
Dfullscreen_vertex_shader.inl28 " positions[0] = vec2(-1.0f, 3.0f); \n"
29 " positions[1] = vec2(-1.0f, -1.0f); \n"
30 " positions[2] = vec2(3.0f, -1.0f); \n"
32 " uvs[0] = vec2(0.0f, -1.0f); \n"
33 " uvs[1] = vec2(0.0f, 1.0f); \n"
34 " uvs[2] = vec2(2.0f, 1.0f); \n"
35 " gl_Position = vec4(positions[gl_VertexID], -1.0f, 1.0f); \n"
Dforward_tonemap.inl36 "float r = texture(xform, vec2(r, 0.0f)).r; \n"
37 "float g = texture(xform, vec2(g, 0.0f)).g; \n"
38 "float b = texture(xform, vec2(b, 0.0f)).b; \n"
Drgba_inverse_tonemap.inl39 …"float r = texture(xform, vec2(rgb.r, 0.0f)).r; …
40 …"float g = texture(xform, vec2(rgb.g, 0.0f)).g; …
41 …"float b = texture(xform, vec2(rgb.b, 0.0f)).b; …
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc1.h50 GRALLOC1_PFN_RETAIN f = in gralloc1_register_img() local
55 err = f(g, handle); in gralloc1_register_img()
70 GRALLOC1_PFN_RELEASE f = in gralloc1_unregister_img() local
75 err = f(g, handle); in gralloc1_unregister_img()
191 GRALLOC1_PFN_LOCK f = in gralloc1_lock_async_img() local
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
216 GRALLOC1_PFN_UNLOCK f = in gralloc1_unlock_async_img() local
221 err = f(g, handle, &releaseFence32); in gralloc1_unlock_async_img()
242 GRALLOC1_PFN_BLIT_HANDLE_TO_HANDLE_IMG f = in gralloc1_blit_handle_to_handle_img() local
246 return f(g, src, dest, w, h, x, y, transform, input_fence, output_fence); in gralloc1_blit_handle_to_handle_img()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc1.h50 GRALLOC1_PFN_RETAIN f = in gralloc1_register_img() local
55 err = f(g, handle); in gralloc1_register_img()
70 GRALLOC1_PFN_RELEASE f = in gralloc1_unregister_img() local
75 err = f(g, handle); in gralloc1_unregister_img()
191 GRALLOC1_PFN_LOCK f = in gralloc1_lock_async_img() local
201 err = f(g, handle, producerUsage, consumerUsage, r, vaddr, acquireFence); in gralloc1_lock_async_img()
216 GRALLOC1_PFN_UNLOCK f = in gralloc1_unlock_async_img() local
221 err = f(g, handle, &releaseFence32); in gralloc1_unlock_async_img()
242 GRALLOC1_PFN_BLIT_HANDLE_TO_HANDLE_IMG f = in gralloc1_blit_handle_to_handle_img() local
246 return f(g, src, dest, w, h, x, y, transform, input_fence, output_fence); in gralloc1_blit_handle_to_handle_img()
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.cpp77 return os << param.f.integer; in operator <<()
82 return os << param.f.algorithm; in operator <<()
84 return os << param.f.blockMode; in operator <<()
86 return os << param.f.paddingMode; in operator <<()
88 return os << param.f.digest; in operator <<()
90 return os << (int)param.f.ecCurve; in operator <<()
92 return os << param.f.origin; in operator <<()
94 return os << (int)param.f.keyBlobUsageRequirements; in operator <<()
96 return os << param.f.purpose; in operator <<()
98 return os << " UNKNOWN ENUM " << param.f.integer; in operator <<()
[all …]
Dkeymaster_tags.h195 MAKE_TAG_VALUE_ACCESSOR(TagType::ULONG, f.longInteger)
196 MAKE_TAG_VALUE_ACCESSOR(TagType::ULONG_REP, f.longInteger)
197 MAKE_TAG_VALUE_ACCESSOR(TagType::DATE, f.dateTime)
198 MAKE_TAG_VALUE_ACCESSOR(TagType::UINT, f.integer)
199 MAKE_TAG_VALUE_ACCESSOR(TagType::UINT_REP, f.integer)
200 MAKE_TAG_VALUE_ACCESSOR(TagType::BOOL, f.boolValue)
217 MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_ALGORITHM, f.algorithm)
218 MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_BLOB_USAGE_REQUIREMENTS, f.keyBlobUsageRequirements)
219 MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_BLOCK_MODE, f.blockMode)
220 MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_DIGEST, f.digest)
[all …]
Dauthorization_set.cpp45 return a.f.integer < b.f.integer; in keyParamLess()
48 return a.f.longInteger < b.f.longInteger; in keyParamLess()
50 return a.f.dateTime < b.f.dateTime; in keyParamLess()
79 return a.f.integer == b.f.integer; in keyParamEqual()
82 return a.f.longInteger == b.f.longInteger; in keyParamEqual()
84 return a.f.dateTime == b.f.dateTime; in keyParamEqual()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_descriptor.h40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument
43 format_(f), in BufferDescriptor()
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument
52 format_(f), in BufferDescriptor()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_descriptor.h40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() argument
43 format_(f), in BufferDescriptor()
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() argument
52 format_(f), in BufferDescriptor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.h167 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
168 w(wi), h(he), format(f), size(0) {} in Whf()
169 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
170 w(wi), h(he), format(f), size(s) {} in Whf()
323 PipeArgs(eMdpFlags f, Whf _whf,
326 mdpFlags(f), in mdpFlags()
348 inline void setMdpFlags(eMdpFlags& f, eMdpFlags v) { in setMdpFlags() argument
349 f = static_cast<eMdpFlags>(setBit(f, v)); in setMdpFlags()
352 inline void clearMdpFlags(eMdpFlags& f, eMdpFlags v) { in clearMdpFlags() argument
353 f = static_cast<eMdpFlags>(clrBit(f, v)); in clearMdpFlags()
[all …]
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.h167 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
168 w(wi), h(he), format(f), size(0) {} in Whf()
169 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
170 w(wi), h(he), format(f), size(s) {} in Whf()
320 PipeArgs(eMdpFlags f, Whf _whf,
323 mdpFlags(f), in mdpFlags()
345 inline void setMdpFlags(eMdpFlags& f, eMdpFlags v) { in setMdpFlags() argument
346 f = static_cast<eMdpFlags>(setBit(f, v)); in setMdpFlags()
349 inline void clearMdpFlags(eMdpFlags& f, eMdpFlags v) { in clearMdpFlags() argument
350 f = static_cast<eMdpFlags>(clrBit(f, v)); in clearMdpFlags()
[all …]
DoverlayMdp.h99 void setFlags(int f);
197 inline void MdpCtrl::setFlags(int f) { in setFlags() argument
198 mOVInfo.flags = f; in setFlags()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.h167 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
168 w(wi), h(he), format(f), size(0) {} in Whf()
169 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
170 w(wi), h(he), format(f), size(s) {} in Whf()
330 PipeArgs(eMdpFlags f, Whf _whf,
333 mdpFlags(f), in mdpFlags()
357 inline void setMdpFlags(eMdpFlags& f, eMdpFlags v) { in setMdpFlags() argument
358 f = static_cast<eMdpFlags>(setBit(f, v)); in setMdpFlags()
361 inline void clearMdpFlags(eMdpFlags& f, eMdpFlags v) { in clearMdpFlags() argument
362 f = static_cast<eMdpFlags>(clrBit(f, v)); in clearMdpFlags()
[all …]
DoverlayMdp.h99 void setFlags(int f);
199 inline void MdpCtrl::setFlags(int f) { in setFlags() argument
200 mOVInfo.flags = f; in setFlags()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2966 static void encode_pb_pictures(FILE *yuv_fp, FILE *avc_fp, int f, int nbframes, int next_f) in encode_pb_pictures() argument
2970 enc_frame_number, f + nbframes, in encode_pb_pictures()
2972 SLICE_TYPE_P, 1, f); in encode_pb_pictures()
2976 enc_frame_number + 1, f + i, in encode_pb_pictures()
2978 SLICE_TYPE_B, 1, f + i + 1); in encode_pb_pictures()
2982 enc_frame_number + 1, f + nbframes - 1, in encode_pb_pictures()
3206 int f; in encode_file() local
3231 for ( int f = 0; f < frame_number; ) { //picture level loop in encode_file() local
3239 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_I, 0, f+1); in encode_file()
3240 f++; in encode_file()
[all …]
/hardware/intel/common/libva/test/encode/
Davcenc.c1375 static void encode_pb_pictures(FILE *yuv_fp, FILE *avc_fp, int f, int nbframes, int next_f) in encode_pb_pictures() argument
1379 enc_frame_number, f + nbframes, in encode_pb_pictures()
1381 SLICE_TYPE_P, 1, f); in encode_pb_pictures()
1385 enc_frame_number + 1, f + i, in encode_pb_pictures()
1387 SLICE_TYPE_B, 1, f + i + 1); in encode_pb_pictures()
1391 enc_frame_number + 1, f + nbframes - 1, in encode_pb_pictures()
1552 int f; in main() local
1642 for ( f = 0; f < frame_number; ) { //picture level loop in main()
1650 encode_picture(yuv_fp, avc_fp,enc_frame_number, f, f==0, SLICE_TYPE_I, 0, f+1); in main()
1651 f++; in main()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.h194 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
195 w(wi), h(he), format(f), size(0) {} in Whf()
196 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
197 w(wi), h(he), format(f), size(s) {} in Whf()
353 PipeArgs(eMdpFlags f, Whf _whf, in PipeArgs()
356 mdpFlags(f), in PipeArgs()
380 inline void setMdpFlags(eMdpFlags& f, eMdpFlags v) { in setMdpFlags() argument
381 f = static_cast<eMdpFlags>(setBit(f, v)); in setMdpFlags()
384 inline void clearMdpFlags(eMdpFlags& f, eMdpFlags v) { in clearMdpFlags() argument
385 f = static_cast<eMdpFlags>(clrBit(f, v)); in clearMdpFlags()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.h198 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
199 w(wi), h(he), format(f), size(0) {} in Whf()
200 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
201 w(wi), h(he), format(f), size(s) {} in Whf()
361 PipeArgs(eMdpFlags f, Whf _whf,
364 mdpFlags(f), in mdpFlags()
388 inline void setMdpFlags(eMdpFlags& f, eMdpFlags v) { in setMdpFlags() argument
389 f = static_cast<eMdpFlags>(setBit(f, v)); in setMdpFlags()
392 inline void clearMdpFlags(eMdpFlags& f, eMdpFlags v) { in clearMdpFlags() argument
393 f = static_cast<eMdpFlags>(clrBit(f, v)); in clearMdpFlags()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c453 #define VARVAL(f, v) printf("\t%s : " f "\n", #v, v); in dump_dmp_event_struct() argument
652 struct dmp_feat_t f = { in main() local
658 dmp_feat[pollfds_used] = f; in main()
662 struct dmp_feat_t f = { in main() local
668 dmp_feat[pollfds_used] = f; in main()
682 struct dmp_feat_t f = { in main() local
688 dmp_feat[pollfds_used] = f; in main()
692 struct dmp_feat_t f = { in main() local
698 dmp_feat[pollfds_used] = f; in main()
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp87 auto f = delay_async(100ms, [&]() { EXPECT_EQ(OK, mInputHub->wake()); }); in TEST_F() local
110 auto f = delay_async(100ms, in TEST_F() local
148 auto f = delay_async(100ms, [&]() { deviceFile.reset(); }); in TEST_F() local
172 auto f = delay_async(inputDelayMs, [&] { in TEST_F() local
229 auto f = delay_async(100ms, in TEST_F() local
/hardware/interfaces/keymaster/3.0/default/
DKeymasterDevice.cpp234 params[i] = keymaster_param_enum(tag, keyParams[i].f.integer); in KmParamSet()
238 params[i] = keymaster_param_int(tag, keyParams[i].f.integer); in KmParamSet()
242 params[i] = keymaster_param_long(tag, keyParams[i].f.longInteger); in KmParamSet()
245 params[i] = keymaster_param_date(tag, keyParams[i].f.dateTime); in KmParamSet()
248 if (keyParams[i].f.boolValue) in KmParamSet()
327 result[i].f.integer = params[i].enumerated; in kmParamSet2Hidl()
331 result[i].f.integer = params[i].integer; in kmParamSet2Hidl()
335 result[i].f.longInteger = params[i].long_integer; in kmParamSet2Hidl()
338 result[i].f.dateTime = params[i].date_time; in kmParamSet2Hidl()
341 result[i].f.boolValue = params[i].boolean; in kmParamSet2Hidl()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.h97 int operateSensor(int handle, TF f) const { in operateSensor() argument
108 return f(s); in operateSensor()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp111 FullHandle f = global_to_full[global_handle]; in get_module_index() local
113 global_handle, f.moduleIndex, f.localHandle); in get_module_index()
114 return f.moduleIndex; in get_module_index()
509 std::ifstream f(i); in get_so_paths() local
510 if (f) { in get_so_paths()
511 stream = std::move(f); in get_so_paths()

12345