Lines Matching defs:buf
221 static int32_t ReadH265File(ifstream &file, char *buf, int32_t len)
223 file.read(buf, len);
315 uint8_t *buf = (uint8_t *)malloc(bufSize);
316 if (buf == nullptr) {
327 bufLen += ReadH265File(file, static_cast<char *>(buf + bufLen), bufSize - bufLen);
332 offset = GetNal(buf, bufLen, &codeSize, &frameSize);
337 int32_t ret = decodeMng.DecodePack(buf + offset, frameSize, timeStamp);
339 int result = memmove_s(buf, bufSize, buf + offset + frameSize, bufLen - offset - frameSize);
355 if (buf != nullptr) {
356 free(buf);