Lines Matching refs:mSelectedTrack
123 mSelectedTrack(-1), in CCDecoder()
181 if (mSelectedTrack == (ssize_t)index) { in selectTrack()
186 mSelectedTrack = index; in selectTrack()
188 if (mSelectedTrack != (ssize_t)index) { in selectTrack()
193 mSelectedTrack = -1; in selectTrack()
203 if (mSelectedTrack != -1) { in getSelectedTrack()
204 CCTrack track = mTracks[mSelectedTrack]; in getSelectedTrack()
206 return (type == MEDIA_TRACK_TYPE_SUBTITLE ? mSelectedTrack : -1); in getSelectedTrack()
208 return (type == MEDIA_TRACK_TYPE_UNKNOWN ? mSelectedTrack : -1); in getSelectedTrack()
215 return mSelectedTrack >= 0 && mSelectedTrack < (int32_t)getTrackCount(); in isSelected()
418 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
419 && mTracks[mSelectedTrack].mTrackChannel == mLine21Channels[cc_type]) { in parseMPEGCCData()
442 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
486 if (mSelectedTrack == (ssize_t)trackIndex) { in parseDTVCCPacket()
568 ccBuf->meta()->setInt32(AMEDIAFORMAT_KEY_TRACK_INDEX, mSelectedTrack); in display()