Home
last modified time | relevance | path

Searched refs:segment_ (Results 1 – 20 of 20) sorted by relevance

/external/libwebm/testing/
Dmkvmuxer_tests.cc62 EXPECT_TRUE(segment_.AddFrame(&dummy_data_[0], kFrameLength, track_number, in AddDummyFrameAndFinalize()
64 EXPECT_TRUE(segment_.Finalize()); in AddDummyFrameAndFinalize()
69 segment_.AddVideoTrack(kWidth, kHeight, kVideoTrackNumber)); in AddVideoTrack()
72 dynamic_cast<VideoTrack*>(segment_.GetTrackByNumber(vid_track)); in AddVideoTrack()
79 segment_.AddAudioTrack(kSampleRate, kChannels, kAudioTrackNumber)); in AddAudioTrack()
82 dynamic_cast<AudioTrack*>(segment_.GetTrackByNumber(aud_track)); in AddAudioTrack()
96 if (!segment_.Init(writer_.get())) in SegmentInit()
98 SegmentInfo* const info = segment_.GetSegmentInfo(); in SegmentInit()
101 segment_.OutputCues(output_cues); in SegmentInit()
102 segment_.AccurateClusterDuration(accurate_cluster_duration); in SegmentInit()
[all …]
Dmkvparser_tests.cc41 ParserTest() : is_reader_open_(false), segment_(NULL) { in ParserTest()
48 if (segment_ != NULL) { in ~ParserTest()
49 delete segment_; in ~ParserTest()
50 segment_ = NULL; in ~ParserTest()
77 if (mkvparser::Segment::CreateInstance(&reader_, pos_, segment_)) { in CreateAndLoadSegment()
80 return !HasFailure() && segment_->Load() >= 0; in CreateAndLoadSegment()
93 ASSERT_EQ(0, mkvparser::Segment::CreateInstance(&reader_, pos_, segment_)); in CreateSegmentNoHeaderChecks()
116 EXPECT_EQ(static_cast<long long>(timestamp), cue_point->GetTime(segment_)); in CompareCuePointContents()
126 Segment* segment_; member in test::ParserTest
135 const SegmentInfo* const info = segment_->GetInfo(); in TEST_F()
[all …]
/external/libwebm/common/
Dvp9_header_parser_tests.cc23 Vp9HeaderParserTests() : is_reader_open_(false), segment_(NULL) {} in Vp9HeaderParserTests()
27 if (segment_ != NULL) { in ~Vp9HeaderParserTests()
28 delete segment_; in ~Vp9HeaderParserTests()
29 segment_ = NULL; in ~Vp9HeaderParserTests()
53 ASSERT_EQ(0, mkvparser::Segment::CreateInstance(&reader_, pos_, segment_)); in CreateAndLoadSegment()
55 ASSERT_GE(0, segment_->Load()); in CreateAndLoadSegment()
70 ASSERT_EQ(0, mkvparser::Segment::CreateInstance(&reader_, pos_, segment_)); in CreateAndLoadInvalidSegment()
71 ASSERT_GE(0, segment_->Load()); in CreateAndLoadInvalidSegment()
77 const mkvparser::Tracks* const parser_tracks = segment_->GetTracks(); in ProcessTheFrames()
79 const mkvparser::Cluster* cluster = segment_->GetFirst(); in ProcessTheFrames()
[all …]
Dvp9_level_stats_tests.cc54 segment_.reset(temp); in CreateAndLoadSegment()
56 ASSERT_GE(0, segment_->Load()); in CreateAndLoadSegment()
66 const mkvparser::Tracks* const parser_tracks = segment_->GetTracks(); in ProcessTheFrames()
68 const mkvparser::Cluster* cluster = segment_->GetFirst(); in ProcessTheFrames()
106 cluster = segment_->GetNext(cluster); in ProcessTheFrames()
113 std::unique_ptr<mkvparser::Segment> segment_; member in __anon88a0afcb0111::Vp9LevelStatsTests
/external/image_io/includes/image_io/base/
Ddata_context.h28 segment_(segment), in DataContext()
51 const DataSegment& GetSegment() const { return segment_; } in GetSegment()
60 segment_.GetDataRange().Contains(range_); in IsValidLocationAndRange()
67 ? reinterpret_cast<const char*>(segment_.GetBuffer(location_)) in GetCharBytes()
135 const DataSegment& segment_; variable
/external/webp/src/enc/
Danalysis_enc.c41 int majority_seg = mb->segment_; in SmoothSegmentMap()
43 cnt[mb[-w - 1].segment_]++; // top-left in SmoothSegmentMap()
44 cnt[mb[-w + 0].segment_]++; // top in SmoothSegmentMap()
45 cnt[mb[-w + 1].segment_]++; // top-right in SmoothSegmentMap()
46 cnt[mb[ - 1].segment_]++; // left in SmoothSegmentMap()
47 cnt[mb[ + 1].segment_]++; // right in SmoothSegmentMap()
48 cnt[mb[ w - 1].segment_]++; // bottom-left in SmoothSegmentMap()
49 cnt[mb[ w + 0].segment_]++; // bottom in SmoothSegmentMap()
50 cnt[mb[ w + 1].segment_]++; // bottom-right in SmoothSegmentMap()
63 mb->segment_ = tmp[x + y * w]; in SmoothSegmentMap()
[all …]
Dframe_enc.c194 enc->mb_info_[n].segment_ = 0; in ResetSegments()
204 ++p[mb->segment_]; in SetSegmentProbas()
315 const int segment = it->mb_->segment_; in CodeResiduals()
507 case 2: *info = mb->segment_; break; in StoreSideInfo()
508 case 3: *info = enc->dqm_[mb->segment_].quant_; break; in StoreSideInfo()
520 SetBlock(it->yuv_out_ + Y_OFF_ENC, mb->segment_ * 64, 16); in StoreSideInfo()
Dquant_enc.c393 while (i-- > 0) enc->mb_info_[i].segment_ = map[enc->mb_info_[i].segment_]; in SimplifySegments()
761 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra16()
813 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructIntra4()
914 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in ReconstructUV()
983 VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; in PickBestIntra16()
1052 const VP8SegmentInfo* const dqm = &enc->dqm_[it->mb_->segment_]; in PickBestIntra4()
1148 const VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; in PickBestUV()
1231 const VP8SegmentInfo* const dqm = &it->enc_->dqm_[it->mb_->segment_]; in RefineUsingDistortion()
Dtree_enc.c321 PutSegment(bw, mb->segment_, enc->proba_.segments_); in VP8CodeIntraModes()
Dfilter_enc.c160 const int s = it->mb_->segment_; in VP8StoreFilterStats()
Dvp8i_enc.h177 unsigned int segment_:2; member
Diterator_enc.c361 it->mb_->segment_ = segment; in VP8SetSegment()
/external/libwebm/
Dsample_muxer_metadata.cc20 SampleMuxerMetadata::SampleMuxerMetadata() : segment_(NULL) {} in SampleMuxerMetadata()
23 if (segment == NULL || segment_ != NULL) in Init()
26 segment_ = segment; in Init()
71 if (!v.Write(segment_)) { in Write()
153 mkvmuxer::Chapter* const chapter = segment_->AddChapter(); in AddChapter()
178 chapter->set_time(*segment_, start_time_ns, stop_time_ns); in AddChapter()
208 mkvmuxer::Track* const track = segment_->AddTrack(0); in AddTrack()
Dsample_muxer_metadata.h123 mkvmuxer::Segment* segment_; variable
/external/image_io/src/base/
Ddata_context.cc26 << segment_.GetDataRange().GetBegin() << "," in GetInvalidLocationAndRangeErrorText()
27 << segment_.GetDataRange().GetEnd() << ")"; in GetInvalidLocationAndRangeErrorText()
143 reinterpret_cast<const char*>(segment_.GetBuffer(line_range.GetBegin())); in GetLineString()
/external/webp/src/dec/
Dtree_dec.c299 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0], "segments") in ParseIntraMode()
303 block->segment_ = 0; // default for intra in ParseIntraMode()
Dvp8i_dec.h161 uint8_t segment_; member
Dvp8_dec.c516 const VP8QuantMatrix* const q = &dec->dqm_[block->segment_]; in ParseResiduals()
625 *finfo = dec->fstrengths_[block->segment_][block->is_i4x4_]; in VP8DecodeMB()
/external/google-breakpad/src/common/mac/
Dmacho_reader.cc426 : name_(name), segment_(segment), found_() { } in SegmentFinder()
433 *segment_ = segment; in SegmentCommand()
445 Segment *segment_; member in google_breakpad::mach_o::Reader::SegmentFinder
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc1464 PRE_SYSCALL(lfs_segclean)(void *fsidp_, long long segment_) { /* TODO */ }
1465 POST_SYSCALL(lfs_segclean)(long long res, void *fsidp_, long long segment_) {