Lines Matching refs:g_height
64 int g_width, g_height; variable
439 g_height = h << 3; in mve_video_createbuf()
441 g_vBackBuf1 = g_vBuffers = vm_malloc(g_width * g_height * 4); in mve_video_createbuf()
450 g_vBackBuf2 = (ushort *)g_vBackBuf1 + (g_width * g_height); 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()
483 g_screenY = ((ceil((gr_screen.max_h / scale_by) - 0.5f) - g_height) / 2); 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()
556 pDests += ((g_screenHeight - g_height) / 2) * g_screenWidth; in mve_convert_and_draw()
560 for (y=0; y<g_height; y++) { in mve_convert_and_draw()
610 …glTexSubImage2D(GL_state.Texture.GetTarget(), 0, 0, 0, g_width, g_height, GL_BGRA, GL_UNSIGNED_SHO… in mve_video_display()