Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 64) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dactive_map_test.cc41 vpx_active_map_t map = {0}; in PreEncodeFrameHook() local
53 map.cols = (kWidth + 15) / 16; in PreEncodeFrameHook()
54 map.rows = (kHeight + 15) / 16; in PreEncodeFrameHook()
55 ASSERT_EQ(map.cols, 13u); in PreEncodeFrameHook()
56 ASSERT_EQ(map.rows, 9u); in PreEncodeFrameHook()
57 map.active_map = active_map; in PreEncodeFrameHook()
58 encoder->Control(VP8E_SET_ACTIVEMAP, &map); in PreEncodeFrameHook()
60 vpx_active_map_t map = {0}; in PreEncodeFrameHook() local
61 map.cols = (kWidth + 15) / 16; in PreEncodeFrameHook()
62 map.rows = (kHeight + 15) / 16; in PreEncodeFrameHook()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dset_maps.c100 vpx_active_map_t map = {0}; in set_active_map() local
102 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
103 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
105 map.active_map = (uint8_t *)malloc(map.rows * map.cols); in set_active_map()
106 for (i = 0; i < map.rows * map.cols; ++i) in set_active_map()
107 map.active_map[i] = i % 2; in set_active_map()
109 if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map)) in set_active_map()
112 free(map.active_map); in set_active_map()
117 vpx_active_map_t map = {0}; in unset_active_map() local
119 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dmfqe.c241 static int qualify_inter_mb(const MODE_INFO *mode_info_context, int *map) in qualify_inter_mb() argument
244 map[0] = map[1] = map[2] = map[3] = 1; in qualify_inter_mb()
257 map[i] = 1; in qualify_inter_mb()
258 for (j=0; j<4 && map[j]; ++j) in qualify_inter_mb()
259 map[i] &= (mode_info_context->bmi[ndx[i][j]].mv.as_mv.row <= 2 && in qualify_inter_mb()
265 map[0] = map[1] = map[2] = map[3] = in qualify_inter_mb()
270 return (map[0]+map[1]+map[2]+map[3]); in qualify_inter_mb()
286 int totmap, map[4]; in vp8_multiframe_quality_enhance() local
307 if (frame_type == INTER_FRAME) totmap = qualify_inter_mb(mode_info_context, map); in vp8_multiframe_quality_enhance()
317 if (map[i*2+j]) in vp8_multiframe_quality_enhance()
Donyx.h261 …int vp8_set_roimap(struct VP8_COMP* comp, unsigned char *map, unsigned int rows, unsigned int cols…
262 …int vp8_set_active_map(struct VP8_COMP* comp, unsigned char *map, unsigned int rows, unsigned int …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c41 signed char *map; member
55 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc()
56 if (cr->map == NULL) { in vp9_cyclic_refresh_alloc()
65 vpx_free(cr->map); in vp9_cyclic_refresh_free()
141 int new_map_value = cr->map[block_index]; in vp9_cyclic_refresh_update_segment()
158 if (cr->map[block_index] == 1) in vp9_cyclic_refresh_update_segment()
168 cr->map[block_index + y * cm->mi_cols + x] = new_map_value; in vp9_cyclic_refresh_update_segment()
289 if (cr->map[bl_index2] == 0) { in vp9_cyclic_refresh_setup()
292 } else if (cr->map[bl_index2] < 0) { in vp9_cyclic_refresh_setup()
293 cr->map[bl_index2]++; in vp9_cyclic_refresh_setup()
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp68 ShareMemMap* map = new ShareMemMap; in ReadMemObjFromBinder() local
69 map->sessionflag = sessionflag; in ReadMemObjFromBinder()
70 map->type = type; in ReadMemObjFromBinder()
71 map->value_backup = value; in ReadMemObjFromBinder()
72 map->membase = NULL; in ReadMemObjFromBinder()
73 map->gbuffer= NULL; in ReadMemObjFromBinder()
87 delete map; in ReadMemObjFromBinder()
91 map->value = (intptr_t)( mem->pointer() + 0x0FFF) & ~0x0FFF; in ReadMemObjFromBinder()
92 map->membase = mem; in ReadMemObjFromBinder()
96 heap->getHeapID(), mem->pointer(), *((intptr_t *)(mem->pointer())), map->value); in ReadMemObjFromBinder()
[all …]
DVideoEncoderBase.cpp1560 VASurfaceMap *map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in getNewUsrptrFromSurface() local
1561 if (map == NULL) { in getNewUsrptrFromSurface()
1566 map->setVASurface(surface); //special case, vasuface is set, so nothing do in doMapping in getNewUsrptrFromSurface()
1568 map->setValue((intptr_t)*usrptr); in getNewUsrptrFromSurface()
1580 map->setValueInfo(vinfo); in getNewUsrptrFromSurface()
1581 map->doMapping(); in getNewUsrptrFromSurface()
1583 mSrcSurfaceMapList.push_back(map); in getNewUsrptrFromSurface()
1605 VASurfaceMap *map = new VASurfaceMap(mVADisplay, mSupportedSurfaceMemType); in setUpstreamBuffer() local
1608 map->setValue(upStreamBuffer->bufList[i]); in setUpstreamBuffer()
1622 map->setValueInfo(vinfo); in setUpstreamBuffer()
[all …]
/hardware/intel/img/libdrm/libdrm/nouveau/
Dnouveau_bo.c102 if (nvbo->map) { in nouveau_bo_kfree()
103 munmap(nvbo->map, nvbo->size); in nouveau_bo_kfree()
104 nvbo->map = NULL; in nouveau_bo_kfree()
159 if (nvbo->map) in nouveau_bo_kmap()
165 nvbo->map = mmap(0, nvbo->size, PROT_READ | PROT_WRITE, in nouveau_bo_kmap()
167 if (nvbo->map == MAP_FAILED) { in nouveau_bo_kmap()
168 nvbo->map = NULL; in nouveau_bo_kmap()
417 if (!nvbo || bo->map) in nouveau_bo_map_range()
435 bo->map = (char *)nvbo->sysmem + delta; in nouveau_bo_map_range()
448 bo->map = (char *)nvbo->map + delta; in nouveau_bo_map_range()
[all …]
Dnouveau_notifier.c31 volatile uint32_t *__v = (uint32_t *)((char *)nvnotify->map + (id * 32))
60 nvnotify->map = (char *)nouveau_channel(chan)->notifier_bo->map + in nouveau_notifier_alloc()
Dnouveau_private.h84 volatile void *map; member
110 void *map; member
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.c956 drm_map_t map; in drmAddMap() local
958 map.offset = offset; in drmAddMap()
959 map.size = size; in drmAddMap()
960 map.handle = 0; in drmAddMap()
961 map.type = type; in drmAddMap()
962 map.flags = flags; in drmAddMap()
963 if (drmIoctl(fd, DRM_IOCTL_ADD_MAP, &map)) in drmAddMap()
966 *handle = (drm_handle_t)map.handle; in drmAddMap()
972 drm_map_t map; in drmRmMap() local
974 map.handle = (void *)handle; in drmRmMap()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_userpool.c77 void *map; member
188 memcpy(WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem), vBuf->map, vBuf->size); in evict_lru()
191 vBuf->map = WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem); in evict_lru()
231 vBuf->map = (void *)(p->agpMap + vBuf->node->start); in pool_create()
245 vBuf->map = (void *)(p->vramMap + vBuf->node->start); in pool_create()
259 vBuf->map = WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem); in pool_create()
325 vBuf->map = (void *)(p->agpMap + vBuf->node->start); in pool_validate()
326 memcpy(vBuf->map, WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem), in pool_validate()
345 vBuf->map = (void *)(p->vramMap + vBuf->node->start); in pool_validate()
346 memcpy(vBuf->map, WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem), in pool_validate()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
Dvpx_encoder.c164 vpx_codec_enc_cfg_map_t *map; in vpx_codec_enc_config_default() local
173 for (map = iface->enc.cfg_maps; map->usage >= 0; map++) { in vpx_codec_enc_config_default()
174 if (map->usage == (int)usage) { in vpx_codec_enc_config_default()
175 *cfg = map->cfg; in vpx_codec_enc_config_default()
/hardware/ti/omap4-aah/kernel-headers-ti/linux/
Dbvbuffdesc.h51 struct bvbuffmap *map; member
/hardware/intel/img/hwcomposer/ips/tangier/
DTngGrallocBufferMapper.h32 bool map();
/hardware/intel/img/hwcomposer/ips/common/
DTTMBufferMapper.h31 bool map();
DGrallocBufferMapperBase.h31 virtual bool map() = 0;
DTTMBufferMapper.cpp39 bool TTMBufferMapper::map() in map() function in android::intel::TTMBufferMapper
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
DTrustletSession.h45 std::map<uint32_t, CWsm_ptr> buffers;
/hardware/intel/img/hwcomposer/include/
DBufferMapper.h50 virtual bool map() = 0;
DBufferManager.h52 BufferMapper* map(DataBuffer& buffer);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DNetlinkConnection.h216 typedef std::map<uint64_t, NetlinkConnection *> connectionMap_t;
/hardware/intel/img/hwcomposer/common/buffers/
DBufferManager.cpp153 BufferMapper* BufferManager::map(DataBuffer& buffer) in map() function in android::intel::BufferManager
176 ret = mapper->map(); in map()
/hardware/ti/omap4-aah/domx/make/
Dbuild.mk145 MAPFILE := -Wl,-Map,$(TARGET).map
299 - $(call RM,-f $(TARGET).map)
315 - @$(call RM, $(TARGET).map)
/hardware/ti/omap4xxx/domx/make/
Dbuild.mk145 MAPFILE := -Wl,-Map,$(TARGET).map
299 - $(call RM,-f $(TARGET).map)
315 - @$(call RM, $(TARGET).map)

123