Home | History | Annotate | Download | only in src

Lines Matching defs:hnd

3895                     native_handle_t *hnd = (native_handle_t*)meta_buf->meta_handle;
3896 if (!hnd) {
3901 usage = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_USAGE);
3915 color_format = (OMX_COLOR_FORMATTYPE)MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_COLORFORMAT);
3964 if ((unsigned int)MetaBufferUtil::getBatchSize(hnd) != mBatchSize) {
3966 mBatchSize, MetaBufferUtil::getBatchSize(hnd));
3973 int offset = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_OFFSET);
3974 int length = MetaBufferUtil::getIntAt(hnd, 0, MetaBufferUtil::INT_SIZE);
4233 native_handle_t *hnd = NULL;
4247 hnd = (native_handle_t*)meta_buf->meta_handle;
4248 if (!hnd) {
4251 } else if (MetaBufferUtil::getBatchSize(hnd) > kMaxBuffersInBatch) {
4253 "Max = %d", MetaBufferUtil::getBatchSize(hnd), kMaxBuffersInBatch);
4256 DEBUG_PRINT_LOW("venc_empty_batch: Batch of %d bufs", MetaBufferUtil::getBatchSize(hnd));
4272 int numBufs = MetaBufferUtil::getBatchSize(hnd);
4294 plane[0].reserved[0] = MetaBufferUtil::getFdAt(hnd, i);
4296 plane[0].data_offset = MetaBufferUtil::getIntAt(hnd, i, MetaBufferUtil::INT_OFFSET);
4298 plane[0].length = plane[0].bytesused = MetaBufferUtil::getIntAt(hnd, i, MetaBufferUtil::INT_SIZE);
4302 usage = MetaBufferUtil::getIntAt(hnd, i, MetaBufferUtil::INT_USAGE);
4355 bufTimeStamp = bufhdr->nTimeStamp + MetaBufferUtil::getIntAt(hnd, i, MetaBufferUtil::INT_TIMESTAMP) / 1000;