/external/chromium_org/third_party/WebKit/Source/core/html/track/ |
InbandTextTrack.cpp | 108 RefPtrWillBeRawPtr<VTTCue> cue = VTTCue::create(owner->document(), start, end, content); local 109 cue->setId(id); 110 cue->parseSettings(settings); 111 addCue(cue);
|
TextTrackCueList.cpp | 42 unsigned long TextTrackCueList::getCueIndex(TextTrackCue* cue) const 44 return m_list.find(cue); 70 RefPtrWillBeRawPtr<TextTrackCue> cue = m_list[i]; local 71 if (cue->isActive()) 72 m_activeCues->add(cue); 77 bool TextTrackCueList::add(PassRefPtrWillBeRawPtr<TextTrackCue> cue) 79 ASSERT(cue->startTime() >= 0); 80 ASSERT(cue->endTime() >= 0); 82 return add(cue, 0, m_list.size()); 90 // Maintain text track cue order 92 RefPtrWillBeRawPtr<TextTrackCue> cue = prpCue; local [all...] |
/external/chromium_org/media/formats/webm/ |
webm_webvtt_parser_unittest.cc | 13 typedef std::vector<uint8> Cue; 15 static Cue EncodeCue(const std::string& id, 20 return Cue(buf, buf + result.length()); 23 static void DecodeCue(const Cue& cue, 27 WebMWebVTTParser::Parse(&cue[0], static_cast<int>(cue.size()), 39 const Cue cue = EncodeCue("", "", "Subtitle"); local 42 DecodeCue(cue, &id, &settings, &content) 53 const Cue cue = EncodeCue(idsrc, "", "Subtitle"); local 74 const Cue cue = EncodeCue("", settings_str[i], "Subtitle"); local 95 const Cue cue = EncodeCue("", "", content_str[i]); local [all...] |
/external/libvpx/libvpx/ |
webmenc.c | 251 /* Save a cue point if this is a keyframe. */ 253 struct cue_entry *cue, *new_cue_list; local 260 fatal("Failed to realloc cue list."); 262 cue = &glob->cue_list[glob->cues]; 263 cue->time = glob->cluster_timecode; 264 cue->loc = glob->cluster_pos; 305 struct cue_entry *cue = &glob->cue_list[i]; local 307 Ebml_SerializeUnsigned(glob, CueTime, cue->time); 312 cue->loc - glob->position_reference);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
webmenc.c | 251 /* Save a cue point if this is a keyframe. */ 253 struct cue_entry *cue, *new_cue_list; local 260 fatal("Failed to realloc cue list."); 262 cue = &glob->cue_list[glob->cues]; 263 cue->time = glob->cluster_timecode; 264 cue->loc = glob->cluster_pos; 305 struct cue_entry *cue = &glob->cue_list[i]; local 307 Ebml_SerializeUnsigned(glob, CueTime, cue->time); 312 cue->loc - glob->position_reference);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MediaControlElements.cpp | 668 // track's list of cues that have their text track cue active flag set. 671 // 9. If reset is false, then, for each text track cue cue in cues: if cue's 672 // text track cue display state has a set of CSS boxes, then add those boxes 673 // to output, and remove cue from cues. 676 // within the TextTrackCue instance itself. If parameters of the cue change, 679 // 10. For each text track cue cue in cues that has not yet had 680 // corresponding CSS boxes added to output, in text track cue order, run th 683 TextTrackCue* cue = activeCues[i].data(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
VTTParser.cpp | 160 // Steps 17 - 20 - Allow any number of line terminators, then initialize new cue values. 164 // Step 21 - Cue creation (start a new cue). 172 // Steps 26 - 27 - Discard current cue if the line is empty. 178 // Steps 28 - 29 - Collect cue timings and settings. 183 // Steps 31 - 41 - Collect the cue text, create a cue, and add it to the output. 198 // If we're in the CueText state when we run out of data, we emit the pending cue. 254 // Collect WebVTT cue timings and settings. (5.3 WebVTT cue timings and settings parsing. 369 RefPtrWillBeRawPtr<VTTCue> cue = VTTCue::create(*m_document, m_currentStartTime, m_currentEndTime, m_currentContent.toString()); local [all...] |
/frameworks/base/media/java/android/media/ |
SRTRenderer.java | 86 TextTrackCue cue = new TextTrackCue(); local 87 cue.mStartTimeMs = data.getStartTimeUs() / 1000; 88 cue.mEndTimeMs = (data.getStartTimeUs() + data.getDurationUs()) / 1000; 93 cue.mLines = new TextTrackCueSpan[lines.length][]; 100 cue.mLines[i++] = span; 103 addCue(cue); 124 TextTrackCue cue = new TextTrackCue(); local 126 cue.mStartTimeMs = parseMs(startEnd[0]); 127 cue.mEndTimeMs = parseMs(startEnd[1]); 136 cue.mLines = new TextTrackCueSpan[paragraph.size()][] [all...] |
SubtitleTrack.java | 52 final protected Vector<Cue> mActiveCues = new Vector<Cue>(); 124 public abstract void updateView(Vector<Cue> activeCues); 134 for(Iterator<Pair<Long, Cue> > it = 136 Pair<Long, Cue> event = it.next(); 137 Cue cue = event.second; local 139 if (cue.mEndTimeMs == event.first) { 141 if (DEBUG) Log.v(TAG, "Removing " + cue); 142 mActiveCues.remove(cue); 171 Cue cue = run.mFirstCue; local 523 Cue cue = mLastEntry.second; local [all...] |
TtmlRenderer.java | 285 * A container class which represents a cue in TTML. 288 class TtmlCue extends SubtitleTrack.Cue { 607 TtmlCue cue = null; local 608 while ((cue = getNextResult()) != null) { 609 addCue(cue); 617 public void updateView(Vector<SubtitleTrack.Cue> activeCues) { 745 public void setActiveCues(Vector<SubtitleTrack.Cue> activeCues) { 749 TtmlCue cue = (TtmlCue) activeCues.get(i); local 750 subtitleText += cue.mText + "\n";
|
WebVttRenderer.java | 77 // spans with timestamp will be enabled by Cue.onTime 152 // for politeness, finish last cue-line if it ends abruptly 166 * Tokenizer tokenizes the WebVTT Cue Text into tags and data 378 class TextTrackCue extends SubtitleTrack.Cue { 429 TextTrackCue cue = (TextTrackCue) o; local 430 boolean res = mId.equals(cue.mId) && 431 mPauseOnExit == cue.mPauseOnExit && 432 mWritingDirection == cue.mWritingDirection && 433 mRegionId.equals(cue.mRegionId) && 434 mSnapToLines == cue.mSnapToLines & 1239 final TextTrackCue cue = (TextTrackCue) activeCues.get(i); local 1398 final TextTrackCue cue = cueBox.getCue(); local 1470 final TextTrackCue cue = cueBox.getCue(); local 1760 final TextTrackCue cue = mCue; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 254 CuePoint* const cue = cue_entries_[i]; local 255 delete cue; 261 bool Cues::AddCue(CuePoint* cue) { 262 if (!cue) 288 cue->set_output_block_number(output_block_number_); 289 cue_entries_[cue_entries_size_++] = cue; 317 const CuePoint* const cue = GetCueByIndex(i); local 319 if (!cue) 322 size += cue->Size(); 333 const CuePoint* const cue = GetCueByIndex(i) local 2237 CuePoint* const cue = new (std::nothrow) CuePoint(); \/\/ NOLINT local [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 261 CuePoint* const cue = cue_entries_[i]; local 262 delete cue; 268 bool Cues::AddCue(CuePoint* cue) { 269 if (!cue) 295 cue->set_output_block_number(output_block_number_); 296 cue_entries_[cue_entries_size_++] = cue; 324 const CuePoint* const cue = GetCueByIndex(i); local 326 if (!cue) 329 size += cue->Size(); 340 const CuePoint* const cue = GetCueByIndex(i) local 2352 CuePoint* const cue = new (std::nothrow) CuePoint(); \/\/ NOLINT local [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssSchema.java | 488 Property cue = new Property(16, cueLiterals0, zeroFns); typedefs 489 builder.put("cue", cue); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvmuxer.cpp | 261 CuePoint* const cue = cue_entries_[i]; local 262 delete cue; 268 bool Cues::AddCue(CuePoint* cue) { 269 if (!cue) 295 cue->set_output_block_number(output_block_number_); 296 cue_entries_[cue_entries_size_++] = cue; 324 const CuePoint* const cue = GetCueByIndex(i); local 326 if (!cue) 329 size += cue->Size(); 340 const CuePoint* const cue = GetCueByIndex(i) local 2352 CuePoint* const cue = new (std::nothrow) CuePoint(); \/\/ NOLINT local [all...] |
/external/owasp/sanitizer/distrib/lib/ |
owasp-java-html-sanitizer.jar | |