/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/VideoChips/ |
H A D | VDP.c | 148 #define vdpIsVideoPal(vdp) (((vdp)->vdpRegs[9] & (vdp)->palMask & 0x02) | (vdp)->palValue) argument 505 vdp->timeDrawAreaEnd = vdp->timeVint - (vdp->leftBorder - 10); in scheduleVint() 518 …vdp->timeDrawAreaStart = vdp->frameStartTime + ((vdp->drawArea ? 3 + 13 : vdp->firstLine) - 1) * H… in scheduleDrawAreaStart() 1019 …vdp->vdpData = vdp->vramEnable ? *MAP_VRAM(vdp, (vdp->vdpRegs[14] << 14) | vdp->vramAddress) : 0xf… in readNoTimingCheck() 1355 vdp->palette[0] = vdp->palette[vdp->BGColor]; in updateOutputMode() 1434 vdp->RefreshLine(vdp, vdp->curLine, vdp->lineOffset, 33); in sync() 1441 vdp->RefreshLine(vdp, vdp->curLine, -1, 33); in sync() 1458 vdp->RefreshLine(vdp, vdp->curLine, vdp->lineOffset, curLineOffset); in sync() 1606 vdp->vramPtr = vdp->vram + vdp->vramOffsets[(vdp->vdpRegs[0x2d] >> 6) & 1]; 1828 vdp->vramPtr = vdp->vram + vdp->vramOffsets[(vdp->vdpRegs[0x2d] >> 6) & 1]; in loadState() [all …]
|
H A D | Common.h | 265 linePtr0 = RefreshBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, vdp->hAdjustSc0); in RefreshLine0() 269 y = Y - vdp->firstLine + vdpVScroll(vdp) - vdp->scr0splitLine; in RefreshLine0() 342 RefreshRightBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, -vdp->hAdjustSc0); in RefreshLine0() 363 linePtr0p = RefreshBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, vdp->hAdjustSc0); in RefreshLine0Plus() 440 RefreshRightBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, -vdp->hAdjustSc0); in RefreshLine0Plus() 460 linePtr0m = RefreshBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, vdp->hAdjustSc0); in RefreshLine0Mix() 535 RefreshRightBorder(vdp, Y, vdp->palette[vdp->BGColor], 0, -vdp->hAdjustSc0); in RefreshLine0Mix() 664 linePtr0w = RefreshBorder(vdp, Y, vdp->palette[vdp->BGColor], 1, vdp->hAdjustSc0); in RefreshLineTx80() 759 RefreshRightBorder(vdp, Y, vdp->palette[vdp->BGColor], 1, -vdp->hAdjustSc0); in RefreshLineTx80() 1966 …linePtr6 = RefreshBorder6(vdp, Y, vdp->palette[(vdp->BGColor >> 2) & 0x03], vdp->palette[vdp->BGCo… in RefreshLine6() [all …]
|
/dports/emulators/mednafen/mednafen/src/sms/ |
H A D | vdp.cpp | 49 memset(vdp.vram, 0, sizeof(vdp.vram)); in vdp_reset() 50 memset(vdp.cram, 0, sizeof(vdp.cram)); in vdp_reset() 51 memset(vdp.reg, 0, sizeof(vdp.reg)); in vdp_reset() 140 vdp.pn = (vdp.reg[2] << 10) & 0x3C00; in viewport_check() 260 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_write() 284 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_read() 376 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in gg_vdp_write() 444 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in md_vdp_write() 504 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in tms_write() 545 for(vdp.line = 0; vdp.line < vdp.lines_per_frame;) in SMS_VDPRunFrame() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/sms/ |
H A D | smsvdp.cpp | 68 vdp.ct = (vdp.reg[3] << 6) & 0x3FC0; in vdp_reset() 69 vdp.pg = (vdp.reg[4] << 11) & 0x3800; in vdp_reset() 73 vdp.bd = (vdp.reg[7] & 0x0F); in vdp_reset() 229 vdp.bd = (vdp.reg[7] & 0x0F); in vdp_reg_w() 244 if (vdp.line+1 < vdp.lpf) render_line((vdp.line+1)%vdp.lpf); in vdp_write() 295 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_write() 319 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_read() 390 if (vdp.line+1 < vdp.lpf) render_line((vdp.line+1)%vdp.lpf); in gg_vdp_write() 444 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in gg_vdp_write() 514 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in md_vdp_write() [all …]
|
H A D | smstms.cpp | 48 sa = &vdp.vram[vdp.sa + (i << 2)]; in parse_line() 93 sg = &vdp.vram[vdp.sg | (name << 3) | (diff & 7)]; in parse_line() 103 vdp.status = (vdp.status & 0xE0) | (i & 0x1F); in parse_line() 414 UINT8 *pn = &vdp.vram[vdp.pn + ((line >> 3) << 5)]; in render_bg_m0() 415 UINT8 *ct = &vdp.vram[vdp.ct]; in render_bg_m0() 416 UINT8 *pg = &vdp.vram[vdp.pg | (v_row)]; in render_bg_m0() 438 UINT8 *pn = &vdp.vram[vdp.pn + text_counter]; in render_bg_m1() 440 UINT8 *pg = &vdp.vram[vdp.pg | (v_row)]; in render_bg_m1() 467 UINT8 *pn = &vdp.vram[vdp.pn + ((line >> 3) * 40)]; in render_bg_m1x() 506 UINT8 *pn = &vdp.vram[vdp.pn + ((line >> 3) << 5)]; in render_bg_m3() [all …]
|
H A D | smssystem.cpp | 81 vdp.left = vdp.reg[0x0A]; in system_frame() 82 vdp.spr_col = 0xff00; in system_frame() 89 for (vdp.line = 0; vdp.line < vdp.lpf;) in system_frame() 93 render_line(vdp.line); in system_frame() 95 if (vdp.line <= iline) in system_frame() 97 if (--vdp.left < 0) in system_frame() 99 vdp.left = vdp.reg[0x0A]; in system_frame() 114 if(vdp.line == iline) in system_frame() 116 vdp.status |= 0x80; in system_frame() 117 vdp.vint_pending = 1; in system_frame() [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/sms/ |
H A D | smsvdp.cpp | 189 vdp.pn = (vdp.reg[2] << 10) & 0x3C00; in viewport_check() 190 vdp.ct = (vdp.reg[3] << 6) & 0x3FC0; in viewport_check() 191 vdp.pg = (vdp.reg[4] << 11) & 0x3800; in viewport_check() 192 vdp.sa = (vdp.reg[5] << 7) & 0x3F80; in viewport_check() 193 vdp.sg = (vdp.reg[6] << 11) & 0x3800; in viewport_check() 253 vdp.bd = (vdp.reg[7] & 0x0F); in vdp_reg_w() 311 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_write() 335 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in vdp_read() 432 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in gg_vdp_write() 502 vdp.buffer = vdp.vram[vdp.addr & 0x3FFF]; in md_vdp_write() [all …]
|
H A D | smssystem.cpp | 56 if(vdp.mode <= 7) in system_frame() 59 for(vdp.line = 0; vdp.line < lpf;) in system_frame() 69 if(vdp.line <= iline) in system_frame() 71 vdp.left -= 1; in system_frame() 72 if(vdp.left == -1) in system_frame() 74 vdp.left = vdp.reg[0x0A]; in system_frame() 90 vdp.left = vdp.reg[0x0A]; in system_frame() 95 if(vdp.line == iline) in system_frame() 97 vdp.status |= 0x80; in system_frame() 121 ++vdp.line; in system_frame() [all …]
|
/dports/emulators/darcnes/darcnes/ |
H A D | gen_vdp.c | 89 retval = vdp->palette[(vdp->address++) & 0x3f]; in gen_vdp_readport0() 93 vdp->readahead = vdp->memory[vdp->address++]; in gen_vdp_readport0() 105 *((unsigned short *)(&vdp->palette[vdp->address])) = data; in gen_vdp_writeport0() 119 *((unsigned short *)(&vdp->memory[vdp->address])) = data; in gen_vdp_writeport0() 163 vdp->address = (data << 14) | (vdp->addrsave & 0x3fff); in gen_vdp_writeport1() 190 length = vdp->regs[19] + (vdp->regs[20] << 8); in gen_vdp_handle_dma() 191 source = vdp->regs[21] + (vdp->regs[22] << 8) + (vdp->regs[23] << 16); in gen_vdp_handle_dma() 227 cur_scanline = vdp->cur_scanline + vdp->regs[9]; in gen_vdp_render_background() 378 vdp->linecounter = vdp->regs[10]; in gen_vdp_periodic() 383 if ((vdp->cur_scanline < 192) && !vdp->linecounter--) { in gen_vdp_periodic() [all …]
|
H A D | sms9918.c | 109 retval = vdp->palette[(vdp->address++) & 0x1f]; in sms9918_readport0() 112 retval = vdp->palette[(vdp->address++) & 0x3f]; in sms9918_readport0() 117 vdp->readahead = vdp->memory[vdp->address++]; in sms9918_readport0() 129 vdp->palette[(vdp->address++) & 0x1f] = data; in sms9918_writeport0() 133 vdp->palette[(vdp->address) & 0x3f] = data; in sms9918_writeport0() 145 vdp->memory[vdp->address] = data; in sms9918_writeport0() 146 sms9918_cache_tile(vdp, vdp->address); in sms9918_writeport0() 147 sms9918_cache_name(vdp, vdp->address); in sms9918_writeport0() 194 vdp->readahead = vdp->memory[vdp->address++]; in sms9918_writeport1() 501 vdp->linecounter = vdp->regs[10]; in sms9918_periodic() [all …]
|
H A D | pce_vdp.c | 83 retval = vdp->palette_h[vdp->palette_addr]; in pce_vce_read() 88 return vdp->palette_l[vdp->palette_addr]; in pce_vce_read() 113 vdp->palette_l[vdp->palette_addr] = data; in pce_vce_write() 114 vdp->palette_xlat[vdp->palette_addr] = PCE_COLOR_XLAT(vdp->palette_addr); in pce_vce_write() 117 vdp->palette_h[vdp->palette_addr] = data & 1; in pce_vce_write() 118 vdp->palette_xlat[vdp->palette_addr] = PCE_COLOR_XLAT(vdp->palette_addr); in pce_vce_write() 141 return vdp->memory[(vdp->mem_read_addr << 1) + 0]; in pce_vdp_read() 541 if ((vdp->cur_scanline + 0x40) == (vdp->regs_l[6] + (vdp->regs_h[6] << 8))) { in pce_vdp_periodic() 558 vdp->y_scroll = ((vdp->regs_h[8] << 8) + vdp->regs_l[8]); in pce_vdp_periodic() 559 if ((vdp->regs_l[11] & 0x7f) != vdp->last_width) { in pce_vdp_periodic() [all …]
|
H A D | tms9918.c | 55 vdp->readahead = vdp->memory[vdp->address++]; in tms9918_readport0() 74 vdp->memory[vdp->address++] = data; in tms9918_writeport0() 84 vdp->regs[data & 7] = vdp->addrsave; in tms9918_writeport1() 87 vdp->address = (vdp->addrsave | (data << 8)) & 0x3fff; in tms9918_writeport1() 89 vdp->readahead = vdp->memory[vdp->address++]; in tms9918_writeport1() 123 pattern_table = &vdp->memory[(vdp->regs[6] & 0x07) << 11]; in tms9918_cache_sprites() 318 colortable = vdp->memory + (vdp->regs[3] << 6); in tms9918_render_line_mode_0() 384 color0 = vdp->palette[vdp->regs[7] & 15]; in tms9918_render_line_mode_1() 385 color1 = vdp->palette[vdp->regs[7] >> 4]; in tms9918_render_line_mode_1() 570 vdp->palette[0] = vdp->palette[vdp->regs[7] & 0x0f]; in tms9918_render_line() [all …]
|
H A D | apple2_vdp.c | 47 vdp->is_textmode = 0; in a2v_io() 51 vdp->is_textmode = 1; in a2v_io() 55 vdp->is_mixed = 0; in a2v_io() 59 vdp->is_mixed = 1; in a2v_io() 63 vdp->is_primary = 1; in a2v_io() 67 vdp->is_primary = 0; in a2v_io() 71 vdp->is_hires = 0; in a2v_io() 75 vdp-> is_hires = 1; in a2v_io() 254 } else if ((vdp->scanline >= 160) && (vdp->is_mixed)) { in a2v_periodic() 263 vdp->scanline = 0; in a2v_periodic() [all …]
|
/dports/games/libretro-emux/emux-640d4ba/controllers/video/ |
H A D | vdp.c | 196 static void vdp_tick(struct vdp *vdp); argument 217 uint8_t ctrl_read(struct vdp *vdp) in ctrl_read() argument 258 vdp->read_buffer = vdp->vram[vdp->address++ & (VRAM_SIZE - 1)]; in ctrl_write() 269 uint8_t data_read(struct vdp *vdp) in data_read() argument 278 vdp->read_buffer = vdp->vram[vdp->address++ & (VRAM_SIZE - 1)]; in data_read() 339 void vdp_draw_line_bg(struct vdp *vdp) in vdp_draw_line_bg() argument 631 void vdp_tick(struct vdp *vdp) in vdp_tick() argument 680 struct vdp *vdp; in vdp_init() local 699 vdp->region.data = vdp; in vdp_init() 709 vdp->scanline_region.data = vdp; in vdp_init() [all …]
|
/dports/multimedia/libvdpau-va-gl/libvdpau-va-gl-0.4.2/src/ |
H A D | handle-storage.cc | 54 namespace vdp { namespace 64 vdp::ResourceStorage<vdp::BitmapSurface::Resource> & 71 vdp::ResourceStorage<vdp::Device::Resource> & 72 vdp::ResourceStorage<vdp::Device::Resource>::instance() in instance() 78 vdp::ResourceStorage<vdp::OutputSurface::Resource> & 85 vdp::ResourceStorage<vdp::PresentationQueue::Resource> & 99 vdp::ResourceStorage<vdp::Decoder::Resource> & 100 vdp::ResourceStorage<vdp::Decoder::Resource>::instance() in instance() 106 vdp::ResourceStorage<vdp::VideoMixer::Resource> & 107 vdp::ResourceStorage<vdp::VideoMixer::Resource>::instance() in instance() [all …]
|
H A D | api-device.cc | 55 namespace vdp { namespace 66 namespace vdp { namespace 100 *function_pointer = reinterpret_cast<void *>(&vdp::GetErrorString); in GetProcAddress() 104 *function_pointer = reinterpret_cast<void *>(&vdp::GetProcAddress); in GetProcAddress() 108 *function_pointer = reinterpret_cast<void *>(&vdp::GetApiVersion); in GetProcAddress() 440 throw vdp::generic_error(); 455 } catch (const vdp::resource_not_found &) { in destroy_orphaned_resources() 567 *device = vdp::ResourceStorage<Resource>::instance().insert(data); in CreateX11Impl() 570 *get_proc_address = &vdp::GetProcAddress; in CreateX11Impl() 590 destroy_orphaned_resources<vdp::Decoder::Resource>(device_id); in DestroyImpl() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/hw/vdpau/ |
H A D | vlc_vdpau.c | 244 const vdp_t *vdp, VdpDevice device, in vdp_output_surface_query_put_bits_y_cb_cr_capabilities() argument 621 vdp_t *vdp = malloc(sizeof (*vdp)); in vdp_create_x11() local 622 if (unlikely(vdp == NULL)) in vdp_create_x11() 624 *vdpp = vdp; in vdp_create_x11() 629 if (vdp->handle == NULL) in vdp_create_x11() 631 free(vdp); in vdp_create_x11() 646 vdp->funcs[i] = NULL; in vdp_create_x11() 650 vdp_destroy_x11(vdp); in vdp_create_x11() 654 void vdp_destroy_x11(vdp_t *vdp) in vdp_destroy_x11() argument 656 dlclose(vdp->handle); in vdp_destroy_x11() [all …]
|
/dports/biology/ncbi-toolkit/ncbi/desktop/ |
H A D | udvpanel.c | 298 vdp = vmp->vdp; in UDV_TimerProc() 831 vdp=vmp->vdp; in UDV_ObjRegAutonomous() 982 vdp->procid,vdp->proctype,vdp->userkey); in UDV_FreeVDPstruct() 1186 vdp = vmp->vdp; in RefreshScreenProc() 1225 vdp = vmp->vdp; in ScalePosChoiceProc() 1273 vdp = vmp->vdp; in ShowFeatProc() 1382 UDV_create_buffer(&vdp->udv_graph,vdp->ParaG,&vdp->bsp_i,NULL,vdp->bDisplayRevComp); in PanelOrgChange() 1851 UDV_create_buffer(&vdp->udv_graph,vdp->ParaG,&vdp->bsp_i,NULL,vdp->bDisplayRevComp); in UDV_resize_viewer() 1879 vdp=vmp->vdp; in UDV_WinMainResize() 2520 vdp=(*vmp)->vdp; in CreateUDVpanel() [all …]
|
/dports/databases/db18/db-18.1.40/src/db/ |
H A D | db_vrfyutil.c | 34 VRFY_DBINFO *vdp; local 37 vdp = NULL; 91 vdp->cdbp = cdbp; 95 *vdpp = vdp; 103 (void)vdp->txn->commit(vdp->txn, 0); 104 if (vdp != NULL) 132 env, vdp, LIST_FIRST(&vdp->activepips))) != 0) { 154 (t_ret = vdp->txn->commit(vdp->txn, 0)) != 0 && ret == 0) 215 vdp->thread_info, vdp->txn, &key, &data, 0)) == 0) { 267 vdp->thread_info, vdp->txn, &key, &data, 0)) != 0) [all …]
|
H A D | db_vrfy.c | 217 VRFY_DBINFO *vdp; local 224 vdp = NULL; 427 if (vdp != NULL && 540 VRFY_DBINFO *vdp; 742 VRFY_DBINFO *vdp; 968 VRFY_DBINFO *vdp; 1000 vdp->pgs_remaining = vdp->last_pgno + 1; 1095 vdp->thread_info, vdp->txn, i, &p)) != 0) 1661 vdp->thread_info, vdp->txn, next_pgno, &p)) != 0) 1670 vdp->thread_info, vdp->txn, next_pgno)) != 0) [all …]
|
/dports/databases/db5/db-5.3.28/src/db/ |
H A D | db_vrfyutil.c | 34 VRFY_DBINFO *vdp; local 37 vdp = NULL; 85 vdp->cdbp = cdbp; 89 *vdpp = vdp; 97 (void)vdp->txn->commit(vdp->txn, 0); 98 if (vdp != NULL) 126 env, vdp, LIST_FIRST(&vdp->activepips))) != 0) { 148 (t_ret = vdp->txn->commit(vdp->txn, 0)) != 0 && ret == 0) 209 vdp->thread_info, vdp->txn, &key, &data, 0)) == 0) { 260 vdp->thread_info, vdp->txn, &key, &data, 0)) != 0) [all …]
|
H A D | db_vrfy.c | 211 VRFY_DBINFO *vdp; local 218 vdp = NULL; 419 if (vdp != NULL && 532 VRFY_DBINFO *vdp; 733 VRFY_DBINFO *vdp; 954 VRFY_DBINFO *vdp; 986 vdp->pgs_remaining = vdp->last_pgno + 1; 1081 vdp->thread_info, vdp->txn, i, &p)) != 0) 1638 vdp->thread_info, vdp->txn, next_pgno, &p)) != 0) 1647 vdp->thread_info, vdp->txn, next_pgno)) != 0) [all …]
|
/dports/databases/db18/db-18.1.40/src/qam/ |
H A D | qam_verify.c | 27 VRFY_DBINFO *vdp; 245 VRFY_DBINFO *vdp; 256 if (vdp->last_recno <= vdp->first_recno) 285 pgset, vdp->thread_info, vdp->txn, pgno)) != 0) 290 vdp->thread_info, vdp->txn, pgno)) != 0) 317 pgset, vdp->thread_info, vdp->txn, pgno + i)) != 0) 352 VRFY_DBINFO *vdp; 432 vdp->pgset, vdp->thread_info, vdp->txn, 0)) != 0) 451 vdp->thread_info, vdp->txn, i)) != 0) 585 vdp->thread_info, vdp->txn, i)) != 0) [all …]
|
/dports/databases/db5/db-5.3.28/src/qam/ |
H A D | qam_verify.c | 27 VRFY_DBINFO *vdp; 211 VRFY_DBINFO *vdp; 222 if (vdp->last_recno <= vdp->first_recno) 251 pgset, vdp->thread_info, vdp->txn, pgno)) != 0) 256 vdp->thread_info, vdp->txn, pgno)) != 0) 283 pgset, vdp->thread_info, vdp->txn, pgno + i)) != 0) 318 VRFY_DBINFO *vdp; 390 vdp->pgset, vdp->thread_info, vdp->txn, 0)) != 0) 409 vdp->thread_info, vdp->txn, i)) != 0) 536 vdp->thread_info, vdp->txn, i)) != 0) [all …]
|
/dports/devel/libvirt-java/libvirt-java-0.5.2/src/main/java/org/libvirt/ |
H A D | Domain.java | 165 DomainPointer vdp; field in Domain 209 if (vdp == null) { in equals() 210 return other.vdp == null; in equals() 213 if (vdp.equals(other.vdp)) { in equals() 240 this.vdp = vdp; in Domain() 253 processError(libvirt.virDomainRef(vdp)); in constructIncRef() 255 return new Domain(virConnect, vdp); in constructIncRef() 462 processError(libvirt.virDomainDestroy(vdp)); in destroy() 508 if (vdp != null) { in free() 510 vdp = null; in free() [all …]
|