Home
last modified time | relevance | path

Searched refs:srcdata (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.h89 uint8* Uncompress(const void* srcdata, int datasize,
99 uint8* Uncompress(const void* srcdata, int datasize,
105 bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height,
152 tstring Compress(const void* srcdata, int width, int height,
156 bool Compress(const void* srcdata, int width, int height,
Djpeg_mem.cc91 uint8* UncompressLow(const void* srcdata, FewerArgsForCompiler* argball) { in UncompressLow() argument
111 if (datasize == 0 || srcdata == nullptr) return nullptr; in UncompressLow()
136 SetSrc(&cinfo, srcdata, datasize, flags.try_recover_truncated_jpeg); in UncompressLow()
505 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
510 uint8* const dstdata = UncompressLow(srcdata, &argball); in Uncompress()
534 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
539 Uncompress(srcdata, datasize, flags, nwarn, in Uncompress()
554 bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height, in GetImageInfo() argument
562 if (datasize == 0 || srcdata == nullptr) return false; in GetImageInfo()
578 SetSrc(&cinfo, srcdata, datasize, false); in GetImageInfo()
[all …]
/external/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_magnifier.h59 void* srcdata,
78 void* srcdata,
Dscreen_capturer_win_magnifier.cc191 void* srcdata, in OnMagImageScalingCallback() argument
201 owner->OnCaptured(srcdata, srcheader); in OnMagImageScalingCallback()
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.h45 uint8* Decode(const void* srcdata, int datasize,
Dgif_io.cc58 uint8* Decode(const void* srcdata, int datasize, in Decode() argument
62 InputBufferInfo info = {reinterpret_cast<const uint8*>(srcdata), datasize}; in Decode()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpsignal.c49 mpd_import_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen, in mpd_import_u16() argument
53 mpd_qimport_u16(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u16()
58 mpd_import_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen, in mpd_import_u32() argument
62 mpd_qimport_u32(result, srcdata, srclen, srcsign, base, ctx, &status); in mpd_import_u32()
Dmpdecimal.h573 void mpd_qimport_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen,
576 void mpd_qimport_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen,
590 void mpd_import_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen, uint8_t srcsign, uint32_…
591 void mpd_import_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen, uint8_t srcsign, uint32_…
Dmpdecimal.c8539 const uint16_t *srcdata, size_t srclen, in mpd_qimport_u16() argument
8562 usrc[n] = srcdata[n]; in mpd_qimport_u16()
8593 const uint32_t *srcdata, size_t srclen, in mpd_qimport_u32() argument
8614 srcdata, srclen, srcbase, in mpd_qimport_u32()
8621 memcpy(result->data, srcdata, srclen * (sizeof *srcdata)); in mpd_qimport_u32()
8626 srcdata, srclen, srcbase, in mpd_qimport_u32()
8636 usrc[n] = srcdata[n]; in mpd_qimport_u32()
/external/python/cpython2/Mac/Modules/res/
D_Resmodule.c581 char *srcdata = NULL; in ResObj_tp_init() local
592 if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "|s#", kw, &srcdata, &srclen)) return -1; in ResObj_tp_init()
599 if (srclen && srcdata) in ResObj_tp_init()
602 memcpy(*itself, srcdata, srclen); in ResObj_tp_init()
/external/python/cffi/c/
D_cffi_backend.c1488 char *srcdata; in convert_array_from_object() local
1503 srcdata = PyBytes_AS_STRING(init); in convert_array_from_object()
1505 if (must_be_array_of_zero_or_one(srcdata, n) < 0) in convert_array_from_object()
1507 memcpy(data, srcdata, n); in convert_array_from_object()