Lines Matching refs:ofp
62 FILE* ofp = fopen(cdstPath, "rbe"); in nativeTestIfReadOnlyFdIsRejected() local
63 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_THREE_GPP); in nativeTestIfReadOnlyFdIsRejected()
70 fclose(ofp); in nativeTestIfReadOnlyFdIsRejected()
77 FILE* ofp = fopen(cdstPath, "wbe"); in nativeTestIfWriteOnlyFdIsRejected() local
78 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_WEBM); in nativeTestIfWriteOnlyFdIsRejected()
85 fclose(ofp); in nativeTestIfWriteOnlyFdIsRejected()
108 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfInvalidOutputFormatIsRejected() local
109 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)(OUTPUT_FORMAT_LIST_END + 1)); in nativeTestIfInvalidOutputFormatIsRejected()
116 fclose(ofp); in nativeTestIfInvalidOutputFormatIsRejected()
123 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfInvalidMediaFormatIsRejected() local
124 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfInvalidMediaFormatIsRejected()
139 fclose(ofp); in nativeTestIfInvalidMediaFormatIsRejected()
146 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfCorruptMediaFormatIsRejected() local
148 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfCorruptMediaFormatIsRejected()
158 fclose(ofp); in nativeTestIfCorruptMediaFormatIsRejected()
165 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterStart() local
167 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterStart()
178 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterStart()
186 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
188 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
201 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
208 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfAddTrackSucceedsAfterStop() local
210 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfAddTrackSucceedsAfterStop()
224 fclose(ofp); in nativeTestIfAddTrackSucceedsAfterStop()
231 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsBeforeAddTrack() local
233 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsBeforeAddTrack()
239 fclose(ofp); in nativeTestIfMuxerStartsBeforeAddTrack()
246 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIdempotentStart() local
248 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIdempotentStart()
259 fclose(ofp); in nativeTestIdempotentStart()
267 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsAfterWriteSampleData() local
269 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsAfterWriteSampleData()
282 fclose(ofp); in nativeTestIfMuxerStartsAfterWriteSampleData()
289 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfMuxerStartsAfterStop() local
291 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfMuxerStartsAfterStop()
305 fclose(ofp); in nativeTestIfMuxerStartsAfterStop()
312 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestStopOnANonStartedMuxer() local
314 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestStopOnANonStartedMuxer()
324 fclose(ofp); in nativeTestStopOnANonStartedMuxer()
331 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIdempotentStop() local
333 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIdempotentStop()
347 fclose(ofp); in nativeTestIdempotentStop()
354 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestSimpleStartStop() local
356 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestSimpleStartStop()
365 fclose(ofp); in nativeTestSimpleStartStop()
374 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() local
375 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
388 fclose(ofp); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
397 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataRejectsInvalidPts() local
398 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataRejectsInvalidPts()
411 fclose(ofp); in nativeTestIfWriteSampleDataRejectsInvalidPts()
420 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataSucceedsBeforeStart() local
421 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataSucceedsBeforeStart()
432 fclose(ofp); in nativeTestIfWriteSampleDataSucceedsBeforeStart()
441 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestIfWriteSampleDataSucceedsAfterStop() local
442 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)OUTPUT_FORMAT_MPEG_4); in nativeTestIfWriteSampleDataSucceedsAfterStop()
456 fclose(ofp); in nativeTestIfWriteSampleDataSucceedsAfterStop()