Lines Matching defs:CustomBPP
148 uint32_t CustomXRes = 0, CustomYRes = 0, CustomBPP = 0;
157 rc = VBoxMPCmnRegQueryDword(Registry, L"CustomBPP", &CustomBPP);
169 swprintf(keyname, L"CustomBPP%d", iMode);
170 rc = VBoxMPCmnRegQueryDword(Registry, keyname, &CustomBPP);
174 LOG(("got stored custom resolution[%d] %dx%dx%d", iMode, CustomXRes, CustomYRes, CustomBPP));
176 if (CustomXRes || CustomYRes || CustomBPP)
186 if (CustomBPP == 0)
188 CustomBPP = g_CustomVideoModes[iMode].BitsPerPlane;
191 if (VBoxMPValidateVideoModeParamsGuest(pExt, iMode, CustomXRes, CustomYRes, CustomBPP))
193 VBoxFillVidModeInfo(&g_CustomVideoModes[iMode], CustomXRes, CustomYRes, CustomBPP, 0, 0);
701 rc = VBoxMPCmnRegSetDword(Registry, L"CustomBPP", pMode->BitsPerPlane);
713 swprintf(keyname, L"CustomBPP%d", iDisplay);