/third_party/openh264/test/decoder/ |
D | DecUT_ParseSyntax.cpp | 230 uint8_t* pBuf = NULL; in DecodeBs() local 251 pBuf = new uint8_t[iFileSize + 4]; in DecodeBs() 252 if (pBuf == NULL) { in DecodeBs() 256 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs() 258 if (pBuf) { in DecodeBs() 259 delete[] pBuf; in DecodeBs() 260 pBuf = NULL; in DecodeBs() 264 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecodeBs() 273 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in DecodeBs() 279 iRet |= DecodeFrame (pBuf + iBufPos, iSliceSize, m_pData, &m_sBufferInfo, m_pCtx); in DecodeBs() [all …]
|
D | DecUT_DecExt.cpp | 138 uint8_t* pBuf = NULL; in DecoderBs() local 157 pBuf = new uint8_t[iFileSize + 4]; in DecoderBs() 158 ASSERT_EQ (fread (pBuf, 1, iFileSize, pH264File), (unsigned int) iFileSize); in DecoderBs() 159 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecoderBs() 168 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in DecoderBs() 174 m_pDec->DecodeFrame2 (pBuf + iBufPos, iSliceSize, m_pData, &m_sBufferInfo); in DecoderBs() 181 if (pBuf) { in DecoderBs() 182 delete[] pBuf; in DecoderBs() 183 pBuf = NULL; in DecoderBs()
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rasterizer.cpp | 354 float* pBuf = &newTriBuffer[0]; in RasterizeTriPoint() local 355 *pBuf++ = lowerX; in RasterizeTriPoint() 356 *pBuf++ = lowerX; in RasterizeTriPoint() 357 *pBuf++ = upperX; in RasterizeTriPoint() 358 pBuf++; in RasterizeTriPoint() 359 *pBuf++ = lowerY; in RasterizeTriPoint() 360 *pBuf++ = upperY; in RasterizeTriPoint() 361 *pBuf++ = upperY; in RasterizeTriPoint() 362 pBuf++; in RasterizeTriPoint() 363 _mm_store_ps(pBuf, _mm_set1_ps(z)); in RasterizeTriPoint() [all …]
|
D | tilemgr.cpp | 314 simd16scalari* pBuf = (simd16scalari*)pHotTile->pBuffer; in ClearStencilHotTile() local 325 _simd16_store_si(pBuf, valS); in ClearStencilHotTile() 326 pBuf += 1; in ClearStencilHotTile()
|
/third_party/openh264/codec/console/dec/src/ |
D | h264dec.cpp | 105 int32_t readPicture (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos, uint8_t*& pSps… in readPicture() argument 111 uint8_t* ptr = pBuf + bufPos; in readPicture() 235 uint8_t* pBuf = NULL; in H264DecodeInstance() local 306 pBuf = new uint8_t[iFileSize + 4]; in H264DecodeInstance() 307 if (pBuf == NULL) { in H264DecodeInstance() 312 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance() 317 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in H264DecodeInstance() 336 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance() 352 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in H264DecodeInstance() 353 …&& i > 0) || (pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 1 &… in H264DecodeInstance() [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | streamout_jit.cpp | 60 Value* pBuf = getSOBuffer(pSoCtx, buffer); in oob() local 64 Value* enabled = TRUNC(LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_enable}), IRB()->getInt1Ty()); in oob() 67 Value* bufferSize = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_bufferSize}); in oob() 70 Value* streamOffset = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_streamOffset}); in oob() 73 Value* pitch = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_pitch}); in oob() 223 Value* pBuf = getSOBuffer(pSoCtx, b); in buildStream() local 224 Value* pData = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_pBuffer}); in buildStream() 225 Value* streamOffset = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_streamOffset}); in buildStream() 229 outBufferPitch[b] = LOAD(pBuf, {0, SWR_STREAMOUT_BUFFER_pitch}); in buildStream() 253 Value* pBuf = getSOBuffer(pSoCtx, b); in buildStream() local [all …]
|
D | JitManager.cpp | 781 std::unique_ptr<llvm::MemoryBuffer> pBuf = nullptr; in getObject() local 802 pBuf = llvm::MemoryBuffer::getNewUninitMemBuffer(size_t(header.GetObjectSize())); in getObject() 804 pBuf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t(header.GetObjectSize())); in getObject() 806 if (!fread(const_cast<char*>(pBuf->getBufferStart()), header.GetObjectSize(), 1, fpObjIn)) in getObject() 808 pBuf = nullptr; in getObject() 812 if (header.GetObjectCRC() != ComputeCRC(0, pBuf->getBufferStart(), pBuf->getBufferSize())) in getObject() 815 pBuf = nullptr; in getObject() 829 return pBuf; in getObject()
|
/third_party/openh264/codec/common/src/ |
D | memory_align.cpp | 72 uint8_t* pBuf = (uint8_t*) malloc (kiActualRequestedSize); in WelsMalloc() local 73 if (NULL == pBuf) in WelsMalloc() 85 (void*)pBuf, kiActualRequestedSize, kuiSize, nCountRequestNum++, kpTag); in WelsMalloc() 87 …oint, "WelsMalloc(), 0x%x : actual uiSize:\t%d\tbytes, input uiSize: %d bytes, %d \n", (void*)pBuf, in WelsMalloc() 93 pAlignedBuffer = pBuf + kiAlignedBytes + kiSizeOfVoidPointer + kiSizeOfInt; in WelsMalloc() 95 * ((void**) (pAlignedBuffer - kiSizeOfVoidPointer)) = pBuf; in WelsMalloc()
|
D | welsCodecTrace.cpp | 80 char pBuf[MAX_LOG_SIZE] = {0}; in CodecTrace() local 81 WelsVsnprintf (pBuf, MAX_LOG_SIZE, Str_Format, vl); // confirmed_safe_unsafe_usage in CodecTrace() 83 m_fpTrace (m_pTraceCtx, iLevel, pBuf); in CodecTrace()
|
/third_party/openh264/codec/processing/src/common/ |
D | memory.cpp | 43 …uint8_t* pBuf = (uint8_t*) ::malloc (kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSize… in WelsMalloc() local 46 if (NULL == pBuf) in WelsMalloc() 50 WelsMemset (pBuf, 0, kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32); in WelsMalloc() 52 pAlignedBuf = pBuf + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32; in WelsMalloc() 54 * ((void**) (pAlignedBuf - kiSizeVoidPointer)) = pBuf; in WelsMalloc()
|
/third_party/openh264/test/encoder/ |
D | EncUT_MotionCompensation.cpp | 46 … int32_t iStride, int32_t iWidth, int32_t iHeight, int16_t* pBuf) { in MCHalfPelFilterAnchor() argument 54 pBuf[x + 2] = v; in MCHalfPelFilterAnchor() 57 pDstHV[x] = Clip255 ((FILTER6TAP (pBuf + 2, x, 1) + 512) >> 10); in MCHalfPelFilterAnchor() 182 int16_t pBuf[MC_BUFF_DST_STRIDE]; \ 197 …1],uSrcInputAnchor[2],uSrcInputAnchor[3],uSrcInputAnchor[0],MC_BUFF_SRC_STRIDE,iW+1,iH+1,pBuf+4); \ 327 int16_t pBuf[MC_BUFF_DST_STRIDE]; \ 344 …[1], uAnchors[2], uAnchors[3], uAnchors[0], MC_BUFF_SRC_STRIDE, width + 1, height + 1, pBuf + 4); \
|
D | EncUT_SVC_me.cpp | 82 void InitializeHashforFeature_ref (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t ki… in InitializeHashforFeature_ref() argument 85 uint16_t* pBufPos = pBuf; in InitializeHashforFeature_ref()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | wels_common_basis.h | 89 … { pBitsCache->pBuf+=2; pBitsCache->uiRemainBits += 16; pBitsCache->uiCache32Bit |= (((pBitsCac…
|
D | dec_golomb.h | 221 static inline int32_t BsGetTrailingBits (uint8_t* pBuf) { in BsGetTrailingBits() argument 223 uint32_t uiValue = *pBuf; in BsGetTrailingBits()
|
/third_party/openh264/codec/encoder/core/src/ |
D | set_mb_syn_cabac.cpp | 94 void WelsCabacEncodeInit (SCabacCtx* pCbCtx, uint8_t* pBuf, uint8_t* pEnd) { in WelsCabacEncodeInit() argument 99 pCbCtx->m_pBufStart = pBuf; in WelsCabacEncodeInit() 101 pCbCtx->m_pBufCur = pBuf; in WelsCabacEncodeInit()
|
D | svc_motion_estimate.cpp | 808 void InitializeHashforFeature_c (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t kiLi… in InitializeHashforFeature_c() argument 811 uint16_t* pBufPos = pBuf; in InitializeHashforFeature_c() 840 uint16_t* pBuf = pScreenBlockFeatureStorage->pLocationPointer; in CalculateFeatureOfBlock() local 842 …LL == pFeatureOfBlock || NULL == pTimesOfFeatureValue || NULL == pLocationOfFeature || NULL == pBuf in CalculateFeatureOfBlock() 860 pFunc->pfInitializeHashforFeature (pTimesOfFeatureValue, pBuf, kiActualListSize, in CalculateFeatureOfBlock()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | svc_motion_estimate.h | 239 void InitializeHashforFeature_c (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t kiLi… 255 void InitializeHashforFeature_sse2 (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t k… 274 void InitializeHashforFeature_neon (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t k… 292 void InitializeHashforFeature_AArch64_neon (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const i…
|
D | set_mb_syn_cabac.h | 77 void WelsCabacEncodeInit (SCabacCtx* pCbCtx, uint8_t* pBuf, uint8_t* pEnd);
|
D | wels_func_ptr_def.h | 150 typedef void (*PInitializeHashforFeatureFunc) (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, cons…
|
/third_party/openh264/codec/decoder/core/src/ |
D | parse_mb_syn_cavlc.cpp | 53 uint8_t* pBuf; member 878 uint8_t* pBuf = ((uint8_t*)pBs->pStartBuf) + (iCurIdx >> 3); in WelsResidualBlockCavlc() local 883 …uint32_t uiCache32Bit = (uint32_t) ((((pBuf[0] << 8) | pBuf[1]) << 16) | (pBuf[2] << 8) | pBuf[3]); in WelsResidualBlockCavlc() 886 sReadBitsCache.pBuf = pBuf; in WelsResidualBlockCavlc() 997 uint8_t* pBuf = ((uint8_t*)pBs->pStartBuf) + (iCurIdx >> 3); in WelsResidualBlockCavlc8x8() local 1002 …uint32_t uiCache32Bit = (uint32_t) ((((pBuf[0] << 8) | pBuf[1]) << 16) | (pBuf[2] << 8) | pBuf[3]); in WelsResidualBlockCavlc8x8() 1005 sReadBitsCache.pBuf = pBuf; in WelsResidualBlockCavlc8x8()
|
/third_party/openh264/test/api/ |
D | BaseThreadDecoderTest.cpp | 42 static int32_t ReadFrame (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos) { in ReadFrame() argument 47 uint8_t* ptr = pBuf + bufPos; in ReadFrame()
|
/third_party/python/Python/ |
D | marshal.c | 1511 char* pBuf = (char *)PyMem_Malloc(filesize); in PyMarshal_ReadLastObjectFromFile() local 1512 if (pBuf != NULL) { in PyMarshal_ReadLastObjectFromFile() 1513 size_t n = fread(pBuf, 1, (size_t)filesize, fp); in PyMarshal_ReadLastObjectFromFile() 1514 PyObject* v = PyMarshal_ReadObjectFromString(pBuf, n); in PyMarshal_ReadLastObjectFromFile() 1515 PyMem_Free(pBuf); in PyMarshal_ReadLastObjectFromFile()
|
/third_party/sqlite/src/ |
D | sqlite3.c | 8862 void *pBuf; /* The content of the page */ member 24100 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ 24102 return id->pMethods->xRead(id, pBuf, amt, offset); 24104 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ 24106 return id->pMethods->xWrite(id, pBuf, amt, offset); 25124 static void randomFill(char *pBuf, int nByte){ 25126 x = SQLITE_PTR_TO_INT(pBuf); 25132 *(int*)pBuf = r; 25133 pBuf += 4; 25140 *(pBuf++) = r & 0xff; [all …]
|
D | shell.c | 2292 void *pBuf; in readFileContents() local 2311 pBuf = sqlite3_malloc64( nIn ? nIn : 1 ); in readFileContents() 2312 if( pBuf==0 ){ in readFileContents() 2317 if( nIn==(sqlite3_int64)fread(pBuf, 1, (size_t)nIn, in) ){ in readFileContents() 2318 sqlite3_result_blob64(ctx, pBuf, nIn, sqlite3_free); in readFileContents() 2321 sqlite3_free(pBuf); in readFileContents() 8657 static int zipfileBufferGrow(ZipfileBuffer *pBuf, int nByte){ in zipfileBufferGrow() argument 8658 if( pBuf->n+nByte>pBuf->nAlloc ){ in zipfileBufferGrow() 8660 sqlite3_int64 nNew = pBuf->n ? pBuf->n*2 : 512; in zipfileBufferGrow() 8661 int nReq = pBuf->n + nByte; in zipfileBufferGrow() [all …]
|
/third_party/openh264/codec/encoder/core/x86/ |
D | sample_sc.asm | 761 ; void InitializeHashforFeature_sse2( uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t… 773 mov ebx, [esp+_ps+8] ; pBuf 1454 ; void InitializeHashforFeature_sse2( uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t… 1456 ;uint16_t** pPositionOfSum, uint16_t** sum_idx_list, uint32_t* pTimesOfSum, uint16_t* pBuf, const i…
|