Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 39) sorted by relevance

12

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dqueue.c39 void *element; member
73 void *element = pop(q); in free_queue_and_qelement() local
74 if (element) in free_queue_and_qelement()
75 free(element); in free_queue_and_qelement()
79 int push(Queue *q, void * element) in push() argument
86 new_node->element = element; in push()
107 void *element; in pop() local
113 element = temp->element; in pop()
126 return element; in pop()
Dts_parser.cpp213 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
224 if (!element) in get_next_timestamp()
225 element = &phead->input_timestamps[i]; in get_next_timestamp()
227 if (element->timestamps > phead->input_timestamps[i].timestamps){ in get_next_timestamp()
228 element = &phead->input_timestamps[i]; in get_next_timestamp()
230 } else if(element->timestamps == phead->input_timestamps[i].timestamps) in get_next_timestamp()
235 if (element) { in get_next_timestamp()
237 header->nTimeStamp = element->timestamps; in get_next_timestamp()
240 element->in_use = false; in get_next_timestamp()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dqueue.c38 void *element; member
70 void *element = pop(q); in free_queue_and_qelement() local
72 if (element) in free_queue_and_qelement()
73 free(element); in free_queue_and_qelement()
77 int push(Queue *q, void * element) in push() argument
84 new_node->element = element; in push()
102 void *element; in pop() local
108 element = temp->element; in pop()
118 return element; in pop()
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
273 if (!element) in get_next_timestamp()
274 element = &phead->input_timestamps[i]; in get_next_timestamp()
276 if (element->timestamps > phead->input_timestamps[i].timestamps) { in get_next_timestamp()
277 element = &phead->input_timestamps[i]; in get_next_timestamp()
279 } else if (element->timestamps == phead->input_timestamps[i].timestamps) in get_next_timestamp()
285 if (element) { in get_next_timestamp()
287 header->nTimeStamp = element->timestamps; in get_next_timestamp()
292 element->in_use = false; in get_next_timestamp()
299 element = NULL; in get_next_timestamp()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
273 if (!element) in get_next_timestamp()
274 element = &phead->input_timestamps[i]; in get_next_timestamp()
276 if (element->timestamps > phead->input_timestamps[i].timestamps) { in get_next_timestamp()
277 element = &phead->input_timestamps[i]; in get_next_timestamp()
279 } else if (element->timestamps == phead->input_timestamps[i].timestamps) in get_next_timestamp()
285 if (element) { in get_next_timestamp()
287 header->nTimeStamp = element->timestamps; in get_next_timestamp()
292 element->in_use = false; in get_next_timestamp()
299 element = NULL; in get_next_timestamp()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
273 if (!element) in get_next_timestamp()
274 element = &phead->input_timestamps[i]; in get_next_timestamp()
276 if (element->timestamps > phead->input_timestamps[i].timestamps) { in get_next_timestamp()
277 element = &phead->input_timestamps[i]; in get_next_timestamp()
279 } else if (element->timestamps == phead->input_timestamps[i].timestamps) in get_next_timestamp()
285 if (element) { in get_next_timestamp()
287 header->nTimeStamp = element->timestamps; in get_next_timestamp()
292 element->in_use = false; in get_next_timestamp()
299 element = NULL; in get_next_timestamp()
[all …]
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsMiscellaneousTests.cpp36 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
37 EXPECT_NE(Element(0), element); in TEST_F()
48 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
49 ASSERT_NE(Element(0), element); in TEST_F()
52 Type type = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
76 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
77 ASSERT_NE(Element(0), element); in TEST_F()
80 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
84 context->elementGetNativeMetadata(element, [&](const hidl_vec<uint32_t>& _metadata){ in TEST_F()
100 EXPECT_EQ(element, (Element)typeMetadata[5]); in TEST_F()
[all …]
DVtsCopyTests.cpp32 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
33 ASSERT_NE(Element(0), element); in TEST_F()
36 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
68 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
69 ASSERT_NE(Element(0), element); in TEST_F()
72 Type type = context->typeCreate(element, 128, 128, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
105 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
106 ASSERT_NE(Element(0), element); in TEST_F()
109 Type type = context->typeCreate(element, 32, 32, 32, false, false, YuvFormat::YUV_NONE); in TEST_F()
142 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
[all …]
DVtsScriptTests.cpp27 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 1); in TEST_F() local
28 EXPECT_NE(Element(0), element); in TEST_F()
30 Script script = context->scriptIntrinsicCreate(ScriptIntrinsicID::ID_BLUR, element); in TEST_F()
79 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
80 ASSERT_NE(Element(0), element); in TEST_F()
83 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
201 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 1); in TEST_F() local
202 ASSERT_NE(Element(0), element); in TEST_F()
205 Type type = context->typeCreate(element, 64, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
247 Element element = context->elementCreate(DataType::SIGNED_32, DataKind::USER, false, 1); in TEST_F() local
[all …]
/hardware/intel/common/libmix/mix_video/src/
Dmixsurfacepool.c334 GSList *element = g_slist_find(obj->in_use_list, frame); in mix_surfacepool_put() local
335 if (element == NULL) { in mix_surfacepool_put()
344 obj->in_use_list = g_slist_remove_link(obj->in_use_list, element); in mix_surfacepool_put()
349 obj->free_list = g_slist_concat(obj->free_list, element); in mix_surfacepool_put()
397 GSList *element = obj->free_list; local
398 obj->free_list = g_slist_remove_link(obj->free_list, element);
399 if (element == NULL) {
410 obj->in_use_list = g_slist_concat(obj->in_use_list, element);
415 MIX_PARAMS(element->data)->refcount);
418 *frame = (MixVideoFrame *) element->data;
[all …]
Dmixbufferpool.c311 GSList *element = g_slist_find(obj->in_use_list, buffer); in mix_bufferpool_put() local
312 if (element == NULL) { in mix_bufferpool_put()
321 obj->in_use_list = g_slist_remove_link(obj->in_use_list, element); in mix_bufferpool_put()
324 obj->free_list = g_slist_concat(obj->free_list, element); in mix_bufferpool_put()
360 GSList *element = obj->free_list; in mix_bufferpool_get() local
361 obj->free_list = g_slist_remove_link(obj->free_list, element); in mix_bufferpool_get()
362 if (element == NULL) { in mix_bufferpool_get()
371 obj->in_use_list = g_slist_concat(obj->in_use_list, element); in mix_bufferpool_get()
376 MIX_PARAMS(element->data)->refcount); in mix_bufferpool_get()
379 *buffer = (MixBuffer *) element->data; in mix_bufferpool_get()
/hardware/libhardware/modules/camera/3_4/metadata/
Denum_converter.cpp67 auto element = element_range.first; in V4L2ToMetadata() local
68 *conversion = element->second; in V4L2ToMetadata()
70 if (++element != element_range.second) { in V4L2ToMetadata()
/hardware/interfaces/secure_element/1.0/
DISecureElement.hal59 * the secure element, an empty vector is returned.
71 * element has reached the maximum limit on the number of
74 * doesn't match any applet on the secure element and
95 * element has reached the maximum limit on the number of
98 * doesn't match any applet on the secure element and
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Netlink.cpp55 #define IPACM_NL_COPY_ADDR( event_info, element ) \ argument
56 memcpy( &event_info->attr_info.element.__data, \
58 sizeof(event_info->attr_info.element.__data) );
60 #define IPACM_EVENT_COPY_ADDR_v6( event_data, element) \ argument
61 memcpy( event_data, element.__data, sizeof(event_data));
63 #define IPACM_EVENT_COPY_ADDR_v4( event_data, element) \ argument
64 memcpy( &event_data, element.__data, sizeof(event_data));
75 #define IPACM_NL_COPY_ADDR( event_info, element ) \ argument
76 memcpy( &event_info->attr_info.element.__ss_padding, \
78 sizeof(event_info->attr_info.element.__ss_padding) );
[all …]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h318 WriteState write(WriteState wState, const MapElement<Key, Value>& element) {
320 wState = write(wState, element.key_);
321 return write(wState, element.value_);
/hardware/interfaces/renderscript/1.0/
DIContext.hal213 * @param offset The offset of the first element to be copied
226 * @param x X position of the first element in the Allocation to be updated
227 * @param y Y position of the first element in the Allocation to be
229 * @param z Z position of the first element in the Allocation to be
335 * @param xoff X offset of the first element to be copied
352 * @param x X position of the first element in the Allocation to be read
353 * @param y Y position of the first element in the Allocation to be read
354 * @param z Z position of the first element in the Allocation to be read
566 * @param element Element to be read
570 elementGetNativeMetadata(Element element)
[all …]
/hardware/interfaces/renderscript/1.0/default/
DContext.h68 …Return<void> elementGetNativeMetadata(Element element, elementGetNativeMetadata_cb _hidl_cb) overr…
69 …Return<void> elementGetSubElements(Element element, Size numSubElem, elementGetSubElements_cb _hid…
73 …Return<Type> typeCreate(Element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps…
DContext.cpp347 Return<void> Context::elementGetNativeMetadata(Element element, elementGetNativeMetadata_cb _hidl_c… in elementGetNativeMetadata() argument
348 RsElement _element = hidl_to_rs<RsElement>(element); in elementGetNativeMetadata()
356 Return<void> Context::elementGetSubElements(Element element, Size numSubElem, elementGetSubElements… in elementGetSubElements() argument
357 RsElement _element = hidl_to_rs<RsElement>(element); in elementGetSubElements()
397 Return<Type> Context::typeCreate(Element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool… in typeCreate() argument
398 RsElement _element = hidl_to_rs<RsElement>(element); in typeCreate()
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.hal103 * a tensor with a single element is returned.
140 * padding[i, 0] specifies the number of element to be padded in the
142 * padding[i, 1] specifies the number of element to be padded after the
175 * padding[i, 0] specifies the number of element to be padded in the
177 * padding[i, 1] specifies the number of element to be padded after the
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal72 * Adds two tensors, element-wise.
470 * Computes element-wise floor() on the input tensor.
488 * in the input tensor with each element in the output tensor.
560 * [ n ]; Keys and Values pair represent a map, i.e., the ith element
707 * Computes sigmoid activation on the input tensor element-wise.
740 * If not set, each input element is considered to have the same weight
746 * Each output element is an int32 made up of multiple bits
751 * element represents a bit and can take the value of either
813 * matrix, each element of which is the product of the corresponding
1025 * Multiplies two tensors, element-wise.
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp427 for (const auto& element : mDisplays) { in dump() local
428 const auto& display = element.second; in dump()
681 for (const auto& element : mChanges->getTypeChanges()) { in getChangedCompositionTypes() local
685 auto layerId = element.first; in getChangedCompositionTypes()
686 auto intType = static_cast<int32_t>(element.second); in getChangedCompositionTypes()
688 to_string(element.second).c_str()); in getChangedCompositionTypes()

12