Home
last modified time | relevance | path

Searched refs:inbuf_sz (Results 1 – 25 of 28) sorted by relevance

12

/dports/graphics/aloadimage/arcan-0.6.1/src/engine/
H A Darcan_img.c42 size_t inbuf_sz; member
135 arcan_errc arcan_pkm_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_pkm_raw() argument
146 *outbuf = arcan_mem_alloc(inbuf_sz - 16, in arcan_pkm_raw()
149 memcpy(*outbuf, inbuf + 16, inbuf_sz - 16); in arcan_pkm_raw()
175 arcan_errc arcan_dds_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_dds_raw() argument
214 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz, in arcan_img_decode() argument
240 (stbi_uc const*) inbuf, inbuf_sz, &w, &h, &outf, 4); in arcan_img_decode()
250 return arcan_pkm_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
254 return arcan_dds_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
H A Darcan_img.h26 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz,
/dports/sysutils/acfgfs/arcan-0.6.1/src/engine/
H A Darcan_img.c42 size_t inbuf_sz; member
135 arcan_errc arcan_pkm_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_pkm_raw() argument
146 *outbuf = arcan_mem_alloc(inbuf_sz - 16, in arcan_pkm_raw()
149 memcpy(*outbuf, inbuf + 16, inbuf_sz - 16); in arcan_pkm_raw()
175 arcan_errc arcan_dds_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_dds_raw() argument
214 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz, in arcan_img_decode() argument
240 (stbi_uc const*) inbuf, inbuf_sz, &w, &h, &outf, 4); in arcan_img_decode()
250 return arcan_pkm_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
254 return arcan_dds_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
H A Darcan_img.h26 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz,
/dports/x11/arcan-trayicon/arcan-0.6.1/src/engine/
H A Darcan_img.c42 size_t inbuf_sz; member
135 arcan_errc arcan_pkm_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_pkm_raw() argument
146 *outbuf = arcan_mem_alloc(inbuf_sz - 16, in arcan_pkm_raw()
149 memcpy(*outbuf, inbuf + 16, inbuf_sz - 16); in arcan_pkm_raw()
175 arcan_errc arcan_dds_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_dds_raw() argument
214 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz, in arcan_img_decode() argument
240 (stbi_uc const*) inbuf, inbuf_sz, &w, &h, &outf, 4); in arcan_img_decode()
250 return arcan_pkm_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
254 return arcan_dds_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
H A Darcan_img.h26 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz,
/dports/x11/aclip/arcan-0.6.1/src/engine/
H A Darcan_img.c42 size_t inbuf_sz; member
135 arcan_errc arcan_pkm_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_pkm_raw() argument
146 *outbuf = arcan_mem_alloc(inbuf_sz - 16, in arcan_pkm_raw()
149 memcpy(*outbuf, inbuf + 16, inbuf_sz - 16); in arcan_pkm_raw()
175 arcan_errc arcan_dds_raw(const uint8_t* inbuf, size_t inbuf_sz, in arcan_dds_raw() argument
214 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz, in arcan_img_decode() argument
240 (stbi_uc const*) inbuf, inbuf_sz, &w, &h, &outf, 4); in arcan_img_decode()
250 return arcan_pkm_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
254 return arcan_dds_raw((uint8_t*)inbuf, inbuf_sz, in arcan_img_decode()
H A Darcan_img.h26 arcan_errc arcan_img_decode(const char* hint, char* inbuf, size_t inbuf_sz,
/dports/graphics/aloadimage/arcan-0.6.1/src/frameserver/decode/default/
H A Ddecode_3d.c40 size_t inbuf_sz = 0; in decode_3d() local
86 inbuf_sz = pos; in decode_3d()
89 if (!inbuf_sz) in decode_3d()
97 return process_obj(cont, inbuf, inbuf_sz); in decode_3d()
/dports/sysutils/acfgfs/arcan-0.6.1/src/frameserver/decode/default/
H A Ddecode_3d.c40 size_t inbuf_sz = 0; in decode_3d() local
86 inbuf_sz = pos; in decode_3d()
89 if (!inbuf_sz) in decode_3d()
97 return process_obj(cont, inbuf, inbuf_sz); in decode_3d()
/dports/x11/aclip/arcan-0.6.1/src/frameserver/decode/default/
H A Ddecode_3d.c40 size_t inbuf_sz = 0; in decode_3d() local
86 inbuf_sz = pos; in decode_3d()
89 if (!inbuf_sz) in decode_3d()
97 return process_obj(cont, inbuf, inbuf_sz); in decode_3d()
/dports/x11/arcan-trayicon/arcan-0.6.1/src/frameserver/decode/default/
H A Ddecode_3d.c40 size_t inbuf_sz = 0; in decode_3d() local
86 inbuf_sz = pos; in decode_3d()
89 if (!inbuf_sz) in decode_3d()
97 return process_obj(cont, inbuf, inbuf_sz); in decode_3d()
/dports/graphics/aloadimage/arcan-0.6.1/src/a12/
H A Da12_int.h114 size_t inbuf_sz; member
138 uint32_t inbuf_sz; /* bytes-total counter */ member
H A Da12_decode.c467 cvf->inbuf_sz -= S->decode_pos; in a12int_unpack_vbuffer()
468 if (cvf->inbuf_sz == 0){ in a12int_unpack_vbuffer()
477 a12int_trace(A12_TRACE_VDETAIL, "video buffer left: %"PRIu32, cvf->inbuf_sz); in a12int_unpack_vbuffer()
H A Da12.c1046 unpack_u32(&vframe->inbuf_sz, &S->decode[36]); in command_videoframe()
1113 (size_t) vframe->inbuf_sz, (size_t) vframe->expanded_sz in command_videoframe()
1152 if (vframe->inbuf_sz > vframe->expanded_sz + 24){ in command_videoframe()
1156 vframe->inbuf_sz, vframe->expanded_sz in command_videoframe()
1165 vframe->inbuf = DYNAMIC_MALLOC(vframe->inbuf_sz); in command_videoframe()
1173 PRIu32") to offset (%zu)", vframe->inbuf_sz, vframe->out_pos); in command_videoframe()
1832 size_t left = cvf->inbuf_sz - cvf->inbuf_pos; in process_video()
1866 if (cvf->inbuf_sz < S->decode_pos){ in process_video()
/dports/sysutils/acfgfs/arcan-0.6.1/src/a12/
H A Da12_int.h114 size_t inbuf_sz; member
138 uint32_t inbuf_sz; /* bytes-total counter */ member
H A Da12_decode.c467 cvf->inbuf_sz -= S->decode_pos; in a12int_unpack_vbuffer()
468 if (cvf->inbuf_sz == 0){ in a12int_unpack_vbuffer()
477 a12int_trace(A12_TRACE_VDETAIL, "video buffer left: %"PRIu32, cvf->inbuf_sz); in a12int_unpack_vbuffer()
H A Da12.c1046 unpack_u32(&vframe->inbuf_sz, &S->decode[36]); in command_videoframe()
1113 (size_t) vframe->inbuf_sz, (size_t) vframe->expanded_sz in command_videoframe()
1152 if (vframe->inbuf_sz > vframe->expanded_sz + 24){ in command_videoframe()
1156 vframe->inbuf_sz, vframe->expanded_sz in command_videoframe()
1165 vframe->inbuf = DYNAMIC_MALLOC(vframe->inbuf_sz); in command_videoframe()
1173 PRIu32") to offset (%zu)", vframe->inbuf_sz, vframe->out_pos); in command_videoframe()
1832 size_t left = cvf->inbuf_sz - cvf->inbuf_pos; in process_video()
1866 if (cvf->inbuf_sz < S->decode_pos){ in process_video()
/dports/x11/arcan-trayicon/arcan-0.6.1/src/a12/
H A Da12_int.h114 size_t inbuf_sz; member
138 uint32_t inbuf_sz; /* bytes-total counter */ member
H A Da12_decode.c467 cvf->inbuf_sz -= S->decode_pos; in a12int_unpack_vbuffer()
468 if (cvf->inbuf_sz == 0){ in a12int_unpack_vbuffer()
477 a12int_trace(A12_TRACE_VDETAIL, "video buffer left: %"PRIu32, cvf->inbuf_sz); in a12int_unpack_vbuffer()
H A Da12.c1046 unpack_u32(&vframe->inbuf_sz, &S->decode[36]); in command_videoframe()
1113 (size_t) vframe->inbuf_sz, (size_t) vframe->expanded_sz in command_videoframe()
1152 if (vframe->inbuf_sz > vframe->expanded_sz + 24){ in command_videoframe()
1156 vframe->inbuf_sz, vframe->expanded_sz in command_videoframe()
1165 vframe->inbuf = DYNAMIC_MALLOC(vframe->inbuf_sz); in command_videoframe()
1173 PRIu32") to offset (%zu)", vframe->inbuf_sz, vframe->out_pos); in command_videoframe()
1832 size_t left = cvf->inbuf_sz - cvf->inbuf_pos; in process_video()
1866 if (cvf->inbuf_sz < S->decode_pos){ in process_video()
/dports/x11/aclip/arcan-0.6.1/src/a12/
H A Da12_int.h114 size_t inbuf_sz;
138 uint32_t inbuf_sz; /* bytes-total counter */
H A Da12_decode.c467 cvf->inbuf_sz -= S->decode_pos; in a12int_unpack_vbuffer()
468 if (cvf->inbuf_sz == 0){ in a12int_unpack_vbuffer()
477 a12int_trace(A12_TRACE_VDETAIL, "video buffer left: %"PRIu32, cvf->inbuf_sz); in a12int_unpack_vbuffer()
H A Da12.c1046 unpack_u32(&vframe->inbuf_sz, &S->decode[36]); in command_videoframe()
1113 (size_t) vframe->inbuf_sz, (size_t) vframe->expanded_sz in command_videoframe()
1152 if (vframe->inbuf_sz > vframe->expanded_sz + 24){ in command_videoframe()
1156 vframe->inbuf_sz, vframe->expanded_sz in command_videoframe()
1165 vframe->inbuf = DYNAMIC_MALLOC(vframe->inbuf_sz); in command_videoframe()
1173 PRIu32") to offset (%zu)", vframe->inbuf_sz, vframe->out_pos); in command_videoframe()
1832 size_t left = cvf->inbuf_sz - cvf->inbuf_pos; in process_video()
1866 if (cvf->inbuf_sz < S->decode_pos){ in process_video()
/dports/graphics/aloadimage/arcan-0.6.1/src/shmif/
H A Darcan_shmif_control.c3486 static bool write_buffer(int fd, char* inbuf, size_t inbuf_sz) in write_buffer() argument
3488 while(inbuf_sz){ in write_buffer()
3489 ssize_t nr = write(fd, inbuf, inbuf_sz); in write_buffer()
3496 inbuf_sz -= nr; in write_buffer()

12