Home
last modified time | relevance | path

Searched refs:srcdata (Results 1 – 10 of 10) 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.cc90 uint8* UncompressLow(const void* srcdata, FewerArgsForCompiler* argball) { in UncompressLow() argument
110 if (datasize == 0 || srcdata == nullptr) return nullptr; in UncompressLow()
135 SetSrc(&cinfo, srcdata, datasize, flags.try_recover_truncated_jpeg); in UncompressLow()
504 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
509 uint8* const dstdata = UncompressLow(srcdata, &argball); in Uncompress()
533 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
538 Uncompress(srcdata, datasize, flags, nwarn, in Uncompress()
553 bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height, in GetImageInfo() argument
561 if (datasize == 0 || srcdata == nullptr) return false; in GetImageInfo()
577 SetSrc(&cinfo, srcdata, datasize, false); in GetImageInfo()
[all …]
/external/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_magnifier.h56 void* srcdata,
75 void* srcdata,
Dscreen_capturer_win_magnifier.cc181 void* srcdata, in OnMagImageScalingCallback() argument
191 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/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/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.h559 void mpd_qimport_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen,
562 void mpd_qimport_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen,
576 void mpd_import_u16(mpd_t *result, const uint16_t *srcdata, size_t srclen, uint8_t srcsign, uint32_…
577 void mpd_import_u32(mpd_t *result, const uint32_t *srcdata, size_t srclen, uint8_t srcsign, uint32_…
Dmpdecimal.c8540 const uint16_t *srcdata, size_t srclen, in mpd_qimport_u16() argument
8563 usrc[n] = srcdata[n]; in mpd_qimport_u16()
8594 const uint32_t *srcdata, size_t srclen, in mpd_qimport_u32() argument
8615 srcdata, srclen, srcbase, in mpd_qimport_u32()
8622 memcpy(result->data, srcdata, srclen * (sizeof *srcdata)); in mpd_qimport_u32()
8627 srcdata, srclen, srcbase, in mpd_qimport_u32()
8637 usrc[n] = srcdata[n]; in mpd_qimport_u32()
/external/python/cffi/c/
D_cffi_backend.c1428 char *srcdata; in convert_array_from_object() local
1443 srcdata = PyBytes_AS_STRING(init); in convert_array_from_object()
1445 if (must_be_array_of_zero_or_one(srcdata, n) < 0) in convert_array_from_object()
1447 memcpy(data, srcdata, n); in convert_array_from_object()