Home
last modified time | relevance | path

Searched refs:MetaBufferUtil (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.h71 VIDEO_META_OFFSET = MetaBufferUtil::INT_OFFSET,
72 VIDEO_META_SIZE = MetaBufferUtil::INT_SIZE,
73 VIDEO_META_USAGE = MetaBufferUtil::INT_USAGE,
74 VIDEO_META_TIMESTAMP = MetaBufferUtil::INT_TIMESTAMP,
75 VIDEO_META_FORMAT = MetaBufferUtil::INT_COLORFORMAT,
76 VIDEO_META_BUFIDX = MetaBufferUtil::INT_BUFINDEX,
77 VIDEO_META_EVENT = MetaBufferUtil::INT_BUFEVENT,
79 VIDEO_METADATA_NUM_INTS = MetaBufferUtil::INT_TOTAL,
DQCameraMem.cpp1419 MetaBufferUtil::setFdAt(nh, 0, -1); in allocateMore()
1420 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_OFFSET, 0); in allocateMore()
1421 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_SIZE, 0); in allocateMore()
1422 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_USAGE, mUsage); in allocateMore()
1423 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_TIMESTAMP, 0); in allocateMore()
1424 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_FORMAT, mFormat); in allocateMore()
1425 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_BUFIDX, i); in allocateMore()
1426 MetaBufferUtil::setIntAt(nh, 0, VIDEO_META_EVENT, 0); in allocateMore()
1472 mTotalInts = MetaBufferUtil::getNumIntsForBatch(numFDs); in allocateMeta()
1488 MetaBufferUtil::setFdAt(nh, j, -1); in allocateMeta()
[all …]
/hardware/qcom/media/msm8998/mm-core/inc/
DOMX_QCOMExtns.h2087 struct MetaBufferUtil { struct
2107 return MetaBufferUtil::isHandleSane(hnd) ? hnd->numFds : -1; in getBatchSize() argument
2113 return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] : -1; in getFdAt() argument
2117 int idx = MetaBufferUtil::getIntIndex(hnd, index, type); in getIntAt() argument
2124 …return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] = fd, 0 : -… in setFdAt() argument
2128 int idx = MetaBufferUtil::getIntIndex(hnd, index, type); in setIntAt() argument
2138 int idx = index + type * MetaBufferUtil::getBatchSize(hnd); in getIntIndex() argument
2139 … return (MetaBufferUtil::isHandleSane(hnd) && (idx < (hnd->numInts + hnd->numFds))) ? idx : -1; in getIntIndex()
/hardware/qcom/sdm845/media/mm-core/inc/
DOMX_QCOMExtns.h2123 struct MetaBufferUtil { struct
2143 return MetaBufferUtil::isHandleSane(hnd) ? hnd->numFds : -1; in getBatchSize() argument
2149 return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] : -1; in getFdAt() argument
2153 int idx = MetaBufferUtil::getIntIndex(hnd, index, type); in getIntAt() argument
2160 …return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] = fd, 0 : -… in setFdAt() argument
2164 int idx = MetaBufferUtil::getIntIndex(hnd, index, type); in setIntAt() argument
2174 int idx = index + type * MetaBufferUtil::getBatchSize(hnd); in getIntIndex() argument
2175 … return (MetaBufferUtil::isHandleSane(hnd) && (idx < (hnd->numInts + hnd->numFds))) ? idx : -1; in getIntIndex()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4038 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in empty_this_buffer_proxy()
4041 … int offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in empty_this_buffer_proxy()
4042 … int size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_SIZE); in empty_this_buffer_proxy()
4893 Input_pmem.fd = MetaBufferUtil::getFdAt(media_ptr->meta_handle, 0); in omx_release_meta_buffer()
4894 … int size = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_SIZE); in omx_release_meta_buffer()
4895 … int offset = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in omx_release_meta_buffer()
5240 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in push_input_buffer()
5241 …Input_pmem_info.offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::IN… in push_input_buffer()
5242 …Input_pmem_info.size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_… in push_input_buffer()