Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 99) sorted by relevance

1234

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp82 inline void copyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in copyHidlVec() argument
83 for (size_t i = 0; i < std::min(dest->size(), src.size()); i++) { in copyHidlVec()
84 (*dest)[i] = src[i]; in copyHidlVec()
88 void copyVehicleRawValue(VehiclePropValue::RawValue* dest, in copyVehicleRawValue() argument
90 dest->int32Values = src.int32Values; in copyVehicleRawValue()
91 dest->floatValues = src.floatValues; in copyVehicleRawValue()
92 dest->int64Values = src.int64Values; in copyVehicleRawValue()
93 dest->bytes = src.bytes; in copyVehicleRawValue()
94 dest->stringValue = src.stringValue; in copyVehicleRawValue()
98 void shallowCopyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in shallowCopyHidlVec() argument
[all …]
DVehicleObjectPool.cpp46 auto dest = obtain(type, vecSize); in obtain() local
48 dest->prop = src.prop; in obtain()
49 dest->areaId = src.areaId; in obtain()
50 dest->status = src.status; in obtain()
51 dest->timestamp = src.timestamp; in obtain()
52 copyVehicleRawValue(&dest->value, src.value); in obtain()
54 return dest; in obtain()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.cpp85 int Overlay::getPipeId(utils::eDest dest) { in getPipeId() argument
86 return mPipeBook[(int)dest].mPipe->getPipeId(); in getPipeId()
90 eDest dest = OV_INVALID; in getDest() local
97 return dest; in getDest()
101 eDest dest = getDest(pipeid); in reservePipe() local
102 PipeBook::setAllocation((int)dest); in reservePipe()
103 return dest; in reservePipe()
107 eDest dest = OV_INVALID; in nextPipe() local
125 dest = (eDest)i; in nextPipe()
131 if(dest != OV_INVALID) { in nextPipe()
[all …]
Doverlay.h96 int getPipeId(utils::eDest dest);
98 void setSource(const utils::PipeArgs args, utils::eDest dest);
99 void setCrop(const utils::Dim& d, utils::eDest dest);
100 void setColor(const uint32_t color, utils::eDest dest);
101 void setTransform(const int orientation, utils::eDest dest);
102 void setPosition(const utils::Dim& dim, utils::eDest dest);
103 void setVisualParams(const MetaData_t& data, utils::eDest dest);
104 bool commit(utils::eDest dest);
105 bool queueBuffer(int fd, uint32_t offset, utils::eDest dest);
108 bool sessionInProgress(utils::eDest dest);
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dframeparser.cpp145 OMX_BUFFERHEADERTYPE *dest , in parse_sc_frame() argument
153 if (source == NULL || dest == NULL || partialframe == NULL) in parse_sc_frame()
159 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
161 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
183 dest->nFlags = source->nFlags; in parse_sc_frame()
184 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
190 dest->nFilledLen += 3; in parse_sc_frame()
203 dest->nFilledLen += 4; in parse_sc_frame()
239 dest->nFilledLen++; in parse_sc_frame()
247 dest->nFilledLen += 2; in parse_sc_frame()
[all …]
/hardware/qcom/sm8150/media/libarbitrarybytes/src/
Dframeparser.cpp106 OMX_BUFFERHEADERTYPE *dest , in parse_sc_frame() argument
114 if (source == NULL || dest == NULL || partialframe == NULL) { in parse_sc_frame()
119 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
121 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
141 dest->nFlags = source->nFlags; in parse_sc_frame()
142 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
151 dest->nFilledLen += 4; in parse_sc_frame()
184 dest->nFilledLen++; in parse_sc_frame()
190 dest->nFilledLen += 2; in parse_sc_frame()
196 dest->nFilledLen +=3; in parse_sc_frame()
[all …]
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp103 int Overlay::getPipeId(utils::eDest dest) { in getPipeId() argument
104 return mPipeBook[(int)dest].mPipe->getPipeId(); in getPipeId()
108 eDest dest = OV_INVALID; in getDest() local
115 return dest; in getDest()
119 eDest dest = getDest(pipeid); in reservePipe() local
120 PipeBook::setAllocation((int)dest); in reservePipe()
121 return dest; in reservePipe()
125 eDest dest = OV_INVALID; in nextPipe() local
139 dest = (eDest)i; in nextPipe()
145 if(dest != OV_INVALID) { in nextPipe()
[all …]
Doverlay.h93 int getPipeId(utils::eDest dest);
95 void setSource(const utils::PipeArgs args, utils::eDest dest);
96 void setCrop(const utils::Dim& d, utils::eDest dest);
97 void setColor(const uint32_t color, utils::eDest dest);
98 void setTransform(const int orientation, utils::eDest dest);
99 void setPosition(const utils::Dim& dim, utils::eDest dest);
100 void setVisualParams(const MetaData_t& data, utils::eDest dest);
101 bool commit(utils::eDest dest);
102 bool queueBuffer(int fd, uint32_t offset, utils::eDest dest);
105 bool sessionInProgress(utils::eDest dest);
[all …]
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.cpp92 int Overlay::getPipeId(utils::eDest dest) { in getPipeId() argument
93 return mPipeBook[(int)dest].mPipe->getPipeId(); in getPipeId()
97 eDest dest = OV_INVALID; in getDest() local
104 return dest; in getDest()
108 eDest dest = getDest(pipeid); in reservePipe() local
109 PipeBook::setAllocation((int)dest); in reservePipe()
110 return dest; in reservePipe()
114 eDest dest = OV_INVALID; in nextPipe() local
128 dest = (eDest)i; in nextPipe()
134 if(dest != OV_INVALID) { in nextPipe()
[all …]
Doverlay.h92 int getPipeId(utils::eDest dest);
94 void setSource(const utils::PipeArgs args, utils::eDest dest);
95 void setCrop(const utils::Dim& d, utils::eDest dest);
96 void setColor(const uint32_t color, utils::eDest dest);
97 void setTransform(const int orientation, utils::eDest dest);
98 void setPosition(const utils::Dim& dim, utils::eDest dest);
99 void setVisualParams(const MetaData_t& data, utils::eDest dest);
100 bool commit(utils::eDest dest);
101 bool queueBuffer(int fd, uint32_t offset, utils::eDest dest);
104 bool sessionInProgress(utils::eDest dest);
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp145 OMX_BUFFERHEADERTYPE *dest , in parse_sc_frame() argument
153 if (source == NULL || dest == NULL || partialframe == NULL) { in parse_sc_frame()
158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
181 dest->nFlags = source->nFlags; in parse_sc_frame()
182 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
187 dest->nFilledLen += 3; in parse_sc_frame()
199 dest->nFilledLen += 4; in parse_sc_frame()
233 dest->nFilledLen++; in parse_sc_frame()
239 dest->nFilledLen += 2; in parse_sc_frame()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp145 OMX_BUFFERHEADERTYPE *dest , in parse_sc_frame() argument
153 if (source == NULL || dest == NULL || partialframe == NULL) { in parse_sc_frame()
158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
181 dest->nFlags = source->nFlags; in parse_sc_frame()
182 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
187 dest->nFilledLen += 3; in parse_sc_frame()
199 dest->nFilledLen += 4; in parse_sc_frame()
233 dest->nFilledLen++; in parse_sc_frame()
239 dest->nFilledLen += 2; in parse_sc_frame()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp145 OMX_BUFFERHEADERTYPE *dest , in parse_sc_frame() argument
153 if (source == NULL || dest == NULL || partialframe == NULL) { in parse_sc_frame()
158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
181 dest->nFlags = source->nFlags; in parse_sc_frame()
182 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
187 dest->nFilledLen += 3; in parse_sc_frame()
199 dest->nFilledLen += 4; in parse_sc_frame()
233 dest->nFilledLen++; in parse_sc_frame()
239 dest->nFilledLen += 2; in parse_sc_frame()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Djpeg_compressor.cpp52 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in InitDestination() local
53 std::vector<JOCTET>& buffer = dest->compressor->result_buffer_; in InitDestination()
55 dest->mgr.next_output_byte = &buffer[0]; in InitDestination()
56 dest->mgr.free_in_buffer = buffer.size(); in InitDestination()
60 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in EmptyOutputBuffer() local
61 std::vector<JOCTET>& buffer = dest->compressor->result_buffer_; in EmptyOutputBuffer()
64 dest->mgr.next_output_byte = &buffer[oldsize]; in EmptyOutputBuffer()
65 dest->mgr.free_in_buffer = kBlockSize; in EmptyOutputBuffer()
70 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in TerminateDestination() local
71 std::vector<JOCTET>& buffer = dest->compressor->result_buffer_; in TerminateDestination()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.cpp85 eDest dest = OV_INVALID; in nextPipe() local
95 dest = (eDest)i; in nextPipe()
102 if(dest != OV_INVALID) { in nextPipe()
103 int index = (int)dest; in nextPipe()
111 PipeBook::getDestStr(dest), dpy); in nextPipe()
119 return dest; in nextPipe()
122 bool Overlay::commit(utils::eDest dest) { in commit() argument
124 int index = (int)dest; in commit()
129 PipeBook::setUse((int)dest); in commit()
131 PipeBook::resetUse((int)dest); in commit()
[all …]
Doverlay.h65 void setSource(const utils::PipeArgs args, utils::eDest dest);
66 void setCrop(const utils::Dim& d, utils::eDest dest);
67 void setTransform(const int orientation, utils::eDest dest);
68 void setPosition(const utils::Dim& dim, utils::eDest dest);
69 void setVisualParams(const MetaData_t& data, utils::eDest dest);
70 bool commit(utils::eDest dest);
71 bool queueBuffer(int fd, uint32_t offset, utils::eDest dest);
122 static utils::eMdpPipeType getPipeType(utils::eDest dest);
123 static const char* getDestStr(utils::eDest dest);
223 inline utils::eMdpPipeType Overlay::PipeBook::getPipeType(utils::eDest dest) { in getPipeType() argument
[all …]
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp233 jpegd_dst_t dest; in decoder_test() local
345 dest.width = (p_args->width) ? (p_args->width) : header.main.width; in decoder_test()
346 dest.height = (p_args->height) ? (p_args->height) : header.main.height; in decoder_test()
347 dest.output_format = (jpeg_color_format_t) p_args->format; in decoder_test()
348 dest.region = p_args->region; in decoder_test()
351 output_width = dest.width; in decoder_test()
352 output_height = dest.height; in decoder_test()
358 output_width = MIN((dest.width), in decoder_test()
359 (uint32_t)(dest.region.right - dest.region.left + 1)); in decoder_test()
360 output_height = MIN((dest.height), in decoder_test()
[all …]
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.cc243 void Tpdu_copy(Tpdu *dest, Tpdu *src) { in Tpdu_copy() argument
244 dest->checksum = src->checksum; in Tpdu_copy()
245 dest->len = src->len; in Tpdu_copy()
246 dest->nad = src->nad; in Tpdu_copy()
247 dest->pcb = src->pcb; in Tpdu_copy()
248 if (dest->data == NULL) { in Tpdu_copy()
249 dest->data = (uint8_t *)malloc(ATP.ifsc * sizeof(uint8_t)); in Tpdu_copy()
252 memcpy(dest->data, src->data, src->len); in Tpdu_copy()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp144 void JsonFakeValueGenerator::copyMixedValueJson(VehiclePropValue::RawValue& dest, in copyMixedValueJson() argument
146 copyJsonArray(dest.int32Values, jsonValue["int32Values"]); in copyMixedValueJson()
147 copyJsonArray(dest.int64Values, jsonValue["int64Values"]); in copyMixedValueJson()
148 copyJsonArray(dest.floatValues, jsonValue["floatValues"]); in copyMixedValueJson()
149 dest.stringValue = jsonValue["stringValue"].asString(); in copyMixedValueJson()
153 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray() argument
154 dest.resize(jsonArray.size()); in copyJsonArray()
157 dest[i] = jsonArray[i].asInt(); in copyJsonArray()
159 dest[i] = jsonArray[i].asInt64(); in copyJsonArray()
161 dest[i] = jsonArray[i].asFloat(); in copyJsonArray()
/hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal_ctrl/
Dwifi_hal_ctrl.c132 ctrl->dest.sun_family = AF_UNIX; in wifihal_ctrl_open2()
133 res = strlcpy(ctrl->dest.sun_path, ctrl_path, in wifihal_ctrl_open2()
134 sizeof(ctrl->dest.sun_path)); in wifihal_ctrl_open2()
135 if (res >= sizeof(ctrl->dest.sun_path)) { in wifihal_ctrl_open2()
140 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wifihal_ctrl_open2()
141 sizeof(ctrl->dest)) < 0) { in wifihal_ctrl_open2()
192 … if (sendto(ctrl->s, _cmd, _cmd_len, 0, (struct sockaddr *)&ctrl->dest, sizeof(ctrl->dest)) < 0) { in wifihal_ctrl_request()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleUtils.h69 void copyVehicleRawValue(VehiclePropValue::RawValue* dest,
73 void shallowCopyHidlVec(hidl_vec<T>* dest, const hidl_vec<T>& src);
75 void shallowCopyHidlStr(hidl_string* dest, const hidl_string& src);
77 void shallowCopy(VehiclePropValue* dest, const VehiclePropValue& src);
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp71 ovutils::eDest dest = ov.nextPipe(ovutils::OV_MDP_PIPE_ANY, mDpy); in configure() local
72 if(dest == ovutils::OV_INVALID) { //None available in configure()
78 mDest = dest; in configure()
93 ov.setSource(parg, dest); in configure()
101 ov.setCrop(dcrop, dest); in configure()
106 ov.setTransform(orient, dest); in configure()
116 ov.setPosition(dpos, dest); in configure()
119 if (!ov.commit(dest)) { in configure()
134 ovutils::eDest dest = mDest; in draw() local
135 if (!ov.queueBuffer(hnd->fd, hnd->offset, dest)) { in draw()
/hardware/ti/am57x/libhwcomposer/
Dimg_gralloc1_public.h196 void *dest[MAX_SUB_ALLOCS], int format);
199 buffer_handle_t src, buffer_handle_t dest,
205 buffer_handle_t dest, int eDestRotation);
/hardware/qcom/sm8150/media/libarbitrarybytes/inc/
Dframeparser.h65 OMX_BUFFERHEADERTYPE *dest ,
69 OMX_BUFFERHEADERTYPE *dest ,
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dframeparser.h70 OMX_BUFFERHEADERTYPE *dest ,
74 OMX_BUFFERHEADERTYPE *dest ,

1234