MultiverseSocial.com

Channel circle › core 5 Media › image

image (core 5, sub 1, flat id 81)

46 functions
SignaturePurposeSourceScope
static char * ImageStrdup(const char *s)(no comment)ImageChannel.c:31static
static int ImageHasScheme(const char *u)(no comment)ImageChannel.c:43static
static int ImageToFetchURL(const char *in, char *out, size_t cap)Bare asset name or disk path -> file:/// URL curl understands.ImageChannel.c:54static
static char * ImageWideToUTF8(const wchar_t *w)UTF-16 (Windows wchar_t) or UTF-32 (Linux wchar_t) -> UTF-8.ImageChannel.c:100static
static int ImageAllocPixels(struct Image *img, uint32_t w, uint32_t h)PixelsImageChannel.c:141static
static void ImageMarkDirty(struct Image *img, int32_t y0, int32_t y1)(no comment)ImageChannel.c:159static
static void ImageRunPass(struct Image *img)(no comment)ImageChannel.c:178static
static void ImageNotify(struct Image *img, uint32_t info, int32_t x, int32_t y, int32_t w, int32_t h)ObserversImageChannel.c:202static
int AddImageObserver(struct Image *img, struct ImageObserver *obs)(no comment)ImageChannel.c:224public
void RemoveImageObserver(struct Image *img, struct ImageObserver *obs)(no comment)ImageChannel.c:235public
static void ImageReadyPush(struct ImageChannel *ic, struct Image *img)Worker sideImageChannel.c:254static
static struct SDL_Surface * ImageDecode(const uint8_t *buf, uint64_t len, char *err, size_t err_cap)(no comment)ImageChannel.c:272static
static void ImageXferDone(struct URLXfer *x, void *user)(no comment)ImageChannel.c:299static
static void ImageUnlinkFree(struct ImageChannel *ic, struct Image *img)LifetimeImageChannel.c:358static
void ReleaseImage(struct Image *img)(no comment)ImageChannel.c:377public
struct Image * GetImage(uint32_t width, uint32_t height, const char *urlstring)(no comment)ImageChannel.c:395public
struct Image * WGetImage(uint32_t width, uint32_t height, const wchar_t *urlstring)(no comment)ImageChannel.c:452public
static void ImageTakeReady(struct ImageChannel *ic, struct Image *img)Main-thread tickImageChannel.c:465static
int ImageChannelTick(struct ImageChannel *ic)(no comment)ImageChannel.c:500public
struct SDL_Texture * ImageTexture(struct SDL_Renderer *ren, struct Image *img)DrawingImageChannel.c:557public
int DrawImageScaled(struct SDL_Renderer *ren, struct Image *img, float x, float y, float w, float h, struct ImageObserver *obs)(no comment)ImageChannel.c:587public
int DrawImage(struct SDL_Renderer *ren, struct Image *img, float x, float y, struct ImageObserver *obs)(no comment)ImageChannel.c:608public
void ImageChannelDestroyTextures(struct ImageChannel *ic)(no comment)ImageChannel.c:614public
static void ImageRuntimeRun(struct Channel *ch, long unused)ChannelImageChannel.c:631static
struct ImageChannel * ImageChannelGet(void)(no comment)ImageChannel.c:637public
struct ImageChannel * OpenImageChannel(void)(no comment)ImageChannel.c:642public
void CloseImageChannel(struct ImageChannel *ic)(no comment)ImageChannel.c:711public
static int ImageOp(struct ImageChannel *c, uint32_t op, uint32_t a, uint64_t b)(no comment)ImageChannel.c:782static
static void ImageRd(struct ImageChannel *c, uint32_t *m, uint32_t *a, uint64_t *b)(no comment)ImageChannel.c:789static
struct ImageDecodeChannel * ImageDecodeGet(void)(no comment)ImageDecodeChannel.c:35public
static void ImdLock(void)(no comment)ImageDecodeChannel.c:36static
static void ImdUnlock(void)(no comment)ImageDecodeChannel.c:37static
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:41static
static void ImageDecodeRtClose(struct Channel *ch)(no comment)ImageDecodeChannel.c:42static
struct ImageDecodeChannel * OpenImageDecodeChannel(struct Channel *owner)(no comment)ImageDecodeChannel.c:44public
void CloseImageDecodeChannel(struct ImageDecodeChannel *d)(no comment)ImageDecodeChannel.c:72public
uint64_t ImageDecodeJoin(void *peer)(no comment)ImageDecodeChannel.c:83public
void * ImageDecodeLeave(void *peer)(no comment)ImageDecodeChannel.c:95public
uint64_t ImageDecodeWrite(void *ch, void *buf, long len)(no comment)ImageDecodeChannel.c:106public
static void ImdPut32(uint8_t *p, uint32_t v)(no comment)ImageDecodeChannel.c:120static
uint64_t ImageDecodeRead(void *ch, void *buf, long len)(no comment)ImageDecodeChannel.c:122public
const char * ImageDecodeBackendName(void)(no comment)ImageDecodeChannel.c:136public
static int ImdMagicOk(const uint8_t *b, size_t n)(no comment)ImageDecodeChannel.c:145static
int ImageDecodeProbe(const uint8_t *buf, size_t len, uint32_t *w, uint32_t *h)(no comment)ImageDecodeChannel.c:157public
int ImageDecodeRGBA(const uint8_t *buf, size_t len, uint32_t *w, uint32_t *h, uint8_t **rgba)(no comment)ImageDecodeChannel.c:179public
void ImageDecodeFree(void *p)(no comment)ImageDecodeChannel.c:213public

Core-level functions of core 5 · Core 5 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--