Charlie Hayden

Results 51 issues of Charlie Hayden

Pygame's camera module, (src_py/camera.py) uses different strategies to try to get a working webcam backend. At one point, videocapture / vidcapture was usable and used, another python library that could...

Submodule: camera
Platform: Windows
Code quality/robustness
Difficulty: Easy

Many beginners, intermediates, and even advanced pygame users often get confused what is going on with their surfaces. There are several "alpha strategies" one can use, from colorkeying to global...

enhancement
Submodule: Surface

Specifically in `alphablit_alpha_sse2_argb_no_surf_alpha_opaque_dst` I found an opportunity to reduce the amount of CPU clocks / instructions needed to move the alpha component from the src pixels into an interleaved 16...

Submodule: Surface
Performance

At least on supported platform, Windows, since we haven't updated to a new enough SDL_ttf on other platforms -- also we'll need to take care to build SDL_ttf with harfbuzz...

Submodule: font
Languages
Experimental
New API

This is a bit of a strange idea, but I thought I would put it out there. colordict.py is 26kb colordict.colors is 18.5kb of memory at runtime (measured using sys.getsizeof)...

enhancement
Submodule: color
Difficulty: moderate
Experimental

A couple weeks ago, I found a way to increase the performance of the AVX blitters: https://github.com/pygame/pygame/pull/3294 TLDR: This issue is to do that to the SSE blitters. But I'm...

enhancement
Submodule: Surface
Performance
Difficulty: moderate

@MyreMylar @itzpr3d4t0r Relevant to MyreMylar's question in https://github.com/libsdl-org/SDL/issues/5918 I have procured an SDL bundle capable of testing this. [built-x64.zip](https://github.com/pygame/pygame/files/9118683/built-x64.zip) SDL = -I**built-x64/include** -L**built-x64/new** -lSDL2 COPYLIB_SDL2 -**Lbuilt-x64/new/SDL2.dll** ^ Emphasis on lines...

SDL2

Looking at issue #2493 was interesting for me, I didn't know pygame and SDL had that capability! It was cool to play audio out of my monitor speakers when listening...

enhancement
Submodule: mixer
SDL2

Pygame depends on several C libraries, and occasionally people might want to know the versions of said libraries, so pygame provides version getter functions. SDL: `pygame.get_sdl_version()` SDL_ttf: missing Freetype: `pygame.freetype.get_version()`...

enhancement
minor
C code

When I wrote `scale_by` and `smoothscale_by`, I made them call the corresponding `scale` and `smoothscale` by creating a python arguments tuple in the c code, and then calling the other...

Submodule: transform
Performance
needs-investigation