Lines Matching refs:trackID

37 static media_status_t insertPerFrameSubtitles(AMediaMuxer* muxer, long pts, size_t trackID) {  in insertPerFrameSubtitles()  argument
44 media_status_t status = AMediaMuxer_writeSampleData(muxer, trackID, (uint8_t*)greeting, info); in insertPerFrameSubtitles()
191 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
192 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
194 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
213 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfAddTrackSucceedsAfterStop() local
214 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterStop()
216 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop()
272 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfMuxerStartsAfterWriteSampleData() local
273 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterWriteSampleData()
275 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterWriteSampleData()
294 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfMuxerStartsAfterStop() local
295 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterStop()
297 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop()
336 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIdempotentStop() local
337 isPass &= trackID >= 0; in nativeTestIdempotentStop()
339 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIdempotentStop()
359 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestSimpleStartStop() local
360 isPass &= trackID >= 0; in nativeTestSimpleStartStop()
378 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() local
379 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
381 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
382 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 22000, trackID + 1)) { in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
401 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataRejectsInvalidPts() local
402 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidPts()
404 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidPts()
405 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, -33000, trackID)) { in nativeTestIfWriteSampleDataRejectsInvalidPts()
424 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataSucceedsBeforeStart() local
425 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsBeforeStart()
426 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 0, trackID)) { in nativeTestIfWriteSampleDataSucceedsBeforeStart()
445 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataSucceedsAfterStop() local
446 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsAfterStop()
448 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataSucceedsAfterStop()
450 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 33000, trackID)) { in nativeTestIfWriteSampleDataSucceedsAfterStop()