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()
218 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
219 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
221 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
245 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfAddTrackSucceedsAfterStop() local
246 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterStop()
248 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop()
319 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfMuxerStartsAfterWriteSampleData() local
320 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterWriteSampleData()
322 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterWriteSampleData()
346 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfMuxerStartsAfterStop() local
347 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterStop()
349 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop()
398 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIdempotentStop() local
399 isPass &= trackID >= 0; in nativeTestIdempotentStop()
401 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIdempotentStop()
426 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestSimpleStartStop() local
427 isPass &= trackID >= 0; in nativeTestSimpleStartStop()
450 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() local
451 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
453 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
454 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 22000, trackID + 1)) { in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
478 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataRejectsInvalidPts() local
479 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidPts()
481 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidPts()
482 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, -33000, trackID)) { in nativeTestIfWriteSampleDataRejectsInvalidPts()
506 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataSucceedsBeforeStart() local
507 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsBeforeStart()
508 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 0, trackID)) { in nativeTestIfWriteSampleDataSucceedsBeforeStart()
532 ssize_t trackID = AMediaMuxer_addTrack(muxer, format); in nativeTestIfWriteSampleDataSucceedsAfterStop() local
533 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsAfterStop()
535 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataSucceedsAfterStop()
537 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 33000, trackID)) { in nativeTestIfWriteSampleDataSucceedsAfterStop()