/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.h | 71 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,
|
D | QCameraMem.cpp | 1419 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/ |
D | OMX_QCOMExtns.h | 2087 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/ |
D | OMX_QCOMExtns.h | 2123 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/ |
D | omx_video_base.cpp | 4045 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in empty_this_buffer_proxy() 4048 … int offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in empty_this_buffer_proxy() 4049 … int size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_SIZE); in empty_this_buffer_proxy() 4900 Input_pmem.fd = MetaBufferUtil::getFdAt(media_ptr->meta_handle, 0); in omx_release_meta_buffer() 4901 … int size = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_SIZE); in omx_release_meta_buffer() 4902 … int offset = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in omx_release_meta_buffer() 5247 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in push_input_buffer() 5248 …Input_pmem_info.offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::IN… in push_input_buffer() 5249 …Input_pmem_info.size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_… in push_input_buffer()
|
D | video_encoder_device_v4l2.cpp | 3888 usage = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_USAGE); in venc_empty_buf() 3898 …color_format = (OMX_COLOR_FORMATTYPE)MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_COLORFOR… in venc_empty_buf() 3947 if ((unsigned int)MetaBufferUtil::getBatchSize(hnd) != mBatchSize) { in venc_empty_buf() 3949 mBatchSize, MetaBufferUtil::getBatchSize(hnd)); in venc_empty_buf() 3956 int offset = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_OFFSET); in venc_empty_buf() 3957 int length = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_SIZE); in venc_empty_buf() 4323 } else if (MetaBufferUtil::getBatchSize(hnd) > kMaxBuffersInBatch) { in venc_empty_batch() 4325 "Max = %d", MetaBufferUtil::getBatchSize(hnd), kMaxBuffersInBatch); in venc_empty_batch() 4328 … DEBUG_PRINT_LOW("venc_empty_batch: Batch of %d bufs", MetaBufferUtil::getBatchSize(hnd)); in venc_empty_batch() 4344 int numBufs = MetaBufferUtil::getBatchSize(hnd); in venc_empty_batch() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 3974 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in empty_this_buffer_proxy() 3978 … int offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in empty_this_buffer_proxy() 3979 … int size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_SIZE); in empty_this_buffer_proxy() 4973 Input_pmem.fd = MetaBufferUtil::getFdAt(media_ptr->meta_handle, 0); in omx_release_meta_buffer() 4974 … int size = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_SIZE); in omx_release_meta_buffer() 4975 … int offset = MetaBufferUtil::getIntAt(media_ptr->meta_handle, 0, MetaBufferUtil::INT_OFFSET); in omx_release_meta_buffer() 5437 Input_pmem_info.fd = MetaBufferUtil::getFdAt(media_buffer->meta_handle, 0); in push_input_buffer() 5438 …Input_pmem_info.offset = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::IN… in push_input_buffer() 5439 …Input_pmem_info.size = MetaBufferUtil::getIntAt(media_buffer->meta_handle, 0, MetaBufferUtil::INT_… in push_input_buffer()
|
D | video_encoder_device_v4l2.cpp | 3901 usage = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_USAGE); in venc_empty_buf() 3915 …color_format = (OMX_COLOR_FORMATTYPE)MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_COLORFOR… in venc_empty_buf() 3964 if ((unsigned int)MetaBufferUtil::getBatchSize(hnd) != mBatchSize) { in venc_empty_buf() 3966 mBatchSize, MetaBufferUtil::getBatchSize(hnd)); in venc_empty_buf() 3973 int offset = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_OFFSET); in venc_empty_buf() 3974 int length = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_SIZE); in venc_empty_buf() 4251 } else if (MetaBufferUtil::getBatchSize(hnd) > kMaxBuffersInBatch) { in venc_empty_batch() 4253 "Max = %d", MetaBufferUtil::getBatchSize(hnd), kMaxBuffersInBatch); in venc_empty_batch() 4256 … DEBUG_PRINT_LOW("venc_empty_batch: Batch of %d bufs", MetaBufferUtil::getBatchSize(hnd)); in venc_empty_batch() 4272 int numBufs = MetaBufferUtil::getBatchSize(hnd); in venc_empty_batch() [all …]
|