Searched refs:size (Results 201 - 225 of 1405) sorted by relevance

1234567891011>>

/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_extensions.hpp41 if (ext->nIndex >= mVendorExtensionStore.size()) {
77 if (ext->nIndex >= mVendorExtensionStore.size()) {
79 ext->nIndex, mVendorExtensionStore.size());
/hardware/google/av/media/sfplugin/
H A DC2OMXNode.h43 OMX_INDEXTYPE index, void *params, size_t size) override;
45 OMX_INDEXTYPE index, const void *params, size_t size) override;
47 OMX_INDEXTYPE index, void *params, size_t size) override;
49 OMX_INDEXTYPE index, const void *params, size_t size) override;
62 OMX_U32 port_index, size_t size, buffer_id *buffer,
/hardware/intel/img/psb_video/fw/topazsc/
H A Dtopaz_bin.c84 unsigned int size = 0; local
227 /* record the size use bytes */
235 size = topaz_fw_table[iter].header.text_size;
236 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp);
239 size = topaz_fw_table[iter].header.data_size;
240 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp);
H A Dtopazsc_bin.c134 unsigned int size = 0; local
176 /* record the size use bytes */
184 size = topaz_fw_table[iter].header.text_size;
185 fwrite(topaz_fw_table[iter].fw_text, 1, size, fp);
188 size = topaz_fw_table[iter].header.data_size;
189 fwrite(topaz_fw_table[iter].fw_data, 1, size, fp);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
H A DLinearFakeValueGenerator.cpp38 if (v.int32Values.size() < 2) {
44 if (!v.int64Values.size()) {
50 if (v.floatValues.size() < 3) {
52 v.floatValues.size());
73 if (v.int32Values.size() < 2) {
/hardware/interfaces/tests/trie/1.0/default/
H A DTrie.cpp43 LOG(INFO) << "SERVER(Trie) addStrings(trie, " << strings.size() << " strings)";
57 LOG(INFO) << "SERVER(Trie) containsStrings(trie, " << strings.size() << " strings)";
59 std::vector<bool> ret(strings.size());
60 for (size_t i = 0; i != strings.size(); ++i) {
77 vec.resize(vec.size() + 1);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/inc/
H A Dvidc_debug.h80 ALOGE("Insufficient object size(%u) v/s expected(%zu) for type %s",\
102 ALOGE("VendorExtension: Insifficient size(%u) v/s expected(%u)", \
123 int size; member in class:AutoUnmap
126 AutoUnmap(void *vaddr, int size) { argument
128 this->size = size;
133 munmap(vaddr, size);
/hardware/qcom/display/msm8909/libgralloc/
H A Dalloc_controller.cpp546 unsigned int size = 0; local
559 size = alignedw * alignedh * 4;
562 size = alignedw * alignedh * 3;
570 size = alignedw * alignedh * 2;
573 size = ALIGN(alignedw * alignedh, 4096);
576 size = ALIGN(alignedw * alignedh, 4096);
580 size = alignedw * alignedh;
584 size = ALIGN(alignedw*alignedh, 4096);
585 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
591 size
680 unsigned int size; local
698 unsigned int size; local
1041 unsigned int size = 0; local
1066 unsigned int size = 0; local
[all...]
H A Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument
67 size = roundUpToPageSize(size);
85 size = ALIGN(size, data.align);
88 data.size = size;
98 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
206 //adreno needs FB size t
265 unsigned int size; local
364 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dalloc_controller.cpp546 unsigned int size = 0; local
559 size = alignedw * alignedh * 4;
562 size = alignedw * alignedh * 3;
570 size = alignedw * alignedh * 2;
573 size = ALIGN(alignedw * alignedh, 4096);
576 size = ALIGN(alignedw * alignedh, 4096);
580 size = alignedw * alignedh;
584 size = ALIGN(alignedw*alignedh, 4096);
585 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
591 size
680 unsigned int size; local
698 unsigned int size; local
1041 unsigned int size = 0; local
1066 unsigned int size = 0; local
[all...]
H A Dgpu.cpp51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument
67 size = roundUpToPageSize(size);
85 size = ALIGN(size, data.align);
88 data.size = size;
98 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
206 //adreno needs FB size t
265 unsigned int size; local
364 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
[all...]
/hardware/google/av/codec2/vndk/util/
H A DC2ParamUtils.cpp42 for (size_t i = 0; i < b.size(); ++i) {
47 return b.size();
72 for (size_t ix = 0; ix < name.size(); ++ix) {
149 if (prefix.size() == 0 && extraUnderscores == 0) {
156 for (size_t i = 0; i < prefix.size(); ++i) {
166 sanitized.append(s + prefix.size() + underscores +
167 (upperCasePrefix && s[prefix.size() + underscores] == '_'));
197 C2Param *C2ParamUtils::ParseFirst(const uint8_t *blob, size_t size) { argument
198 // _mSize must fit into size, but really C2Param must also to be a valid param
199 if (size < sizeo
[all...]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
H A Dconfirmationui_utils.h89 constexpr size_t size() const { return elements; } function in class:android::hardware::confirmationui::support::array
132 : data_(reinterpret_cast<const uint8_t*>(buffer.data())), size_(buffer.size()) {
141 : data_(reinterpret_cast<const uint8_t*>(buffer.c_str())), size_(buffer.size()) {
145 template <size_t size>
146 ByteBufferProxy(const char (&buffer)[size])
147 : data_(reinterpret_cast<const uint8_t*>(buffer)), size_(size - 1) {
148 static_assert(size > 0, "even an empty string must be 0-terminated");
151 template <size_t size>
152 ByteBufferProxy(const uint8_t (&buffer)[size]) : data_(buffer), size_(size) {}
157 size_t size() const { return size_; } function in class:android::hardware::confirmationui::support::ByteBufferProxy
[all...]
/hardware/qcom/display/msm8996/libgralloc/
H A Dalloc_controller.cpp560 unsigned int size = 0; local
563 size = alignedw * alignedh * 8;
576 size = alignedw * alignedh * 4;
579 size = alignedw * alignedh * 3;
586 size = alignedw * alignedh * 2;
589 size = ALIGN(alignedw * alignedh, 4096);
594 size = ALIGN(alignedw*alignedh, 4096);
595 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
601 size = ALIGN( alignedw * alignedh, 8192);
602 size
686 unsigned int size; local
704 unsigned int size; local
719 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument
1042 unsigned int size = 0; local
1067 unsigned int size = 0; local
[all...]
H A Dgpu.cpp58 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument
64 size = roundUpToPageSize(size);
81 size = ALIGN(size, data.align);
84 data.size = size;
94 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
208 //adreno needs FB size t
267 unsigned int size; local
366 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngPlaneManager.cpp88 for (int i = 0; i < (int)config.size(); i++) {
124 int size = (int)config.size(); local
125 for (int i = 0; i < size; i++) {
133 if (config.size() == 1 && config[0]->planeType == DisplayPlane::PLANE_SPRITE) {
138 for (int i = 0; i < size; i++) {
152 for (int i = 0; i < size; i++) {
/hardware/libhardware/modules/thermal/
H A Dthermal.c39 static ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) { argument
68 if (list != NULL && idx < size) {
92 size_t size = 0; local
146 list[size] = (cpu_usage_t) {
154 size++;
158 return size;
161 static ssize_t get_cooling_devices(thermal_module_t *module, cooling_device_t *list, size_t size) { argument
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_priv_handle.h78 unsigned int size; member in struct:private_handle_t
106 unsigned int size,
119 size(size),
135 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
136 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
167 ALOGD("handle id:%" PRIu64 " wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
169 hnd->id, hnd->width, hnd->height, hnd->unaligned_width, hnd->unaligned_height, hnd->size,
97 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
/hardware/qcom/gps/msm8909w_3100/android/
H A DGnssConfiguration.cpp45 config.size = sizeof(GnssConfig);
62 config.size = sizeof(GnssConfig);
91 config.size = sizeof(GnssConfig);
123 config.size = sizeof(GnssConfig);
155 config.size = sizeof(GnssConfig);
182 config.size = sizeof(GnssConfig);
214 config.size = sizeof(GnssConfig);
/hardware/qcom/gps/msm8998/android/
H A DGnssConfiguration.cpp45 config.size = sizeof(GnssConfig);
62 config.size = sizeof(GnssConfig);
91 config.size = sizeof(GnssConfig);
123 config.size = sizeof(GnssConfig);
155 config.size = sizeof(GnssConfig);
182 config.size = sizeof(GnssConfig);
214 config.size = sizeof(GnssConfig);
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonOperationsCheck.cpp36 HEXAGON_SOFT_ASSERT_EQ(3, ins.size(), "Need 3 inputs for " << toString(op));
37 HEXAGON_SOFT_ASSERT_EQ(1, outs.size(), "Need 1 output for " << toString(op));
39 // get output size
59 HEXAGON_SOFT_ASSERT(ins.size() == 10 || ins.size() == 7,
76 if (ins.size() == 10) {
103 // get output size
132 HEXAGON_SOFT_ASSERT_LE(3, ins.size(), "Need at least 3 inputs for " << name);
133 HEXAGON_SOFT_ASSERT_EQ(1, outs.size(), "Need 1 output for " << name);
135 const size_t numInputTensors = ins.size()
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dgpu.cpp55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, argument
61 size = roundUpToPageSize(size);
76 size = ALIGN(size, data.align);
80 data.size = size;
90 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
158 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
208 //adreno needs FB size t
[all...]
/hardware/qcom/display/msm8994/libgralloc/
H A Dgpu.cpp59 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument
65 size = roundUpToPageSize(size);
79 size = ALIGN(size, data.align);
83 data.size = size;
93 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
180 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
227 //adreno needs FB size t
286 unsigned int size; local
371 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
[all...]
/hardware/intel/common/libmix/videoencoder/
H A DVideoEncoderDef.h148 uint32_t bufferSize; //buffer size
149 uint32_t dataSize; //actual size
161 uint32_t size; member in struct:__anon577
352 uint32_t size; member in struct:VideoParamConfigSet
357 this->size = other.size;
386 size = sizeof(VideoParamsCommon);
437 size = sizeof(VideoParamsAVC);
478 size = sizeof(VideoParamsUpstreamBuffer);
492 size
[all...]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
H A DValidateModel.cpp81 vec->resize(vec->size() - 1);
88 const uint32_t index = vec->size();
124 for (size_t operand = 0; operand < model.operands.size(); ++operand) {
154 for (size_t operand = 0; operand < model.operands.size(); ++operand) {
183 for (size_t operand = 0; operand < model.operands.size(); ++operand) {
211 for (size_t operand = 0; operand < model.operands.size(); ++operand) {
245 operand->dimensions.size() > 0 ? operand->dimensions : hidl_vec<uint32_t>({1});
251 operand->dimensions.size() > 0 ? operand->dimensions : hidl_vec<uint32_t>({1});
256 operand->dimensions.size() > 0 ? operand->dimensions : hidl_vec<uint32_t>({1});
282 for (size_t operand = 0; operand < model.operands.size();
[all...]

Completed in 582 milliseconds

1234567891011>>