Home
last modified time | relevance | path

Searched refs:comBufLen (Results 1 – 2 of 2) sorted by relevance

/drivers/peripheral/codec/test/demo/jpeg/src/
Dcodec_jpeg_helper.cpp83 std::unique_ptr<int8_t[]> &compressBuffer, uint32_t &comBufLen) in DessambleJpeg() argument
104 auto len = DessambleCompressData(start, compressBuffer, comBufLen); in DessambleJpeg()
462 uint32_t &comBufLen) in DessambleCompressData() argument
479 comBufLen = (int32_t)(buffer - dataStart) + 1; in DessambleCompressData()
480 compressBuffer = std::make_unique<int8_t[]>(comBufLen); in DessambleCompressData()
481 auto ret = memcpy_s(compressBuffer.get(), comBufLen, dataStart, comBufLen); in DessambleCompressData()
483 HDF_LOGE("copy compressed data error, dataLen %{public}d, ret %{public}d", comBufLen, ret); in DessambleCompressData()
487 return comBufLen; in DessambleCompressData()
/drivers/peripheral/codec/test/demo/jpeg/include/
Dcodec_jpeg_helper.h42 std::unique_ptr<int8_t[]> &compressBuffer, uint32_t &comBufLen);
56 …sambleCompressData(int8_t *buffer, std::unique_ptr<int8_t[]> &compressBuffer, uint32_t &comBufLen);