Home
last modified time | relevance | path

Searched refs:omxBuffer (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp219 buffer->omxBuffer.nativeHandle = handle; in allocateGraphicBuffers()
220 buffer->omxBuffer.attr.anwBuffer.width = nFrameWidth; in allocateGraphicBuffers()
221 buffer->omxBuffer.attr.anwBuffer.height = nFrameHeight; in allocateGraphicBuffers()
222 buffer->omxBuffer.attr.anwBuffer.stride = stride; in allocateGraphicBuffers()
223 buffer->omxBuffer.attr.anwBuffer.format = static_cast<PixelFormat>(format); in allocateGraphicBuffers()
224 buffer->omxBuffer.attr.anwBuffer.usage = usage | BufferUsage::CPU_READ_OFTEN; in allocateGraphicBuffers()
225 buffer->omxBuffer.attr.anwBuffer.layerCount = 1; in allocateGraphicBuffers()
227 buffer->omxBuffer.attr.anwBuffer.id = (static_cast<uint64_t>(getpid()) << 32) | in allocateGraphicBuffers()
238 buffer->omxBuffer.type = CodecBuffer::Type::NATIVE_HANDLE; in allocateBuffer()
246 buffer->omxBuffer.nativeHandle = nativeHandle; in allocateBuffer()
[all …]
Dmedia_hidl_test_common.h119 android::hardware::media::omx::V1_0::CodecBuffer omxBuffer; member
/hardware/interfaces/media/omx/1.0/
DIOmxNode.hal237 * @param omxBuffer Buffer to be assigned to the port.
246 CodecBuffer omxBuffer
275 * the new buffer passed in via \p omxBuffer before OMX_FillThisBuffer() is
276 * called. Otherwise, \p omxBuffer is not used.
279 * @param omxBuffer New buffer information (in metadata mode).
287 CodecBuffer omxBuffer,
299 * the new buffer passed in via \p omxBuffer before OMX_EmptyThisBuffer() is
300 * called. Otherwise, \p omxBuffer is not used.
303 * @param omxBuffer New buffer information (in metadata mode).
313 CodecBuffer omxBuffer,
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp319 CodecBuffer t = iBuffer[index].omxBuffer; in onOmxExecuting()
577 android::Rect rect(0, 0, buffer->omxBuffer.attr.anwBuffer.width, in colorFormatConversion()
578 buffer->omxBuffer.attr.anwBuffer.height); in colorFormatConversion()
584 error = gbmapper.lockYCbCr(buff, buffer->omxBuffer.attr.anwBuffer.usage, rect, in colorFormatConversion()
635 error = gbmapper.lock(buff, buffer->omxBuffer.attr.anwBuffer.usage, rect, &data, in colorFormatConversion()
645 ipBuffer += buffer->omxBuffer.attr.anwBuffer.stride * 4; in colorFormatConversion()
666 buffer->omxBuffer.nativeHandle, buffer->omxBuffer.attr.anwBuffer.width, in fillGraphicBuffer()
667 buffer->omxBuffer.attr.anwBuffer.height, buffer->omxBuffer.attr.anwBuffer.layerCount, in fillGraphicBuffer()
668 static_cast<android::PixelFormat>(format), buffer->omxBuffer.attr.anwBuffer.usage, in fillGraphicBuffer()
669 buffer->omxBuffer.attr.anwBuffer.stride, &buff); in fillGraphicBuffer()
[all …]