Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 46) sorted by relevance

12

/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h36 template <typename T>
37 int floor(T x);
39 template <typename T>
40 int round(T x);
42 template <typename T>
43 const T & min(const T & a, const T & b);
45 template <typename T>
46 const T & max(const T & a, const T & b);
48 template <typename T>
49 const T & bound(const T & min, const T & x, const T & max);
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
DMap.h34 template <typename T,typename T2>
39 T data;
43 node(T t, T2 t2,node* p, node* n) : in node()
50 static Map<T,T2> *m_self;
55 void insert(T,T2);
58 T2 find(T); // Return VALUE
59 T find_ele(T);// Check if the KEY is present or not
61 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/
DMap.h34 template <typename T,typename T2>
39 T data;
43 node(T t, T2 t2,node* p, node* n) : in node()
50 static Map<T,T2> *m_self;
55 void insert(T,T2);
58 T2 find(T); // Return VALUE
59 T find_ele(T);// Check if the KEY is present or not
61 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/inc/
DMap.h34 template <typename T,typename T2>
39 T data;
43 node(T t, T2 t2,node* p, node* n) : in node()
50 static Map<T,T2> *m_self;
55 void insert(T,T2);
58 T2 find(T); // Return VALUE
59 T find_ele(T);// Check if the KEY is present or not
61 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
DMap.h33 template <typename T,typename T2>
37 T data;
41 node(T t, T2 t2,node* p, node* n) : in node()
48 static Map<T,T2> *m_self;
57 void insert(T,T2);
60 T2 find(T); // Return VALUE
61 T find_ele(T);// Check if the KEY is present or not
63 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/
DMap.h34 template <typename T,typename T2>
39 T data;
43 node(T t, T2 t2,node* p, node* n) : in node()
50 static Map<T,T2> *m_self;
55 void insert(T,T2);
58 T2 find(T); // Return VALUE
59 T find_ele(T);// Check if the KEY is present or not
61 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/
DMap.h34 template <typename T,typename T2>
39 T data;
43 node(T t, T2 t2,node* p, node* n) : in node()
50 static Map<T,T2> *m_self;
55 void insert(T,T2);
58 T2 find(T); // Return VALUE
59 T find_ele(T);// Check if the KEY is present or not
61 bool erase(T);
76 template <typename T,typename T2>
77 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
DMap.h34 template <typename T,typename T2>
38 T data;
42 node(T t, T2 t2,node* p, node* n) : in node()
49 static Map<T,T2> *m_self;
58 void insert(T,T2);
61 T2 find(T); // Return VALUE
62 T find_ele(T);// Check if the KEY is present or not
64 bool erase(T);
77 template <typename T,typename T2>
78 T2 Map<T,T2>::find(T d1) in find()
[all …]
/hardware/ril/libril/
DrilSocketQueue.h35 template <typename T>
56 T *front;
65 T* dequeue(void);
72 void enqueue(T* request);
93 template <typename T>
94 Ril_queue<T>::Ril_queue(void) { in Ril_queue()
101 template <typename T>
102 T* Ril_queue<T>::dequeue(void) { in dequeue()
103 T* temp = NULL; in dequeue()
120 template <typename T>
[all …]
/hardware/intel/img/psb_video/src/
Dtng_ved_scaling.c112 IMG_UINT32 T) in tng_calculate_scaler_coeff() argument
134 for (t = 0; t < T; t++) in tng_calculate_scaler_coeff()
142 for (t = 0; t < T; t++) in tng_calculate_scaler_coeff()
145 (float)I, (float)T, fScale); in tng_calculate_scaler_coeff()
149 if (T>2) in tng_calculate_scaler_coeff()
151 for (t = 0; t < ((T / 2) + (T % 2)); t++) in tng_calculate_scaler_coeff()
156 mT = ((T - 1) - t) + (I - i) / I; in tng_calculate_scaler_coeff()
158 if (((IMG_UINT32)mI < I) && ((IMG_UINT32)mT < T) && in tng_calculate_scaler_coeff()
159 ((t < ((T / 2) + (T % 2) - 1)) || ((I - i) > ((T % 2) * (I / 2))))) in tng_calculate_scaler_coeff()
167 mT = T / 2; in tng_calculate_scaler_coeff()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h698 #define GTEST_0_TUPLE_(T) tuple<> argument
699 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ argument
701 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ argument
703 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ argument
705 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ argument
707 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ argument
709 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \ argument
711 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ argument
713 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ argument
714 T##7, void, void>
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h264 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } in max()
265 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } in min()
288 template <class T>
289 inline void swap(T& a, T& b) { in swap()
290 T tmp = a; in swap()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.h380 template <class T>
381 inline void memset0(T& t) { ::memset(&t, 0, sizeof(t)); } in memset0()
383 template <class T> inline void swap ( T& a, T& b ) in swap()
385 T c(a); a=b; b=c; in swap()
388 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } in max()
390 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } in min()
524 template <class T>
525 inline void even_ceil(T& value) { in even_ceil()
530 template <class T>
531 inline void even_floor(T& value) { in even_floor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.h383 template <class T>
384 inline void memset0(T& t) { ::memset(&t, 0, sizeof(t)); } in memset0()
386 template <class T> inline void swap ( T& a, T& b ) in swap()
388 T c(a); a=b; b=c; in swap()
391 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } in max()
393 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } in min()
531 template <class T>
532 inline void even_ceil(T& value) { in even_ceil()
537 template <class T>
538 inline void even_floor(T& value) { in even_floor()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dtreewriter.c16 vp8_tree T, in cost() argument
26 const vp8_tree_index j = T[i]; in cost()
32 cost(C, T, P, j, d); in cost()
Dmodecosts.c24 const vp8_tree_p T = vp8_bmode_tree; in vp8_init_mode_costs() local
35 vp8_kf_bmode_prob[i][j], T); in vp8_init_mode_costs()
41 vp8_cost_tokens(rd_costs->inter_bmode_costs, x->fc.bmode_prob, T); in vp8_init_mode_costs()
/hardware/qcom/display/msm8996/sdm/include/core/
Ddebug_interface.h139 template <class T>
143 T::Get()->BeginTrace(class_name, function_name, ""); in ScopeTracer()
146 ~ScopeTracer() { T::Get()->EndTrace(); } in ~ScopeTracer()
/hardware/qcom/display/msm8996/sdm/include/private/
Dcolor_params.h128 template <typename T>
129 DisplayError CreatePayload(T *&output) { in CreatePayload()
132 payload = new uint8_t[sizeof(T)](); in CreatePayload()
137 this->size = sizeof(T); in CreatePayload()
138 output = reinterpret_cast<T *>(payload); in CreatePayload()
359 template <typename T>
371 T *GetParamsReference(void) { return params_; } in GetParamsReference()
377 info->params_ = T::Init(arg);
391 T *params_ = NULL;
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h72 template <class T>
73 inline void Swap(T &a, T &b) { in Swap()
74 T c(a); in Swap()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.h441 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } in max()
442 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } in min()
465 template <class T>
466 inline void swap(T& a, T& b) { in swap()
467 T tmp = a; in swap()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h468 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } in max()
469 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } in min()
492 template <class T>
493 inline void swap(T& a, T& b) { in swap()
494 T tmp = a; in swap()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.h420 template <class T>
421 inline void memset0(T& t) { ::memset(&t, 0, sizeof(T)); } in memset0()
423 template <class T> inline void swap ( T& a, T& b ) in swap()
425 T c(a); a=b; b=c; in swap()
699 template <class T>
700 inline void even_ceil(T& value) { in even_ceil()
705 template <class T>
706 inline void even_floor(T& value) { in even_floor()
/hardware/libhardware/tests/hardware/
Dstruct-size.cpp38 template<typename T, size_t size32, size_t size64> static void CheckTypeSize() { in CheckTypeSize()
41 static_assert(sizeof(T) == mySize, "struct is the wrong size"); in CheckTypeSize()
/hardware/libhardware/modules/input/evdev/
DInputDeviceManager.h51 template<class T, class U>
52 using DeviceMap = std::unordered_map<std::shared_ptr<T>, std::shared_ptr<U>>;
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.h394 template <class T>
395 inline void memset0(T& t) { ::memset(&t, 0, sizeof(t)); } in memset0()
397 template <class T> inline void swap ( T& a, T& b ) in swap()
399 T c(a); a=b; b=c; in swap()
534 template <class T>
535 inline void even_ceil(T& value) { in even_ceil()
540 template <class T>
541 inline void even_floor(T& value) { in even_floor()

12