Home
last modified time | relevance | path

Searched refs:m_size (Results 1 – 25 of 66) sorted by relevance

123

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLESbuffer.cpp22 m_size = size; in setBuffer()
34 m_conversionManager.addRange(Range(0,m_size)); in setBuffer()
42 if(offset + size > m_size) return false; in setSubBuffer()
61 m_size = stream->getBe32(); in GLESbuffer()
63 if (m_size) { in GLESbuffer()
64 m_data = new unsigned char[m_size]; in GLESbuffer()
65 stream->read(m_data, m_size); in GLESbuffer()
67 m_conversionManager.addRange(Range(0,m_size)); in GLESbuffer()
75 stream->putBe32(m_size); in onSave()
79 if (!needRestore() && dispatcher.glMapBufferRange && m_size != 0) { in onSave()
[all …]
DGLESpointer.cpp26 return m_size; in getSize()
108 m_size = size; in setArray()
130 m_size = size; in setBuffer()
163 m_size = size; in setFormat()
185 m_size = stream->getBe32(); in onLoad()
208 stream->putBe32(m_size); in onSave()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DRangeManip.h24 Range():m_start(0),m_end(0),m_size(0){}; in Range()
25 Range(int start,int size):m_start(start),m_end(start+size),m_size(size){}; in Range()
26 Range(const Range& r):m_start(r.m_start),m_end(r.m_end),m_size(r.m_size){}; in Range()
27 void setRange(int start,int size){m_start = start; m_end = start+size; m_size = size;}; in setRange()
30 inline int getSize() const{return m_size;}; in getSize()
34 m_size = r.m_size;
38 return m_start == r.m_start && m_size == r.m_size && m_end == r.m_end;
47 int m_size; variable
DGLESbuffer.h33 GLuint getSize(){return m_size;}; in getSize()
45 GLuint m_size = 0;
DGLESpointer.h84 GLint m_size = 4;
/hardware/google/gfxstream/host/
DReadBuffer.cpp29 m_size = bufsize; in ReadBuffer()
30 m_buf = (unsigned char*)malloc(m_size); in ReadBuffer()
53 const size_t freeTailSize = m_buf + m_size - (m_readPtr + m_validData); in getData()
66 size_t new_size = std::max(2 * minSizeToRead + m_validData, 2 * m_size); in getData()
67 if (new_size < m_size) { // overflow check in getData()
80 m_size = new_size; in getData()
84 maxSizeToRead = m_size - m_validData; in getData()
115 stream->putBe32(m_size); in onSave()
122 if (size > m_size) { in onLoad()
123 m_size = size; in onLoad()
[all …]
DReadBuffer.h40 size_t m_size; variable
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraQueue.cpp56 m_size = 0; in QCameraQueue()
77 m_size = 0; in QCameraQueue()
127 if (m_size > 0) { in isEmpty()
160 m_size++; in enqueue()
203 m_size++; in enqueueWithPriority()
275 m_size--; in dequeue()
320 m_size--; in dequeue()
357 m_size--; in flush()
368 m_size = 0; in flush()
404 m_size--; in flushNodes()
[all …]
DQCameraQueue.h62 int getCurrentSize() {return m_size;} in getCurrentSize()
70 int m_size; variable
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c44 queue->m_size = 0; in mm_camera_queue_init()
71 if (queue->m_size > 0) { in mm_qcamera_queue_isempty()
97 queue->m_size++; in mm_qcamera_queue_enqueue()
124 queue->m_size--; in mm_qcamera_queue_dequeue()
154 queue->m_size--; in mm_qcamera_queue_flush()
165 queue->m_size = 0; in mm_qcamera_queue_flush()
/hardware/google/gfxstream/guest/vulkan_enc/
DCommandBufferStagingStream.cpp36 : IOStream(1048576), m_size(0), m_writePos(0) { in CommandBufferStagingStream()
172 m_size = allocSize; in allocBuffer()
177 size_t remaining = m_size - m_writePos; in allocBuffer()
181 size_t newAllocSize = m_size * 2 + allocSize; in allocBuffer()
183 m_size = newAllocSize; in allocBuffer()
DCommandBufferStagingStream.h92 size_t m_size; variable
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
Dgoldfish_address_space_android.impl168 , m_size(0) {}
181 m_size = rhs.m_size;
205 m_size = request.size;
231 m_size = size;
250 if (m_size == 0) {
260 const int res = memoryMap(NULL, m_size, m_handle, m_offset, &result);
265 (unsigned long long)m_size,
282 if (m_mmaped_ptr && m_size) {
283 memoryUnmap(m_mmaped_ptr, m_size);
287 if (m_size) {
[all …]
Dgoldfish_address_space_fuchsia.impl100 , m_size(0) {}
114 m_size = rhs.m_size;
140 m_size = size;
166 if (m_size == 0) {
177 m_size += extraBytes;
184 m_size,
190 (unsigned long long)m_size,
207 if (m_mmaped_ptr && m_size) {
210 m_size);
214 if (m_size) {
[all …]
Dgoldfish_address_space.h69 size_t size() const { return m_size; } in size()
93 uint64_t m_size; variable
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp144 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
153 if(m_size < OMX_CORE_CONTROL_CMDQ_SIZE) in insert_entry()
159 m_size ++; in insert_entry()
177 if(m_size > 0) in pop_entry()
184 --m_size; in pop_entry()
343 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
351 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
360 qsize = pThis->m_etb_q.m_size; in process_event_cb()
679 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
680 pThis->m_etb_q.m_size; in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp140 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
149 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
154 m_size ++; in insert_entry()
169 if (m_size > 0) { in pop_entry()
175 --m_size; in pop_entry()
338 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
344 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
351 qsize = pThis->m_etb_q.m_size; in process_event_cb()
631 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
632 pThis->m_etb_q.m_size; in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp194 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
203 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
208 m_size ++; in insert_entry()
223 if (m_size > 0) { in pop_entry()
229 --m_size; in pop_entry()
403 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
409 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
416 qsize = pThis->m_etb_q.m_size; in process_event_cb()
706 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
707 pThis->m_etb_q.m_size; in process_event_cb()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp161 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
170 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
175 m_size ++; in insert_entry()
190 if (m_size > 0) { in pop_entry()
196 --m_size; in pop_entry()
304 m_TimeStampInfo.deferred_inbufq.m_size=0; in omx_video()
397 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
403 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
410 qsize = pThis->m_etb_q.m_size; in process_event_cb()
691 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp160 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
169 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
174 m_size ++; in insert_entry()
189 if (m_size > 0) { in pop_entry()
195 --m_size; in pop_entry()
299 m_TimeStampInfo.deferred_inbufq.m_size=0; in omx_video()
387 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
393 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
400 qsize = pThis->m_etb_q.m_size; in process_event_cb()
681 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp196 omx_video::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
205 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
210 m_size ++; in insert_entry()
225 if (m_size > 0) { in pop_entry()
231 --m_size; in pop_entry()
412 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
418 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
425 qsize = pThis->m_etb_q.m_size; in process_event_cb()
718 qsize = pThis->m_cmd_q.m_size + pThis->m_ftb_q.m_size +\ in process_event_cb()
719 pThis->m_etb_q.m_size; in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp421 omx_vdpp::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
430 if(m_size < OMX_CORE_CONTROL_CMDQ_SIZE) in insert_entry()
436 m_size ++; in insert_entry()
454 if (m_size > 0) in pop_entry()
461 --m_size; in pop_entry()
841 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
852 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
863 qsize = pThis->m_etb_q.m_size; in process_event_cb()
1396 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
1398 qsize += (pThis->m_ftb_q.m_size + pThis->m_etb_q.m_size); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp255 omx_vdec::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
264 if(m_size < OMX_CORE_CONTROL_CMDQ_SIZE) in insert_entry()
270 m_size ++; in insert_entry()
288 if (m_size > 0) in pop_entry()
295 --m_size; in pop_entry()
639 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
647 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
656 qsize = pThis->m_etb_q.m_size; in process_event_cb()
1155 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
1157 qsize += (pThis->m_ftb_q.m_size + pThis->m_etb_q.m_size); in process_event_cb()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp310 omx_vdec::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
319 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
324 m_size ++; in insert_entry()
339 if (m_size > 0) { in pop_entry()
345 --m_size; in pop_entry()
763 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
769 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
776 qsize = pThis->m_etb_q.m_size; in process_event_cb()
1189 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
1191 qsize += (pThis->m_ftb_q.m_size + pThis->m_etb_q.m_size); in process_event_cb()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp314 omx_vdec::omx_cmd_queue::omx_cmd_queue(): m_read(0),m_write(0),m_size(0) in omx_cmd_queue()
323 if (m_size < OMX_CORE_CONTROL_CMDQ_SIZE) { in insert_entry()
328 m_size ++; in insert_entry()
343 if (m_size > 0) { in pop_entry()
349 --m_size; in pop_entry()
768 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
774 qsize = pThis->m_ftb_q.m_size; in process_event_cb()
781 qsize = pThis->m_etb_q.m_size; in process_event_cb()
1194 qsize = pThis->m_cmd_q.m_size; in process_event_cb()
1196 qsize += (pThis->m_ftb_q.m_size + pThis->m_etb_q.m_size); in process_event_cb()
[all …]

123