/dports/games/uqm/uqm-0.8.0/src/libs/video/ |
H A D | vidplayer.c | 125 prev_want_frame = vid->cur_frame - vid->lag_cnt; in processAudioSyncedFrame() 130 vid->lag_cnt = vid->cur_frame + 1 - want_frame; in processAudioSyncedFrame() 143 vid->cur_frame = vid->decoder->cur_frame; in processAudioSyncedFrame() 194 vid->cur_frame = vid->decoder->cur_frame; in processMuteFrame() 204 if (vid->cur_frame == vid->loop_frame) in processMuteFrame() 219 RECT clip_r = {{0, 0}, {vid->w, vid->h}}; in TFB_PlayVideo() 221 RECT dr = {{x, y}, {vid->w, vid->h}}; in TFB_PlayVideo() 245 vid->src_rect = vid->dst_rect; in TFB_PlayVideo() 250 vid->decoder->data = vid; in TFB_PlayVideo() 252 vid->frame = TFB_DrawImage_CreateForScreen (vid->w, vid->h, FALSE); in TFB_PlayVideo() [all …]
|
H A D | video.c | 109 if (!vid) in VidPlayEx() 114 if (vid->hAudio) in VidPlayEx() 121 vid->loop_to = 0; in VidPlayEx() 131 if (TFB_PlayVideo (vid, (ScreenWidth - vid->w) / 2, in VidPlayEx() 134 _cur_video = vid; in VidPlayEx() 159 TFB_VideoClip* vid; in _init_video_file() local 166 vid = HCalloc (sizeof (*vid)); in _init_video_file() 169 vid->w = vid->decoder->w; in _init_video_file() 170 vid->h = vid->decoder->h; in _init_video_file() 179 if (!vid) in DestroyVideo() [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/gfx/drivers/ |
H A D | sdl_rs90_gfx.c | 671 vid->screen->pitch * vid->screen->h); in sdl_rs90_blit_video_mode_error_msg() 675 vid->frame_width, vid->frame_height, in sdl_rs90_blit_video_mode_error_msg() 705 if (!vid) in sdl_rs90_gfx_free() 812 vid = (sdl_rs90_video_t*)calloc(1, sizeof(*vid)); in sdl_rs90_gfx_init() 813 if (!vid) in sdl_rs90_gfx_init() 1017 vid->screen->pitch * vid->screen->h); in sdl_rs90_set_output() 1144 sdl_rs90_blit_frame16(vid, vid->menu_texture, in sdl_rs90_gfx_frame() 1154 if (vid->rgb32 && !vid->menu_active) in sdl_rs90_gfx_frame() 1306 if (!vid) in sdl_rs90_get_refresh_rate() 1365 sdl_rs90_set_output(vid, vid->content_width, in sdl_rs90_apply_state_changes() [all …]
|
H A D | sdl_dingux_gfx.c | 285 vid->screen->pitch * vid->screen->h); in sdl_dingux_blit_video_mode_error_msg() 289 vid->frame_width, vid->frame_height, in sdl_dingux_blit_video_mode_error_msg() 319 if (!vid) in sdl_dingux_gfx_free() 328 if (!vid->keep_aspect || vid->integer_scaling) in sdl_dingux_gfx_free() 443 vid = (sdl_dingux_video_t*)calloc(1, sizeof(*vid)); in sdl_dingux_gfx_init() 444 if (!vid) in sdl_dingux_gfx_init() 570 else if (vid->keep_aspect && !vid->integer_scaling) in sdl_dingux_sanitize_frame_dimensions() 604 else if (vid->keep_aspect && !vid->integer_scaling) in sdl_dingux_sanitize_frame_dimensions() 685 vid->screen->pitch * vid->screen->h); in sdl_dingux_set_output() 852 sdl_dingux_blit_frame16(vid, vid->menu_texture, in sdl_dingux_gfx_frame() [all …]
|
H A D | sdl2_gfx.c | 75 &vid->font_driver, &vid->font_data, in sdl2_init_font() 145 vid->font_r, vid->font_g, vid->font_b); in sdl2_render_msg() 175 SDL_RenderCopyEx(vid->renderer, vid->font.tex, in sdl2_render_msg() 219 SDL_RenderSetLogicalSize(vid->renderer, vid->vp.width, vid->vp.height); in sdl_refresh_renderer() 287 sdl2_tex_t *target = menu ? &vid->menu : &vid->frame; in sdl_refresh_input_size() 359 vid = (sdl2_video_t*)calloc(1, sizeof(*vid)); in sdl2_gfx_init() 360 if (!vid) in sdl2_gfx_init() 568 if (!vid) in sdl2_gfx_free() 578 vid->font_driver->free(vid->font_data); in sdl2_gfx_free() 587 if (vid) in sdl2_gfx_set_rotation() [all …]
|
H A D | oga_gfx.c | 326 vid->font_driver->free(vid->font); in oga_gfx_free() 369 vid = (oga_video_t*)calloc(1, sizeof(*vid)); in oga_gfx_init() 382 vid->display_ar = (float)vid->mode.vdisplay / vid->mode.hdisplay; in oga_gfx_init() 383 vid->drm_width = vid->mode.vdisplay; in oga_gfx_init() 384 vid->drm_height = vid->mode.hdisplay; in oga_gfx_init() 393 …vid->menu_surface = oga_create_surface(vid->fd, vid->drm_width, vid->drm_height, RK_FORMAT_BGRA_88… in oga_gfx_init() 408 …vid->msg_surface = oga_create_surface(vid->fd, vid->drm_width, vid->drm_height, RK_FORMAT_BGRA_8… in oga_gfx_init() 467 vid->msg_width = vid->msg_height = 0; in render_msg() 624 oga_blit(vid->msg_surface, 0, 0, vid->msg_width, vid->msg_height, in oga_gfx_frame() 629 …if (unlikely(drmModeSetCrtc(vid->fd, vid->crtc_id, page->fb_id, 0, 0, &vid->connector_id, 1, &vid-… in oga_gfx_frame() [all …]
|
H A D | sdl_gfx.c | 72 if (!vid) in sdl_gfx_free() 79 vid->font_driver->free(vid->font); in sdl_gfx_free() 84 free(vid); in sdl_gfx_free() 102 &vid->font_driver, &vid->font, in sdl_init_font() 141 atlas = vid->font_driver->get_atlas(vid->font); in sdl_render_msg() 273 vid = (sdl_video_t*)calloc(1, sizeof(*vid)); in sdl_gfx_init() 274 if (!vid) in sdl_gfx_init() 332 vid->menu.scaler = vid->scaler; in sdl_gfx_init() 336 vid->screen, vid->screen->format, vid->screen->flags | SDL_SRCALPHA); in sdl_gfx_init() 406 sdl_render_msg(vid, vid->screen, in sdl_gfx_frame() [all …]
|
/dports/math/dune-pdelab/dune-pdelab-20c7085389d3eb4f8ca99e1bc60f7fa6036536c8/dune/pdelab/test/ |
H A D | gridexamples.hh | 91 vid[0] = 0; vid[1] = 1; vid[2] = 2; gf.insertElement(type, vid); in create() 92 vid[0] = 2; vid[1] = 1; vid[2] = 3; gf.insertElement(type, vid); in create() 93 vid[0] = 2; vid[1] = 3; vid[2] = 5; gf.insertElement(type, vid); in create() 94 vid[0] = 5; vid[1] = 3; vid[2] = 6; gf.insertElement(type, vid); in create() 202 vid[0] = 0; vid[1] = 1; vid[2] = 2; vid[3] = 3; gf.insertElement(type, vid); in create() 237 vid[0] = 0; vid[1] = 1; vid[2] = 2; vid[3] = 4; gf.insertElement(type, vid); in create() 239 vid[0] = 1; vid[1] = 2; vid[2] = 3; vid[3] = 7; gf.insertElement(type, vid); in create() 241 vid[0] = 1; vid[1] = 2; vid[2] = 4; vid[3] = 7; gf.insertElement(type, vid); in create() 243 vid[0] = 1; vid[1] = 4; vid[2] = 5; vid[3] = 7; gf.insertElement(type, vid); in create() 245 vid[0] = 2; vid[1] = 4; vid[2] = 6; vid[3] = 7; gf.insertElement(type, vid); in create() [all …]
|
/dports/math/dune-grid/dune-grid-de36e4b4e99da4cd7a120a39779345e701821115/dune/grid/albertagrid/test/ |
H A D | test-alberta3d-refine.cc | 43 …vid[0] = 0; vid[1] = 1; vid[2] = 2; vid[3] = 3; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 69 …vid[0] = 0; vid[1] = 1; vid[2] = 3; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 70 …vid[0] = 0; vid[1] = 2; vid[2] = 3; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 71 …vid[0] = 0; vid[1] = 2; vid[2] = 6; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 72 …vid[0] = 0; vid[1] = 4; vid[2] = 6; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 73 …vid[0] = 0; vid[1] = 4; vid[2] = 5; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 74 …vid[0] = 0; vid[1] = 1; vid[2] = 5; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 102 …vid[0] = 0; vid[1] = 1; vid[2] = 2; vid[3] = 4; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 104 …vid[0] = 1; vid[1] = 2; vid[2] = 3; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() 106 …vid[0] = 1; vid[1] = 2; vid[2] = 4; vid[3] = 7; gf.insertElement(Dune::GeometryTypes::tetrahedron,… in create() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/addons/allegrogl/src/ |
H A D | videovtb.c | 498 vid = vid->next; in allegro_gl_video_getpixel() 593 vid = vid->next; in allegro_gl_video_putpixel() 639 vid = vid->next; in allegro_gl_video_vline() 652 vid = vid->next; in allegro_gl_video_vline() 699 vid = vid->next; in allegro_gl_video_hline() 712 vid = vid->next; in allegro_gl_video_hline() 794 vid = vid->next; in allegro_gl_video_rectfill() 863 vid = vid->next; in allegro_gl_video_triangle() 939 vid = vid->next; in allegro_gl_video_blit_from_memory_ex() 988 vid = vid->next; in allegro_gl_video_blit_to_memory() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/patches/ |
H A D | software_scale2d.patch | 106 + byte *dest = vid.conbuffer + (y * vid.height / vid.conheight) * vid.conrowbytes + 138 + ((byte *)vid.conbuffer + (y * vid.height / vid.conheight) * vid.conrowbytes + 217 + byte *dest = vid.buffer + (y * vid.height / vid.conheight) * vid.rowbytes + 223 + s = u * vid.conwidth / vid.width + (v * vid.conheight / vid.height) * 128; 247 + ((byte *)vid.buffer + (y * vid.height / vid.conheight) * vid.rowbytes + 253 + s = u * vid.conwidth / vid.width + (v * vid.conheight / vid.height) * 128; 301 + dest = vid.buffer + (y * vid.height / vid.conheight) * vid.rowbytes + x * vid.width / vid.conwidt… 341 + byte *dest = vid.buffer + (y*vid.height/vid.conheight) * vid.rowbytes + (x*vid.width/vid.conwidt… 355 + (y * vid.height / vid.conheight) * vid.rowbytes * (vid.rowbytes / 2) + 408 + byte *dest = vid.buffer + (y * vid.height / vid.conheight) * vid.rowbytes + [all …]
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux/common/ADM_editor/src/ |
H A D | ADM_edRenderInternal.cpp | 49 vid->lastDecodedPts=vid->lastReadPts=timeToSeek; in seektoTime() 95 vid->lastReadPts=pts; in seektoTime() 148 ADM_assert(vid); in nextPictureInternal() 219 cache=vid->_videoCache; in DecodeNextPicture() 226 vid->lastSentFrame++; in DecodeNextPicture() 291 vid->lastDecodedPts += vid->timeIncrementInUs * (vid->fieldEncoded ? 2 : 1); in DecodeNextPicture() 451 cache=vid->_videoCache; in DecodePictureUpToIntra() 471 vid->decoder->flush(); in DecodePictureUpToIntra() 473 vid->decoderDelay=0; in DecodePictureUpToIntra() 487 if(vid->lastSentFrame>=nbFrames-1) vid->lastSentFrame=nbFrames-1; in DecodePictureUpToIntra() [all …]
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux/common/ADM_editor/src/ |
H A D | ADM_edRenderInternal.cpp | 49 vid->lastDecodedPts=vid->lastReadPts=timeToSeek; in seektoTime() 95 vid->lastReadPts=pts; in seektoTime() 148 ADM_assert(vid); in nextPictureInternal() 219 cache=vid->_videoCache; in DecodeNextPicture() 226 vid->lastSentFrame++; in DecodeNextPicture() 291 vid->lastDecodedPts += vid->timeIncrementInUs * (vid->fieldEncoded ? 2 : 1); in DecodeNextPicture() 451 cache=vid->_videoCache; in DecodePictureUpToIntra() 471 vid->decoder->flush(); in DecodePictureUpToIntra() 473 vid->decoderDelay=0; in DecodePictureUpToIntra() 487 if(vid->lastSentFrame>=nbFrames-1) vid->lastSentFrame=nbFrames-1; in DecodePictureUpToIntra() [all …]
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux/common/ADM_editor/src/ |
H A D | ADM_edRenderInternal.cpp | 49 vid->lastDecodedPts=vid->lastReadPts=timeToSeek; in seektoTime() 95 vid->lastReadPts=pts; in seektoTime() 148 ADM_assert(vid); in nextPictureInternal() 219 cache=vid->_videoCache; in DecodeNextPicture() 226 vid->lastSentFrame++; in DecodeNextPicture() 291 vid->lastDecodedPts += vid->timeIncrementInUs * (vid->fieldEncoded ? 2 : 1); in DecodeNextPicture() 451 cache=vid->_videoCache; in DecodePictureUpToIntra() 471 vid->decoder->flush(); in DecodePictureUpToIntra() 473 vid->decoderDelay=0; in DecodePictureUpToIntra() 487 if(vid->lastSentFrame>=nbFrames-1) vid->lastSentFrame=nbFrames-1; in DecodePictureUpToIntra() [all …]
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux/common/ADM_editor/src/ |
H A D | ADM_edRenderInternal.cpp | 49 vid->lastDecodedPts=vid->lastReadPts=timeToSeek; in seektoTime() 95 vid->lastReadPts=pts; in seektoTime() 148 ADM_assert(vid); in nextPictureInternal() 219 cache=vid->_videoCache; in DecodeNextPicture() 226 vid->lastSentFrame++; in DecodeNextPicture() 291 vid->lastDecodedPts += vid->timeIncrementInUs * (vid->fieldEncoded ? 2 : 1); in DecodeNextPicture() 451 cache=vid->_videoCache; in DecodePictureUpToIntra() 471 vid->decoder->flush(); in DecodePictureUpToIntra() 473 vid->decoderDelay=0; in DecodePictureUpToIntra() 487 if(vid->lastSentFrame>=nbFrames-1) vid->lastSentFrame=nbFrames-1; in DecodePictureUpToIntra() [all …]
|
/dports/net-mgmt/py-pyeapi/pyeapi-0.8.4/test/system/ |
H A D | test_api_vlans.py | 57 for vid in ['1', '10']: 77 dut.config('vlan %s' % vid) 92 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 103 dut.config(['no vlan %s' % vid, 'vlan %s' % vid]) 113 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 'state suspend']) 123 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 'state active']) 134 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 148 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 162 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 175 dut.config(['no vlan %s' % vid, 'vlan %s' % vid, 'no trunk group']) [all …]
|
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/sdl/ |
H A D | i_video.c | 292 …VID_BlitLinearScreen( vid.display, vid.direct, vid.widthbytes, vid.height, vid.ybytes, vid.direct_… in I_FinishUpdate() 294 if( (vid.widthbytes == vid.direct_rowbytes) && (vid.ybytes == vid.direct_rowbytes)) in I_FinishUpdate() 297 memcpy(vid.direct, vid.display, vid.direct_size); in I_FinishUpdate() 354 VID_BlitLinearScreen( src, vid.display, vid.widthbytes, vid.height, vid.ybytes, vid.ybytes); in I_ReadScreen() 639 vid.ybytes = vid.width * vid.bytepp; in VID_SetMode_vid() 640 vid.screen_size = vid.ybytes * vid.height; in VID_SetMode_vid() 644 vid.screen_size = vid.ybytes * vid.height; in VID_SetMode_vid() 648 vid.display = vid.buffer; in VID_SetMode_vid() 649 vid.screen1 = vid.buffer + vid.screen_size; in VID_SetMode_vid() 718 vid.widthbytes = vid.width * vid.bytepp; in VID_SetMode() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/tegra-video/ |
H A D | video.c | 16 struct tegra_video_device *vid; in tegra_v4l2_dev_release() local 21 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 26 kfree(vid); in tegra_v4l2_dev_release() 46 struct tegra_video_device *vid; in host1x_video_probe() local 49 vid = kzalloc(sizeof(*vid), GFP_KERNEL); in host1x_video_probe() 50 if (!vid) in host1x_video_probe() 53 dev_set_drvdata(&dev->dev, vid); in host1x_video_probe() 55 vid->media_dev.dev = &dev->dev; in host1x_video_probe() 57 sizeof(vid->media_dev.model)); in host1x_video_probe() 67 vid->v4l2_dev.mdev = &vid->media_dev; in host1x_video_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/tegra-video/ |
H A D | video.c | 16 struct tegra_video_device *vid; in tegra_v4l2_dev_release() local 21 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 26 kfree(vid); in tegra_v4l2_dev_release() 46 struct tegra_video_device *vid; in host1x_video_probe() local 49 vid = kzalloc(sizeof(*vid), GFP_KERNEL); in host1x_video_probe() 50 if (!vid) in host1x_video_probe() 53 dev_set_drvdata(&dev->dev, vid); in host1x_video_probe() 55 vid->media_dev.dev = &dev->dev; in host1x_video_probe() 57 sizeof(vid->media_dev.model)); in host1x_video_probe() 67 vid->v4l2_dev.mdev = &vid->media_dev; in host1x_video_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/tegra-video/ |
H A D | video.c | 16 struct tegra_video_device *vid; in tegra_v4l2_dev_release() local 21 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 26 kfree(vid); in tegra_v4l2_dev_release() 46 struct tegra_video_device *vid; in host1x_video_probe() local 49 vid = kzalloc(sizeof(*vid), GFP_KERNEL); in host1x_video_probe() 50 if (!vid) in host1x_video_probe() 53 dev_set_drvdata(&dev->dev, vid); in host1x_video_probe() 55 vid->media_dev.dev = &dev->dev; in host1x_video_probe() 57 sizeof(vid->media_dev.model)); in host1x_video_probe() 67 vid->v4l2_dev.mdev = &vid->media_dev; in host1x_video_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 61 readl(vid->regs + reg)) 132 vid_debugfs_files[i].data = vid; in vid_debugfs_init() 157 val = readl(vid->regs + VID_CTL); in sti_vid_commit() 210 struct sti_vid *vid; in sti_vid_create() local 212 vid = devm_kzalloc(dev, sizeof(*vid), GFP_KERNEL); in sti_vid_create() 213 if (!vid) { in sti_vid_create() 218 vid->dev = dev; in sti_vid_create() 219 vid->regs = baseaddr; in sti_vid_create() 220 vid->id = id; in sti_vid_create() 222 sti_vid_init(vid); in sti_vid_create() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 61 readl(vid->regs + reg)) 132 vid_debugfs_files[i].data = vid; in vid_debugfs_init() 157 val = readl(vid->regs + VID_CTL); in sti_vid_commit() 210 struct sti_vid *vid; in sti_vid_create() local 212 vid = devm_kzalloc(dev, sizeof(*vid), GFP_KERNEL); in sti_vid_create() 213 if (!vid) { in sti_vid_create() 218 vid->dev = dev; in sti_vid_create() 219 vid->regs = baseaddr; in sti_vid_create() 220 vid->id = id; in sti_vid_create() 222 sti_vid_init(vid); in sti_vid_create() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 61 readl(vid->regs + reg)) 132 vid_debugfs_files[i].data = vid; in vid_debugfs_init() 157 val = readl(vid->regs + VID_CTL); in sti_vid_commit() 210 struct sti_vid *vid; in sti_vid_create() local 212 vid = devm_kzalloc(dev, sizeof(*vid), GFP_KERNEL); in sti_vid_create() 213 if (!vid) { in sti_vid_create() 218 vid->dev = dev; in sti_vid_create() 219 vid->regs = baseaddr; in sti_vid_create() 220 vid->id = id; in sti_vid_create() 222 sti_vid_init(vid); in sti_vid_create() [all …]
|
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | hyperweb.cpp | 126 vid.highdetail = vid.middetail = 5; in toggleanim() 134 vid.highdetail = vid.middetail = -1; in toggleanim() 201 printf("set to %d x %d\n", vid.xres, vid.yres); in fsc_callback() 205 vid.xres = vid.xscr = bak_xres; in fsc_callback() 206 vid.yres = vid.yscr = bak_yres; in fsc_callback() 215 vid.xscr = vid.xres = EM_ASM_INT({ in get_canvas_size() 220 if(vid.full) vid.yscr = vid.yres = EM_ASM_INT({ in get_canvas_size() 226 vid.xscr = vid.xres = vid.xres - 32; in get_canvas_size() 227 vid.yscr = vid.yres = EM_ASM_INT({ in get_canvas_size() 230 vid.yscr = vid.yres = min(vid.yscr, vid.xscr * 9 / 16); in get_canvas_size() [all …]
|
/dports/editors/texmacs/TeXmacs-1.99.4-src/TeXmacs/progs/utils/relate/ |
H A D | live-view.scm | 57 (ahash-set! t vid state))) 61 (ahash-ref t vid))) 65 (ahash-remove! t vid) 112 (for (vid vids) 135 (for (vid vids) 165 (for (vid vids) 176 (vid (live-view-id t)) 185 (with vts (id->trees vid) 213 (vid (car vids)) 214 (l (ahash-ref pend vid)) [all …]
|