Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature suggestion: crop image
10-15-2015, 04:47 PM
Post: #3
RE: Feature suggestion: crop image
@Henrik what do you think about changing this small exception list, into something less automatic, like:
Code:
            int zoom = g_Config.iSmallDisplayZoom;
            float offsetX = g_Config.fSmallDisplayOffsetX * frameW;
            float offsetY = g_Config.fSmallDisplayOffsetY * frameH;
            float customZoom = g_Config.fSmallDisplayCustomZoom;
            if (!rotated) {
                *x = ((frameW - origW * zoom * customZoom) / 2) + offsetX;
                *y = ((frameH - origH * zoom * customZoom) / 2) + offsetY;
                *w = origW * zoom * customZoom;
                *h = origH * zoom * customZoom;
                return;
            } else {
                *x = ((frameW - origH * zoom * customZoom) / 2) + offsetX;
                *y = ((frameH - origW * zoom * customZoom) / 2) + offsetY;
                *w = origH * zoom * customZoom;
                *h = origW * zoom * customZoom;
                return;
            }
which would allow to fulfill all similar requests we had/repeatably having like:
- customizable small screen,
- square pixels even at the cost of black bars ~ recently requested here,
- original frame ratio sacrificing 2 rows of pixels for 99.9% of the people out there,
- keep the remaining 0.1% happy,
- and whatever else people requested that fits here.

If that solution is acceptable I could finish this concept later and open a pull request, just have no ideas how to name it to avoid confusion since it would allow to zoom however the user wants, not just small display or some ninja cropping.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feature suggestion: crop image - LunaMoo - 10-15-2015 04:47 PM

Forum Jump: