Lines Matching refs:ofp
62 FILE* ofp = fopen(cdstPath, "rbe"); in nativeTestIfReadOnlyFdIsRejected() local
63 if (ofp == nullptr) { in nativeTestIfReadOnlyFdIsRejected()
68 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_THREE_GPP); in nativeTestIfReadOnlyFdIsRejected()
75 fclose(ofp); in nativeTestIfReadOnlyFdIsRejected()
100 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfInvalidOutputFormatIsRejected() local
101 if (ofp == nullptr) { in nativeTestIfInvalidOutputFormatIsRejected()
109 muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)(-1)); in nativeTestIfInvalidOutputFormatIsRejected()
116 muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)(LOCAL_AMEDIAMUXER_OUTPUT_FORMAT_LAST + 1)); in nativeTestIfInvalidOutputFormatIsRejected()
123 fclose(ofp); in nativeTestIfInvalidOutputFormatIsRejected()
130 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfInvalidMediaFormatIsRejected() local
131 if (ofp == nullptr) { in nativeTestIfInvalidMediaFormatIsRejected()
136 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfInvalidMediaFormatIsRejected()
151 fclose(ofp); in nativeTestIfInvalidMediaFormatIsRejected()
158 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfCorruptMediaFormatIsRejected() local
159 if (ofp == nullptr) { in nativeTestIfCorruptMediaFormatIsRejected()
165 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfCorruptMediaFormatIsRejected()
175 fclose(ofp); in nativeTestIfCorruptMediaFormatIsRejected()
182 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterStart() local
183 if (ofp == nullptr) { in nativeTestIfAddTrackSucceedsAfterStart()
189 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterStart()
200 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterStart()
208 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
209 if (ofp == nullptr) { in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
215 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
228 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
235 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterStop() local
236 if (ofp == nullptr) { in nativeTestIfAddTrackSucceedsAfterStop()
242 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterStop()
256 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterStop()
263 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsBeforeAddTrack() local
264 if (ofp == nullptr) { in nativeTestIfMuxerStartsBeforeAddTrack()
270 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsBeforeAddTrack()
276 fclose(ofp); in nativeTestIfMuxerStartsBeforeAddTrack()
283 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIdempotentStart() local
284 if (ofp == nullptr) { in nativeTestIdempotentStart()
290 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIdempotentStart()
301 fclose(ofp); in nativeTestIdempotentStart()
309 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsAfterWriteSampleData() local
310 if (ofp == nullptr) { in nativeTestIfMuxerStartsAfterWriteSampleData()
316 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsAfterWriteSampleData()
329 fclose(ofp); in nativeTestIfMuxerStartsAfterWriteSampleData()
336 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsAfterStop() local
337 if (ofp == nullptr) { in nativeTestIfMuxerStartsAfterStop()
343 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsAfterStop()
357 fclose(ofp); in nativeTestIfMuxerStartsAfterStop()
364 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestStopOnANonStartedMuxer() local
365 if (ofp == nullptr) { in nativeTestStopOnANonStartedMuxer()
371 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestStopOnANonStartedMuxer()
381 fclose(ofp); in nativeTestStopOnANonStartedMuxer()
388 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIdempotentStop() local
389 if (ofp == nullptr) { in nativeTestIdempotentStop()
395 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIdempotentStop()
409 fclose(ofp); in nativeTestIdempotentStop()
416 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestSimpleStartStop() local
417 if (ofp == nullptr) { in nativeTestSimpleStartStop()
423 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestSimpleStartStop()
432 fclose(ofp); in nativeTestSimpleStartStop()
441 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() local
442 if (ofp == nullptr) { in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
447 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
460 fclose(ofp); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
469 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataRejectsInvalidPts() local
470 if (ofp == nullptr) { in nativeTestIfWriteSampleDataRejectsInvalidPts()
475 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataRejectsInvalidPts()
488 fclose(ofp); in nativeTestIfWriteSampleDataRejectsInvalidPts()
497 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataSucceedsBeforeStart() local
498 if (ofp == nullptr) { in nativeTestIfWriteSampleDataSucceedsBeforeStart()
503 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataSucceedsBeforeStart()
514 fclose(ofp); in nativeTestIfWriteSampleDataSucceedsBeforeStart()
523 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataSucceedsAfterStop() local
524 if (ofp == nullptr) { in nativeTestIfWriteSampleDataSucceedsAfterStop()
529 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), AMEDIAMUXER_OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataSucceedsAfterStop()
543 fclose(ofp); in nativeTestIfWriteSampleDataSucceedsAfterStop()