Searched refs:ofp (Results 1 – 3 of 3) sorted by relevance
/cts/tests/media/jni/ |
D | NativeMuxerUnitTest.cpp | 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 [all …]
|
D | NativeMuxerTest.cpp | 559 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestSetLocation() local 560 if (ofp) { in nativeTestSetLocation() 561 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)jformat); in nativeTestSetLocation() 624 fclose(ofp); in nativeTestSetLocation() 644 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestSetOrientationHint() local 645 if (ofp) { in nativeTestSetOrientationHint() 646 AMediaMuxer* muxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)jformat); in nativeTestSetOrientationHint() 692 fclose(ofp); in nativeTestSetOrientationHint() 729 FILE* ofp = fopen(cdstPath, "wbe+"); in nativeTestMultiTrack() local 730 if (ofp) { in nativeTestMultiTrack() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 586 FILE* ofp = nullptr; in testSimpleEncode() 593 ofp = fopen(muxOutPath, "wbe+"); in testSimpleEncode() 594 if (ofp) { in testSimpleEncode() 595 mMuxer = AMediaMuxer_new(fileno(ofp), muxerFormat); in testSimpleEncode() 611 if (ofp) fclose(ofp); in testSimpleEncode()
|