/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/utils/qvidcap/ |
H A D | paint.cpp | 496 .arg(m_v4l_fmt.g_height()) in changeShader() 704 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_YUV() 728 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_NV12() 968 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 977 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 981 idxV = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 988 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_YUV() 1045 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV12() 1072 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() 1079 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() [all …]
|
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/utils/qvidcap/ |
H A D | paint.cpp | 496 .arg(m_v4l_fmt.g_height()) in changeShader() 704 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_YUV() 728 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_NV12() 968 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 977 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 981 idxV = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 988 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_YUV() 1045 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV12() 1072 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() 1079 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() [all …]
|
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/utils/qvidcap/ |
H A D | paint.cpp | 496 .arg(m_v4l_fmt.g_height()) in changeShader() 704 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_YUV() 728 glTexImage2D(GL_TEXTURE_2D, 0, GL_R8, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), 0, in shader_NV12() 968 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 977 idxU = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 981 idxV = m_v4l_fmt.g_width() * m_v4l_fmt.g_height(); in render_YUV() 988 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_YUV() 1045 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV12() 1072 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() 1079 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_v4l_fmt.g_width(), m_v4l_fmt.g_height(), in render_NV24() [all …]
|
/dports/multimedia/libdc1394/libdc1394-2.2.6/examples/ |
H A D | dc1394_vloopback.c | 95 int g_height = DC1394_HEIGHT; variable 145 g_height = atoi(optarg); in get_options() 302 int size = g_width * g_height; in capture_pipe() 326 out_pipe, g_width/ppp, g_height, in capture_pipe() 330 size_t memsize = (g_width * g_height) << 1; in capture_pipe() 339 size_t memsize = (g_width * g_height) << 1; in capture_pipe() 346 size = g_width * g_height * 3 / 2; in capture_pipe() 729 vidwin->height=g_height; in v4l_ioctl() 747 g_height = vidwin->height; in v4l_ioctl() 798 if (vidmmap->height != g_height || in v4l_ioctl() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/cutscene/ |
H A D | mveplayer.cpp | 64 int g_width, g_height; variable 439 g_height = h << 3; in mve_video_createbuf() 452 g_vBackBuf2 = (ubyte *)g_vBackBuf1 + (g_width * g_height); in mve_video_createbuf() 454 memset(g_vBackBuf1, 0, g_width * g_height * 4); in mve_video_createbuf() 463 float movie_ratio = (float)g_width / (float)g_height; in mve_video_createbuf() 466 scale_by = (float)gr_screen.max_h / (float)g_height; in mve_video_createbuf() 487 g_screenY = ((float)(gr_screen.max_h - g_height) / 2.0f); in mve_video_createbuf() 492 gl_screenYH = g_screenY + g_height; in mve_video_createbuf() 496 gl_screenV = i2fl(g_height) / i2fl(hp2); in mve_video_createbuf() 555 if (g_screenHeight > g_height) { in mve_convert_and_draw() [all …]
|
/dports/net/mpich2/mpich2-1.5/examples/windows/pmandel_vis/ |
H A D | pman_visView.cpp | 36 int g_width, g_height; variable 138 min(g_height, r.bottom - r.top), in OnDraw() 147 if (r.bottom - r.top > g_height) in OnDraw() 150 r2.top = r2.top + g_height; in OnDraw() 339 if (mpi_connect_to_pmandel(dlg.m_pszMPIPort, g_width, g_height) != 0) in OnFileConnect() 360 g_height, in OnFileConnect() 443 if (point.y > g_height) in OnLButtonUp() 444 point.y = g_height; in OnLButtonUp() 447 if (m_p1.y > g_height) in OnLButtonUp() 448 m_p1.y = g_height; in OnLButtonUp() [all …]
|
H A D | mpi.cpp | 23 extern int g_width, g_height; 160 g_height = height; in mpi_connect_to_pmandel() 182 r.bottom = g_height; in mpi_send_xyminmax() 273 r.bottom = g_height; in mpi_get_pmandel_data()
|
H A D | sock.cpp | 24 extern int g_width, g_height; 193 g_height = height; in connect_to_pmandel() 217 r.bottom = g_height; in send_xyminmax() 368 r.bottom = g_height; in get_pmandel_data()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/script/ |
H A D | bench-c-deflate-fragmentation.c | 127 uint32_t g_height = 0; variable 173 g_height = load_u32be(p + 4); in process_png_chunks() 174 if ((g_width == 0) || (g_height == 0)) { in process_png_chunks() 177 if ((g_width > MAX_DIMENSION) || (g_height > MAX_DIMENSION)) { in process_png_chunks() 286 (i < g_height - 1)) { in decode_once() 379 g_bytes_per_frame = (uint64_t)g_height * g_bytes_per_row; in main()
|
/dports/graphics/aloadimage/arcan-0.6.1/src/platform/stub/ |
H A D | video.c | 24 static size_t g_height; variable 168 .height = g_height in platform_video_dimensions() 178 mode.height = g_height; in platform_video_query_modes() 217 g_height = height; in platform_video_init()
|
/dports/sysutils/acfgfs/arcan-0.6.1/src/platform/stub/ |
H A D | video.c | 24 static size_t g_height; variable 168 .height = g_height in platform_video_dimensions() 178 mode.height = g_height; in platform_video_query_modes() 217 g_height = height; in platform_video_init()
|
/dports/x11/arcan-trayicon/arcan-0.6.1/src/platform/stub/ |
H A D | video.c | 24 static size_t g_height; variable 168 .height = g_height in platform_video_dimensions() 178 mode.height = g_height; in platform_video_query_modes() 217 g_height = height; in platform_video_init()
|
/dports/x11/aclip/arcan-0.6.1/src/platform/stub/ |
H A D | video.c | 24 static size_t g_height; variable 168 .height = g_height in platform_video_dimensions() 178 mode.height = g_height; in platform_video_query_modes() 217 g_height = height; in platform_video_init()
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glPaintTest/ |
H A D | glPaintTest.cpp | 75 g_height = 1024; variable 613 glViewport(0, 0, g_width, g_height); in display() 620 double aspect = g_width/(double)g_height; in display() 735 double aspect = g_width/(double)g_height; in drawStroke() 736 int viewport[4] = {0, 0, g_width, g_height}; in drawStroke() 834 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 875 g_height = height; in reshape() 877 int windowWidth = g_width, windowHeight = g_height; in reshape() 898 reshape(g_window, g_width, g_height); in reshape() 974 int windowWidth = g_width, windowHeight = g_height, in initHUD() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/example/convert-to-nia/ |
H A D | convert-to-nia.c | 114 uint32_t g_height = 0; variable 288 g_height = h; in load_image_config() 323 if ((tab.width != (g_width * BYTES_PER_PIXEL)) || (tab.height != g_height)) { in load_image_config() 336 if (rect.max_excl_y > g_height) { in fill_rectangle() 337 rect.max_excl_y = g_height; in fill_rectangle() 362 wuffs_base__store_u32le__no_bounds_check(data + 0x0C, g_height); in print_nix_header() 391 if (g_width & g_height & 1) { in print_nia_padding()
|
/dports/games/d2x/d2x-0.2.5/libmve/ |
H A D | mveplay.c | 479 int g_width, g_height; variable 519 g_height = h << 3; in create_videobuf_handler() 522 g_vBackBuf1 = g_vBuffers = d_malloc(g_width * g_height * 8); in create_videobuf_handler() 524 g_vBackBuf2 = (unsigned short *)g_vBackBuf1 + (g_width * g_height); in create_videobuf_handler() 526 g_vBackBuf2 = (unsigned char *)g_vBackBuf1 + (g_width * g_height); in create_videobuf_handler() 529 memset(g_vBackBuf1, 0, g_width * g_height * 4); in create_videobuf_handler() 584 …initSprite = SDL_CreateRGBSurface(SDL_SWSURFACE, g_width, g_height, g_truecolor?16:8, 0x7C00, 0x03… in ConvertAndDraw() 604 for (y=0; y<g_height; y++) { in ConvertAndDraw() 614 for (i=0; i<g_height; i++) { in ConvertAndDraw() 653 bitmap = gr_create_bitmap_raw(g_width, g_height, g_vBackBuf1); in display_video_handler() [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glFVarViewer/ |
H A D | glFVarViewer.cpp | 109 g_height = 800; variable 840 glViewport(0, 0, g_width/2, g_height); in display() 844 double aspect = (g_width/2)/(double)g_height; in display() 904 glViewport(g_width/2, 0, g_width/2, g_height); in display() 933 glViewport(0, 0, g_width, g_height); in display() 967 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 992 int windowWidth = g_width, windowHeight = g_height; in mouse() 1012 g_height = height; in reshape() 1014 int windowWidth = g_width, windowHeight = g_height; in reshape() 1161 int windowWidth = g_width, windowHeight = g_height, in initHUD() [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glStencilViewer/ |
H A D | glStencilViewer.cpp | 116 g_height = 1024, variable 729 glViewport(0, 0, g_width, g_height); in display() 732 double aspect = g_width/(double)g_height; in display() 806 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 835 g_height = height; in reshape() 837 int windowWidth = g_width, windowHeight = g_height; in reshape() 977 int windowWidth = g_width, windowHeight = g_height, in initHUD() 978 frameBufferWidth = g_width, frameBufferHeight = g_height; in initHUD() 1109 g_height = vidmode->height; in main() 1113 if (! (g_window=glfwCreateWindow(g_width, g_height, windowTitle, in main() [all …]
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/d2x-rebirth/libmve/ |
H A D | mveplay.cpp | 521 int g_width, g_height; variable 562 g_height = h << 3; in create_videobuf_handler() 566 g_vBuffers.assign(g_width * g_height * 8, 0); in create_videobuf_handler() 569 …f2 = reinterpret_cast<uint8_t *>(reinterpret_cast<uint16_t *>(g_vBackBuf1) + (g_width * g_height)); in create_videobuf_handler() 571 g_vBackBuf2 = (g_vBackBuf1 + (g_width * g_height)); in create_videobuf_handler() 584 MovieShowFrame(g_vBackBuf1, g_destX, g_destY, g_width, g_height, g_screenWidth, g_screenHeight); in display_video_handler() 705 vSpec->height = g_height; in MVE_getVideoSpec()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/example/imageviewer/ |
H A D | imageviewer.c | 81 uint32_t g_height = 0; variable 200 g_height = h; in load_image_config() 321 g_height = 0; in load_image() 411 xcb_create_pixmap(c, s->root_depth, g_pixmap, w, g_width, g_height); in load() 413 c, g_width, g_height, XCB_IMAGE_FORMAT_Z_PIXMAP, s->root_depth, NULL, in load() 466 xcb_copy_area(c, g_pixmap, w, g, 0, 0, 0, 0, g_width, g_height); in main()
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glShareTopology/ |
H A D | glShareTopology.cpp | 142 g_height = 1024; variable 624 glViewport(0, 0, g_width, g_height); 628 double aspect = g_width/(double)g_height; 794 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; 834 g_height = height; 836 int windowWidth = g_width, windowHeight = g_height; 1051 int windowWidth = g_width, windowHeight = g_height, 1052 frameBufferWidth = g_width, frameBufferHeight = g_height; 1191 if (! (g_window=glfwCreateWindow(g_width, g_height, windowTitle, NULL, NULL))) { 1203 glfwGetFramebufferSize(g_window, &g_width, &g_height);
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/dxViewer/ |
H A D | dxviewer.cpp | 160 g_height = 1024; variable 708 float aspect = (g_height > 0) ? (float)g_width / g_height : 1.0f; in bindProgram() 987 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 1186 g_hud->Init(g_width, g_height); in initHUD() 1317 hDXGISwapChainDesc.BufferDesc.Height = g_height; in initD3D11() 1428 if (g_pSwapChainRTV && (g_width == width) && (g_height == height)) { in updateRenderTarget() 1432 g_height = height; in updateRenderTarget() 1434 g_hud->Rebuild(g_width, g_height); in updateRenderTarget() 1458 depthBufferDesc.Height = g_height; in updateRenderTarget() 1489 vp.Height = (float)g_height; in updateRenderTarget() [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glPtexViewer/ |
H A D | glPtexViewer.cpp | 217 g_height = 1024; variable 465 g_height = height; in reshape() 467 int windowWidth = g_width, windowHeight = g_height; in reshape() 480 reshape(g_window, g_width, g_height); in reshape() 1088 double aspect = g_width/(double)g_height; in updateConstantUniformBlock() 1286 double aspect = g_width/(double)g_height; in drawSky() 1328 glViewport(0, 0, g_width, g_height); in display() 1456 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 1796 g_height = vidmode->height; in main() 1819 glfwGetFramebufferSize(g_window, &g_width, &g_height); in main() [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/farViewer/ |
H A D | farViewer.cpp | 120 g_height = 1024; variable 825 glViewport(0, 0, g_width, g_height); in display() 828 double aspect = g_width/(double)g_height; in display() 1009 g_pan[1] += g_dolly*(y - g_prev_y)/g_height; in motion() 1041 g_height = height; in reshape() 1043 int windowWidth = g_width, windowHeight = g_height; in reshape() 1216 int windowWidth = g_width, windowHeight = g_height; in initHUD() 1217 int frameBufferWidth = g_width, frameBufferHeight = g_height; in initHUD() 1365 g_height = vidmode->height; in main() 1369 if (! (g_window=glfwCreateWindow(g_width, g_height, windowTitle, in main() [all …]
|
/dports/print/texlive-base/texlive-20150521-source/texk/seetexk/ |
H A D | font.h | 49 i32 g_height; /* height of bounding box */ member 285 #define HASRASTER(g) ((g)->g_height && (g)->g_width)
|