Searched refs:iFileSize (Results 1 – 5 of 5) sorted by relevance
/third_party/openh264/test/decoder/ |
D | DecUT_ParseSyntax.cpp | 232 int32_t iFileSize; in DecodeBs() local 249 iFileSize = (int32_t) ftell (pH264File); in DecodeBs() 251 pBuf = new uint8_t[iFileSize + 4]; in DecodeBs() 256 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs() 264 memcpy (pBuf + iFileSize, &uiStartCode[0], 4); //confirmed_safe_unsafe_usage in DecodeBs() 266 if (iBufPos >= iFileSize) { in DecodeBs() 272 for (i = 0; i < iFileSize; i++) { in DecodeBs() 300 int32_t iFileSize; in ParseBs() local 318 iFileSize = (int32_t)ftell (pH264File); in ParseBs() 320 pBuf = new uint8_t[iFileSize + 4]; in ParseBs() [all …]
|
D | DecUT_DecExt.cpp | 140 int32_t iFileSize; in DecoderBs() local 155 iFileSize = (int32_t) ftell (pH264File); in DecoderBs() 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() 161 if (iBufPos >= iFileSize) { in DecoderBs() 167 for (i = 0; i < iFileSize; i++) { in DecoderBs()
|
/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 107 int32_t bytes_available = iFileSize - bufPos; in readPicture() 243 int32_t iFileSize; in H264DecodeInstance() local 299 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance() 300 if (iFileSize <= 4) { in H264DecodeInstance() 306 pBuf = new uint8_t[iFileSize + 4]; 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() 321 if (iBufPos >= iFileSize) { in H264DecodeInstance() 336 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance() [all …]
|
/third_party/openh264/test/api/ |
D | decode_api_test.cpp | 612 int iFileSize = 0; in TEST_F() local 686 if ((info.eFrameType == videoFrameTypeIDR) && (iFileSize >= (1 << 25))) { in TEST_F() 689 iFileSize = 0; in TEST_F() 739 iFileSize += iDecAuSize; in TEST_F() 1133 int iFileSize = 0; in TEST_F() local 1189 if ((info.eFrameType == videoFrameTypeIDR) && (iFileSize >= (1 << 25))) { in TEST_F() 1194 iFileSize = 0; in TEST_F() 1240 iFileSize += iDecAuSize; in TEST_F()
|
D | BaseThreadDecoderTest.cpp | 42 static int32_t ReadFrame (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos) { in ReadFrame() argument 43 int32_t bytes_available = iFileSize - bufPos; in ReadFrame()
|