Searched defs:mapper (Results 1 - 25 of 47) sorted by relevance

12

/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
H A DMapperHal.h20 #include <android/hardware/graphics/mapper/2.0/IMapper.h>
25 namespace mapper { namespace in namespace:android::hardware::graphics
60 } // namespace mapper
H A DMapper.h25 #include <android/hardware/graphics/mapper/2.0/IMapper.h>
27 #include <mapper-hal/2.0/MapperHal.h>
32 namespace mapper { namespace in namespace:android::hardware::graphics
207 } // namespace mapper
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
H A DMapperHal.h19 #include <android/hardware/graphics/mapper/2.1/IMapper.h>
20 #include <mapper-hal/2.0/MapperHal.h>
25 namespace mapper { namespace in namespace:android::hardware::graphics
65 } // namespace mapper
H A DMapper.h23 #include <android/hardware/graphics/mapper/2.1/IMapper.h>
24 #include <mapper-hal/2.0/Mapper.h>
25 #include <mapper-hal/2.1/MapperHal.h>
30 namespace mapper { namespace in namespace:android::hardware::graphics
86 } // namespace mapper
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
H A DGralloc0Hal.h18 #include <mapper-hal/2.1/MapperHal.h>
19 #include <mapper-passthrough/2.0/Gralloc0Hal.h>
24 namespace mapper { namespace in namespace:android::hardware::graphics
73 } // namespace mapper
H A DGrallocLoader.h22 #include <mapper-hal/2.1/Mapper.h>
23 #include <mapper-hal/2.1/MapperHal.h>
24 #include <mapper-passthrough/2.0/GrallocLoader.h>
25 #include <mapper-passthrough/2.1/Gralloc0Hal.h>
26 #include <mapper-passthrough/2.1/Gralloc1Hal.h>
31 namespace mapper { namespace in namespace:android::hardware::graphics
69 auto mapper = std::make_unique<V2_0::passthrough::GrallocMapper<hal::Mapper>>(); local
70 return mapper->init(std::move(hal)) ? mapper.release() : nullptr;
76 } // namespace mapper
[all...]
H A DGralloc1Hal.h19 #include <mapper-hal/2.1/MapperHal.h>
20 #include <mapper-passthrough/2.0/Gralloc1Hal.h>
25 namespace mapper { namespace in namespace:android::hardware::graphics
180 } // namespace mapper
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
H A DMapperVts.h19 #include <android/hardware/graphics/mapper/2.1/IMapper.h>
20 #include <mapper-vts/2.0/MapperVts.h>
25 namespace mapper { namespace in namespace:android::hardware::graphics
58 } // namespace mapper
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
H A DBufferCache.cpp35 bool BufferCache::addMapper(uint64_t handle, BufferMapper* mapper) argument
43 // add mapper
44 index = mBufferPool.add(handle, mapper);
46 ETRACE("failed to add mapper. err = %d", (int)index);
53 bool BufferCache::removeMapper(BufferMapper* mapper) argument
57 if (!mapper) {
58 ETRACE("invalid mapper");
62 index = mBufferPool.removeItem(mapper->getKey());
64 WTRACE("failed to remove mapper. err = %d", (int)index);
92 BufferMapper* mapper local
[all...]
H A DBufferManager.cpp80 BufferMapper *mapper = mBufferPool->getMapper(i); local
81 mapper->unmap();
82 delete mapper;
90 BufferMapper *mapper = mFrameBuffers.valueAt(j); local
91 mapper->unmap();
92 delete mapper;
112 BufferMapper *mapper = mBufferPool->getMapper(i); local
115 mapper->getHandle(),
116 mapper->getWidth(),
117 mapper
149 BufferMapper* mapper; local
194 unmap(BufferMapper *mapper) argument
245 BufferMapper *mapper = NULL; local
297 BufferMapper *mapper = mFrameBuffers.valueAt(index); local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DVideoPayloadManager.cpp35 bool VideoPayloadManager::getMetaData(BufferMapper *mapper, MetaData *metadata) argument
37 if (!mapper || !metadata) {
42 VideoPayloadBuffer *p = (VideoPayloadBuffer*) mapper->getCpuAddress(SUB_BUFFER1);
105 bool VideoPayloadManager::setRenderStatus(BufferMapper *mapper, bool renderStatus) argument
107 if (!mapper) {
108 ETRACE("Null mapper param");
112 VideoPayloadBuffer* p = (VideoPayloadBuffer*) mapper->getCpuAddress(SUB_BUFFER1);
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/
H A DPnwSpritePlane.cpp36 bool PnwSpritePlane::setDataBuffer(BufferMapper& mapper) argument
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/buffers/
H A DBufferCache.cpp35 bool BufferCache::addMapper(uint64_t handle, BufferMapper* mapper) argument
43 // add mapper
44 index = mBufferPool.add(handle, mapper);
46 ELOGTRACE("failed to add mapper. err = %d", index);
53 bool BufferCache::removeMapper(BufferMapper* mapper) argument
57 if (!mapper) {
58 ELOGTRACE("invalid mapper");
62 index = mBufferPool.removeItem(mapper->getKey());
64 WLOGTRACE("failed to remove mapper. err = %d", index);
92 BufferMapper* mapper local
[all...]
H A DBufferManager.cpp80 BufferMapper *mapper = mBufferPool->getMapper(i); local
81 mapper->unmap();
82 delete mapper;
90 BufferMapper *mapper = mFrameBuffers.valueAt(j); local
91 mapper->unmap();
92 delete mapper;
112 BufferMapper *mapper = mBufferPool->getMapper(i); local
115 mapper->getHandle(),
116 mapper->getWidth(),
117 mapper
149 BufferMapper* mapper; local
194 unmap(BufferMapper *mapper) argument
245 BufferMapper *mapper = NULL; local
297 BufferMapper *mapper = mFrameBuffers.valueAt(index); local
[all...]
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
H A DGrallocBufferDescriptor.h19 #include <android/hardware/graphics/mapper/2.0/IMapper.h>
24 namespace mapper { namespace in namespace:android::hardware::graphics
72 } // namespace mapper
H A DGralloc0Hal.h26 #include <mapper-hal/2.0/MapperHal.h>
27 #include <mapper-passthrough/2.0/GrallocBufferDescriptor.h>
33 namespace mapper { namespace in namespace:android::hardware::graphics
211 } // namespace mapper
H A DGrallocLoader.h30 #include <mapper-hal/2.0/Mapper.h>
31 #include <mapper-passthrough/2.0/Gralloc0Hal.h>
32 #include <mapper-passthrough/2.0/Gralloc1Hal.h>
37 namespace mapper { namespace in namespace:android::hardware::graphics
151 auto mapper = std::make_unique<GrallocMapper<hal::Mapper>>(); local
152 return mapper->init(std::move(hal)) ? mapper.release() : nullptr;
158 } // namespace mapper
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
H A DMapperVts.h24 #include <android/hardware/graphics/mapper/2.0/IMapper.h>
30 namespace mapper { namespace in namespace:android::hardware::graphics
50 // is true, the returned buffers are also imported into the mapper.
68 // in and out of the mapper. The ownership of the fd is always transferred
91 } // namespace mapper
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngOverlayPlane.cpp80 bool TngOverlayPlane::setDataBuffer(BufferMapper& mapper) argument
82 if (OverlayPlaneBase::setDataBuffer(mapper) == false) {
93 mContext.gtt_key = (uint64_t)mapper.getCpuAddress(0);
118 bool TngOverlayPlane::rotatedBufferReady(BufferMapper& mapper, BufferMapper* &rotatedMapper) argument
124 format = mapper.getFormat();
133 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1);
137 void *p = mapper.getCpuAddress(SUB_BUFFER0);
143 bool ret = mRotationBufProvider->prepareBufferInfo(mapper.getWidth(),
144 mapper.getHeight(),
145 mapper
[all...]
H A DTngCursorPlane.cpp84 bool TngCursorPlane::setDataBuffer(BufferMapper& mapper) argument
86 int w = mapper.getWidth();
87 int h = mapper.getHeight();
119 if (mapper.getFormat() == HAL_PIXEL_FORMAT_RGBA_8888) {
121 } else if (mapper.getFormat() == HAL_PIXEL_FORMAT_BGRA_8888) {
123 uint8_t *p = (uint8_t *)(mapper.getCpuAddress(0));
125 uint32_t stride = mapper.getStride().rgb.stride;
146 uint8_t *p = (uint8_t *)(mapper.getCpuAddress(0));
148 uint32_t stride = mapper.getStride().rgb.stride;
174 mContext.ctx.cs_ctx.surf = mapper
[all...]
H A DTngSpritePlane.cpp37 bool TngSpritePlane::setDataBuffer(BufferMapper& mapper) argument
58 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) {
59 ETRACE("unsupported format %#x", mapper.getFormat());
64 srcX = mapper.getCrop().x;
65 srcY = mapper.getCrop().y;
66 stride = mapper.getStride().rgb.stride;
68 linoff = (mapper.getCrop().h + srcY - 1) * stride + (srcX + mapper.getCrop().w - 1) * bpp;
82 if (linoff > (stride * mapper.getHeight())) {
99 mContext.ctx.sp_ctx.surf = mapper
[all...]
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
H A DMapperVts.cpp17 #include <mapper-vts/2.1/MapperVts.h>
24 namespace mapper { namespace in namespace:android::hardware::graphics
32 android::hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo;
63 ASSERT_NE(nullptr, mMapperV2_1.get()) << "failed to get mapper 2.1 service";
124 } // namespace mapper
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
H A DVtsHalGraphicsMapperV2_1TargetTest.cpp21 #include <android/hardware/graphics/mapper/2.1/IMapper.h>
22 #include <mapper-vts/2.1/MapperVts.h>
27 namespace mapper { namespace in namespace:android::hardware::graphics
37 // Test environment for graphics.mapper.
224 } // namespace mapper
230 using android::hardware::graphics::mapper::V2_1::vts::GraphicsMapperHidlEnvironment;
/hardware/google/av/media/sfplugin/
H A DCodec2InfoBuilder.cpp158 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = local
193 if (mapper && mapper->mapProfile(pl.profile, &sdkProfile)
194 && mapper->mapLevel(pl.level, &sdkLevel)) {
198 } else if (!mapper) {
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DAnnCursorPlane.cpp90 bool AnnCursorPlane::setDataBuffer(BufferMapper& mapper) argument
92 int w = mapper.getWidth();
93 int h = mapper.getHeight();
120 if (mapper.getFormat() == HAL_PIXEL_FORMAT_RGBA_8888) {
122 } else if (mapper.getFormat() == HAL_PIXEL_FORMAT_BGRA_8888) {
124 uint8_t *p = (uint8_t *)(mapper.getCpuAddress(0));
126 uint32_t stride = mapper.getStride().rgb.stride;
151 mContext.ctx.cs_ctx.surf = mapper.getGttOffsetInPage(0) << 12;

Completed in 1606 milliseconds

12