Home
last modified time | relevance | path

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

12

/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/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/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/qcom/media/msm8974/mm-video-legacy/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/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dqueue.h36 int push(Queue *q, void * element);
/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.cpp349 Return<void> Context::elementGetNativeMetadata(Element element, elementGetNativeMetadata_cb _hidl_c… in elementGetNativeMetadata() argument
350 RsElement _element = hidl_to_rs<RsElement>(element); in elementGetNativeMetadata()
358 Return<void> Context::elementGetSubElements(Element element, Size numSubElem, elementGetSubElements… in elementGetSubElements() argument
359 RsElement _element = hidl_to_rs<RsElement>(element); in elementGetSubElements()
399 Return<Type> Context::typeCreate(Element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool… in typeCreate() argument
400 RsElement _element = hidl_to_rs<RsElement>(element); in typeCreate()
/hardware/interfaces/automotive/vehicle/2.1/
Dtypes.hal29 * The value is a vector each element represents distance for individual
142 * each element of int64Values is the timestamp at which a a fault code
144 * such element can be used as the key to OBD2_FREEZE_FRAME to retrieve
/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()
/hardware/interfaces/sensors/1.0/
Dtypes.hal498 * the "scalar" element of the EventPayload in Event. The
1005 * a three-element vector raw sensor reading.
1011 * Location and orientation of sensor element in the device frame: origin is
1044 * bit mask that represents which element the filter is applied
1045 * to. (bit 0==1 means this filter applies to vector element 0).
1055 * float[n]: matrix element values in row major order.
DISensors.hal71 * added. Each element corresponds to a dynamic sensor meta events
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal666 * an element of layers.
686 * @param layerRequestMasks is the requests corresponding to each element
724 * corresponding to an element of layers.
/hardware/interfaces/radio/1.0/
DIRadio.hal1164 * as the RP-User-Data element of the RP-ACK or RP-ERROR PDU.
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h504 uint32 element[1]; member

12