/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleUtils.cpp | 81 void copyVehicleRawValue(VehiclePropValue::RawValue* dest, in copyVehicleRawValue() argument 83 dest->int32Values = src.int32Values; in copyVehicleRawValue() 84 dest->floatValues = src.floatValues; in copyVehicleRawValue() 85 dest->int64Values = src.int64Values; in copyVehicleRawValue() 86 dest->bytes = src.bytes; in copyVehicleRawValue() 87 dest->stringValue = src.stringValue; in copyVehicleRawValue() 93 inline void copyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in copyHidlVec() argument 94 for (size_t i = 0; i < std::min(dest->size(), src.size()); i++) { in copyHidlVec() 95 (*dest)[i] = src[i]; in copyHidlVec() 100 void shallowCopyHidlVec(hidl_vec <T>* dest, const hidl_vec <T>& src) { in shallowCopyHidlVec() argument [all …]
|
D | VehicleObjectPool.cpp | 46 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/ |
D | overlay.cpp | 85 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 …]
|
D | overlay.h | 96 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/ |
D | frameparser.cpp | 145 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/ |
D | frameparser.cpp | 106 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/ |
D | overlay.cpp | 103 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 …]
|
D | overlay.h | 93 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/ |
D | overlay.cpp | 92 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 …]
|
D | overlay.h | 92 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/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | frameparser.cpp | 145 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/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | frameparser.cpp | 145 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/ |
D | frameparser.cpp | 145 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/ |
D | jpeg_compressor.cpp | 52 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/ |
D | overlay.cpp | 85 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 …]
|
D | overlay.h | 65 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/google/gfxstream/guest/mesa/bin/ |
D | update-android-headers.sh | 18 dest=include/android_stub 22 cp -av ${dest}/system/window.h platform-system-core/libsystem/include/system 24 rm -rf ${dest} 25 mkdir ${dest} 38 ${dest} 43 mkdir ${dest}/hardware 44 cp -av platform-hardware-libhardware/include/hardware/{hardware,gralloc,gralloc1,fb}.h ${dest}/hard… 45 cp -av platform-frameworks-native/vulkan/include/hardware/hwvulkan.h ${dest}/hardware 47 mkdir ${dest}/cutils 48 …system-core/libcutils/include/cutils/{compiler,log,native_handle,properties,trace}.h ${dest}/cutils [all …]
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 233 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/google/gfxstream/guest/OpenglSystemCommon/ |
D | FormatConversions.h | 32 void rgb565_to_yv12(char* dest, char* src, int width, int height, 34 void rgb888_to_yv12(char* dest, char* src, int width, int height, 36 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, 38 void yv12_to_rgb565(char* dest, char* src, int width, int height, 40 void yv12_to_rgb888(char* dest, char* src, int width, int height, 42 void yuv420p_to_rgb888(char* dest, char* src, int width, int height,
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_entrypoints_gen.py | 229 required=True, action='append', dest='xml_files') 231 action='store_true', dest='gen_proto') 233 action='store_true', dest='gen_weak') 236 action='append', default=[], dest='prefixes') 239 action='append', default=[], dest='device_prefixes') 242 action='append', default=[], dest='includes') 245 dest='tmpl_prefix') 248 dest='tmpl_param') 251 nargs='+', default=[], dest='tmpl_variants')
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | Tpdu.cc | 243 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/qcom/wlan/wcn6740/qcwcn/wifi_hal/wifi_hal_ctrl/ |
D | wifi_hal_ctrl.c | 130 ctrl->dest.sun_family = AF_UNIX; in wifihal_ctrl_open2() 131 res = strlcpy(ctrl->dest.sun_path, ctrl_path, in wifihal_ctrl_open2() 132 sizeof(ctrl->dest.sun_path)); in wifihal_ctrl_open2() 133 if (res >= sizeof(ctrl->dest.sun_path)) { in wifihal_ctrl_open2() 137 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wifihal_ctrl_open2() 138 sizeof(ctrl->dest)) < 0) { in wifihal_ctrl_open2() 187 … if (sendto(ctrl->s, _cmd, _cmd_len, 0, (struct sockaddr *)&ctrl->dest, sizeof(ctrl->dest)) < 0) { in wifihal_ctrl_request2()
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/wifi_hal_ctrl/ |
D | wifi_hal_ctrl.c | 132 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/impl/vhal_v2_0/ |
D | JsonFakeValueGenerator.cpp | 200 void JsonFakeValueGenerator::copyMixedValueJson(VehiclePropValue::RawValue& dest, in copyMixedValueJson() argument 202 copyJsonArray(dest.int32Values, jsonValue["int32Values"]); in copyMixedValueJson() 203 copyJsonArray(dest.int64Values, jsonValue["int64Values"]); in copyMixedValueJson() 204 copyJsonArray(dest.floatValues, jsonValue["floatValues"]); in copyMixedValueJson() 205 dest.stringValue = jsonValue["stringValue"].asString(); in copyMixedValueJson() 209 void JsonFakeValueGenerator::copyJsonArray(hidl_vec<T>& dest, const Json::Value& jsonArray) { in copyJsonArray() argument 210 dest.resize(jsonArray.size()); in copyJsonArray() 213 dest[i] = jsonArray[i].asInt(); in copyJsonArray() 215 dest[i] = jsonArray[i].asInt64(); in copyJsonArray() 217 dest[i] = jsonArray[i].asFloat(); in copyJsonArray()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/ |
D | JsonFakeValueGenerator.cpp | 57 void copyJsonArray(const Json::Value& jsonArray, std::vector<T>& dest) { in copyJsonArray() argument 58 dest.resize(jsonArray.size()); in copyJsonArray() 61 dest[i] = jsonArray[i].asInt(); in copyJsonArray() 63 dest[i] = jsonArray[i].asInt64(); in copyJsonArray() 65 dest[i] = jsonArray[i].asFloat(); in copyJsonArray() 70 void copyMixedValueJson(const Json::Value& jsonValue, RawPropValues& dest) { in copyMixedValueJson() argument 71 copyJsonArray(jsonValue["int32Values"], dest.int32Values); in copyMixedValueJson() 72 copyJsonArray(jsonValue["int64Values"], dest.int64Values); in copyMixedValueJson() 73 copyJsonArray(jsonValue["floatValues"], dest.floatValues); in copyMixedValueJson() 74 dest.stringValue = jsonValue["stringValue"].asString(); in copyMixedValueJson()
|