Home
last modified time | relevance | path

Searched refs:pH264File (Results 1 – 3 of 3) sorted by relevance

/third_party/openh264/test/decoder/
DDecUT_ParseSyntax.cpp236 FILE* pH264File; in DecodeBs() local
242 if ((pH264File = fopen (filename.c_str(), "rb")) == NULL) in DecodeBs()
245 if ((pH264File = fopen (sFileName, "rb")) == NULL) in DecodeBs()
248 fseek (pH264File, 0L, SEEK_END); in DecodeBs()
249 iFileSize = (int32_t) ftell (pH264File); in DecodeBs()
250 fseek (pH264File, 0L, SEEK_SET); in DecodeBs()
253 fclose (pH264File); in DecodeBs()
256 if ((fread (pBuf, 1, iFileSize, pH264File) != (unsigned int) iFileSize)) { in DecodeBs()
257 fclose (pH264File); in DecodeBs()
288 fclose (pH264File); in DecodeBs()
[all …]
DDecUT_DecExt.cpp145 FILE* pH264File; in DecoderBs() local
150 ASSERT_TRUE ((pH264File = fopen (filename.c_str(), "rb")) != NULL); in DecoderBs()
152 ASSERT_TRUE ((pH264File = fopen (sFileName, "rb")) != NULL); in DecoderBs()
154 fseek (pH264File, 0L, SEEK_END); in DecoderBs()
155 iFileSize = (int32_t) ftell (pH264File); in DecoderBs()
156 fseek (pH264File, 0L, SEEK_SET); in DecoderBs()
158 ASSERT_EQ (fread (pBuf, 1, iFileSize, pH264File), (unsigned int) iFileSize); in DecoderBs()
180 fclose (pH264File); in DecoderBs()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp222 FILE* pH264File = NULL; in H264DecodeInstance() local
257 pH264File = fopen (kpH264FileName, "rb"); in H264DecodeInstance()
258 if (pH264File == NULL) { in H264DecodeInstance()
298 fseek (pH264File, 0L, SEEK_END); in H264DecodeInstance()
299 iFileSize = (int32_t) ftell (pH264File); in H264DecodeInstance()
304 fseek (pH264File, 0L, SEEK_SET); in H264DecodeInstance()
312 if (fread (pBuf, 1, iFileSize, pH264File) != (uint32_t)iFileSize) { in H264DecodeInstance()
474 if (pH264File) { in H264DecodeInstance()
475 fclose (pH264File); in H264DecodeInstance()
476 pH264File = NULL; in H264DecodeInstance()