Channel circle › core 5 Media › image
image (core 5, sub 1, flat id 81)
46 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| static char * ImageStrdup(const char *s) | (no comment) | ImageChannel.c:31 | static |
| static int ImageHasScheme(const char *u) | (no comment) | ImageChannel.c:43 | static |
| static int ImageToFetchURL(const char *in, char *out, size_t cap) | Bare asset name or disk path -> file:/// URL curl understands. | ImageChannel.c:54 | static |
| static char * ImageWideToUTF8(const wchar_t *w) | UTF-16 (Windows wchar_t) or UTF-32 (Linux wchar_t) -> UTF-8. | ImageChannel.c:100 | static |
| static int ImageAllocPixels(struct Image *img, uint32_t w, uint32_t h) | Pixels | ImageChannel.c:141 | static |
| static void ImageMarkDirty(struct Image *img, int32_t y0, int32_t y1) | (no comment) | ImageChannel.c:159 | static |
| static void ImageRunPass(struct Image *img) | (no comment) | ImageChannel.c:178 | static |
| static void ImageNotify(struct Image *img, uint32_t info, int32_t x, int32_t y, int32_t w, int32_t h) | Observers | ImageChannel.c:202 | static |
| int AddImageObserver(struct Image *img, struct ImageObserver *obs) | (no comment) | ImageChannel.c:224 | public |
| void RemoveImageObserver(struct Image *img, struct ImageObserver *obs) | (no comment) | ImageChannel.c:235 | public |
| static void ImageReadyPush(struct ImageChannel *ic, struct Image *img) | Worker side | ImageChannel.c:254 | static |
| static struct SDL_Surface * ImageDecode(const uint8_t *buf, uint64_t len, char *err, size_t err_cap) | (no comment) | ImageChannel.c:272 | static |
| static void ImageXferDone(struct URLXfer *x, void *user) | (no comment) | ImageChannel.c:299 | static |
| static void ImageUnlinkFree(struct ImageChannel *ic, struct Image *img) | Lifetime | ImageChannel.c:358 | static |
| void ReleaseImage(struct Image *img) | (no comment) | ImageChannel.c:377 | public |
| struct Image * GetImage(uint32_t width, uint32_t height, const char *urlstring) | (no comment) | ImageChannel.c:395 | public |
| struct Image * WGetImage(uint32_t width, uint32_t height, const wchar_t *urlstring) | (no comment) | ImageChannel.c:452 | public |
| static void ImageTakeReady(struct ImageChannel *ic, struct Image *img) | Main-thread tick | ImageChannel.c:465 | static |
| int ImageChannelTick(struct ImageChannel *ic) | (no comment) | ImageChannel.c:500 | public |
| struct SDL_Texture * ImageTexture(struct SDL_Renderer *ren, struct Image *img) | Drawing | ImageChannel.c:557 | public |
| int DrawImageScaled(struct SDL_Renderer *ren, struct Image *img, float x, float y, float w, float h, struct ImageObserver *obs) | (no comment) | ImageChannel.c:587 | public |
| int DrawImage(struct SDL_Renderer *ren, struct Image *img, float x, float y, struct ImageObserver *obs) | (no comment) | ImageChannel.c:608 | public |
| void ImageChannelDestroyTextures(struct ImageChannel *ic) | (no comment) | ImageChannel.c:614 | public |
| static void ImageRuntimeRun(struct Channel *ch, long unused) | Channel | ImageChannel.c:631 | static |
| struct ImageChannel * ImageChannelGet(void) | (no comment) | ImageChannel.c:637 | public |
| struct ImageChannel * OpenImageChannel(void) | (no comment) | ImageChannel.c:642 | public |
| void CloseImageChannel(struct ImageChannel *ic) | (no comment) | ImageChannel.c:711 | public |
| static int ImageOp(struct ImageChannel *c, uint32_t op, uint32_t a, uint64_t b) | (no comment) | ImageChannel.c:782 | static |
| static void ImageRd(struct ImageChannel *c, uint32_t *m, uint32_t *a, uint64_t *b) | (no comment) | ImageChannel.c:789 | static |
| struct ImageDecodeChannel * ImageDecodeGet(void) | (no comment) | ImageDecodeChannel.c:35 | public |
| static void ImdLock(void) | (no comment) | ImageDecodeChannel.c:36 | static |
| static void ImdUnlock(void) | (no comment) | ImageDecodeChannel.c:37 | static |
| static void ImageDecodeRtOpen(struct Channel *ch) | Runtime open/close slots (standard set). Join/Leave/Read/Write were already wired here; the channel's lifetime stays with its Open/Close functions, so these only fill the slots. | ImageDecodeChannel.c:41 | static |
| static void ImageDecodeRtClose(struct Channel *ch) | (no comment) | ImageDecodeChannel.c:42 | static |
| struct ImageDecodeChannel * OpenImageDecodeChannel(struct Channel *owner) | (no comment) | ImageDecodeChannel.c:44 | public |
| void CloseImageDecodeChannel(struct ImageDecodeChannel *d) | (no comment) | ImageDecodeChannel.c:72 | public |
| uint64_t ImageDecodeJoin(void *peer) | (no comment) | ImageDecodeChannel.c:83 | public |
| void * ImageDecodeLeave(void *peer) | (no comment) | ImageDecodeChannel.c:95 | public |
| uint64_t ImageDecodeWrite(void *ch, void *buf, long len) | (no comment) | ImageDecodeChannel.c:106 | public |
| static void ImdPut32(uint8_t *p, uint32_t v) | (no comment) | ImageDecodeChannel.c:120 | static |
| uint64_t ImageDecodeRead(void *ch, void *buf, long len) | (no comment) | ImageDecodeChannel.c:122 | public |
| const char * ImageDecodeBackendName(void) | (no comment) | ImageDecodeChannel.c:136 | public |
| static int ImdMagicOk(const uint8_t *b, size_t n) | (no comment) | ImageDecodeChannel.c:145 | static |
| int ImageDecodeProbe(const uint8_t *buf, size_t len, uint32_t *w, uint32_t *h) | (no comment) | ImageDecodeChannel.c:157 | public |
| int ImageDecodeRGBA(const uint8_t *buf, size_t len, uint32_t *w, uint32_t *h, uint8_t **rgba) | (no comment) | ImageDecodeChannel.c:179 | public |
| void ImageDecodeFree(void *p) | (no comment) | ImageDecodeChannel.c:213 | public |