Home
last modified time | relevance | path

Searched refs:reference_frame (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_geometry_aligner.cc70 const rtc::scoped_refptr<I420BufferInterface>& reference_frame, in CalculateCropRegion() argument
72 RTC_CHECK_EQ(reference_frame->width(), test_frame->width()); in CalculateCropRegion()
73 RTC_CHECK_EQ(reference_frame->height(), test_frame->height()); in CalculateCropRegion()
76 double best_ssim = Ssim(reference_frame, test_frame); in CalculateCropRegion()
91 if (!IsValidRegion(test_region, reference_frame)) in CalculateCropRegion()
95 Ssim(CropAndZoom(test_region, reference_frame), test_frame); in CalculateCropRegion()
110 IsValidRegion(test_region, reference_frame); in CalculateCropRegion()
113 Ssim(CropAndZoom(test_region, reference_frame), test_frame); in CalculateCropRegion()
126 const rtc::scoped_refptr<I420BufferInterface>& reference_frame, in AdjustCropping() argument
128 return CropAndZoom(CalculateCropRegion(reference_frame, test_frame), in AdjustCropping()
[all …]
Dvideo_geometry_aligner.h38 const rtc::scoped_refptr<I420BufferInterface>& reference_frame,
45 const rtc::scoped_refptr<I420BufferInterface>& reference_frame,
Dvideo_quality_analysis.cc64 const rtc::scoped_refptr<I420BufferInterface>& reference_frame = in RunAnalysis() local
70 result.psnr_value = Psnr(reference_frame, test_frame); in RunAnalysis()
71 result.ssim_value = Ssim(reference_frame, test_frame); in RunAnalysis()
Dvideo_color_aligner.h35 const rtc::scoped_refptr<I420BufferInterface>& reference_frame,
Dvideo_color_aligner.cc131 const rtc::scoped_refptr<I420BufferInterface>& reference_frame, in CalculateColorTransformationMatrix() argument
135 FlattenYuvData(reference_frame)); in CalculateColorTransformationMatrix()
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc572 bp.reference_frame[0] = kReferenceFrameIntra; in DecodeIntraModeInfo()
573 bp.reference_frame[1] = kReferenceFrameNone; in DecodeIntraModeInfo()
683 bp.reference_frame[0] = kReferenceFrameIntra; in ReadIntraBlockModeInfo()
684 bp.reference_frame[1] = kReferenceFrameNone; in ReadIntraBlockModeInfo()
814 bp.reference_frame[0] = frame_header_.skip_mode_frame[0]; in ReadReferenceFrames()
815 bp.reference_frame[1] = frame_header_.skip_mode_frame[1]; in ReadReferenceFrames()
820 bp.reference_frame[0] = static_cast<ReferenceFrameType>( in ReadReferenceFrames()
823 bp.reference_frame[1] = kReferenceFrameNone; in ReadReferenceFrames()
830 bp.reference_frame[0] = kReferenceFrameLast; in ReadReferenceFrames()
831 bp.reference_frame[1] = kReferenceFrameNone; in ReadReferenceFrames()
[all …]
/external/libgav1/libgav1/src/
Ddecoder_state.h37 reference_frame[ref_index] = current_frame; in UpdateReferenceFrames()
48 reference_frame[ref_index] = nullptr; in ClearReferenceFrames()
86 std::array<RefCountedBufferPtr, kNumReferenceFrameTypes> reference_frame; member
Dmotion_vector.cc64 ReferenceFrameType reference_type = bp.reference_frame[index]; in SetupGlobalMv()
117 const auto global_motion_type = global_motion[bp.reference_frame[0]].type; in SearchStack()
154 const auto global_motion_type = global_motion[bp.reference_frame[i]].type; in CompoundSearchStack()
188 if (mv_bp.reference_frame[0] == bp.reference_frame[0] && in AddReferenceMvCandidate()
189 mv_bp.reference_frame[1] == bp.reference_frame[1]) { in AddReferenceMvCandidate()
196 if (mv_bp.reference_frame[i] == bp.reference_frame[0]) { in AddReferenceMvCandidate()
271 if (mv_bp.reference_frame[0] == kReferenceFrameNone) return; in ScanPoint()
484 ->relative_distance_to[bp->reference_frame[0]]; in TemporalScan()
490 ->relative_distance_to[bp->reference_frame[1]]; in TemporalScan()
522 const ReferenceFrameType candidate_reference_frame = bp.reference_frame[i]; in AddExtraCompoundMvCandidate()
[all …]
Dobu_parser.cc516 decoder_state_.reference_frame[i] = nullptr; in MarkInvalidReferenceFrames()
521 decoder_state_.reference_frame[i] = nullptr; in MarkInvalidReferenceFrames()
599 const RefCountedBuffer* reference_frame = in ValidateInterFrameSize() local
600 decoder_state_.reference_frame[index].get(); in ValidateInterFrameSize()
601 if (2 * frame_header_.width < reference_frame->upscaled_width() || in ValidateInterFrameSize()
602 2 * frame_header_.height < reference_frame->frame_height() || in ValidateInterFrameSize()
603 frame_header_.width > 16 * reference_frame->upscaled_width() || in ValidateInterFrameSize()
604 frame_header_.height > 16 * reference_frame->frame_height()) { in ValidateInterFrameSize()
609 reference_frame->upscaled_width(), in ValidateInterFrameSize()
610 reference_frame->frame_height()); in ValidateInterFrameSize()
[all …]
Dtile.h826 return bp_top->reference_frame[index]; in TopReference()
830 return bp_left->reference_frame[index]; in LeftReference()
841 bp_top->reference_frame[0] == type) + in CountReferences()
843 bp_top->reference_frame[1] == type) + in CountReferences()
845 bp_left->reference_frame[0] == type) + in CountReferences()
847 bp_left->reference_frame[1] == type); in CountReferences()
863 if ((*bps_top)->reference_frame[0] > kReferenceFrameIntra) { in HasOverlappableCandidates()
875 if ((*bps_left)->reference_frame[0] > kReferenceFrameIntra) { in HasOverlappableCandidates()
Ddecoder_impl.cc627 for (auto& reference_frame : state_.reference_frame) { in ~DecoderImpl() local
628 reference_frame = nullptr; in ~DecoderImpl()
1416 if (!state.reference_frame[index]->WaitUntilParsed()) { in DecodeTiles()
1433 const RefCountedBuffer* prev_frame = state.reference_frame[index].get(); in DecodeTiles()
/external/libgav1/libgav1/src/post_filter/
Ddeblock.cc84 for (int reference_frame = kReferenceFrameIntra + 1; in ComputeDeblockFilterLevelsHelper() local
85 reference_frame < kNumReferenceFrameTypes; ++reference_frame) { in ComputeDeblockFilterLevelsHelper()
87 deblock_filter_levels[reference_frame][mode_id] = Clip3( in ComputeDeblockFilterLevelsHelper()
89 LeftShift(frame_header.loop_filter.ref_deltas[reference_frame] + in ComputeDeblockFilterLevelsHelper()
/external/libgav1/libgav1/src/tile/
Dprediction.cc399 if (bp.reference_frame[0] > kReferenceFrameIntra) return false; in IsSmoothPrediction()
717 bp_reference.reference_frame[1] > kReferenceFrameIntra; in InterPrediction()
719 const bool is_inter_intra = bp.reference_frame[1] == kReferenceFrameIntra; in InterPrediction()
727 bp_reference.reference_frame[index]; in InterPrediction()
866 if (bp_top.reference_frame[0] > kReferenceFrameIntra) { in ObmcPrediction()
869 frame_header_.reference_frame_index[bp_top.reference_frame[0] - in ObmcPrediction()
899 if (bp_left.reference_frame[0] > kReferenceFrameIntra) { in ObmcPrediction()
902 frame_header_.reference_frame_index[bp_left.reference_frame[0] - in ObmcPrediction()
934 ->relative_distance_from[bp.reference_frame[reference]])), in DistanceWeightedPrediction()
1289 frame_header_.reference_frame_index[bp.reference_frame[index] - in BlockWarpProcess()
Dtile.cc443 reference_frames_(state.reference_frame),
2025 if (bp.reference_frame[1] == kReferenceFrameIntra) { in ComputePrediction()
2048 bool some_use_intra = bp.reference_frame[0] == kReferenceFrameIntra; in ComputePrediction()
2056 some_use_intra = bp_top.reference_frame[0] == kReferenceFrameIntra; in ComputePrediction()
2062 bp_top_left.reference_frame[0] == kReferenceFrameIntra; in ComputePrediction()
2069 some_use_intra = bp_left.reference_frame[0] == kReferenceFrameIntra; in ComputePrediction()
2115 bp.segment_id, i, bp.reference_frame[0], mode_id); in PopulateDeblockFilterLevel()
2118 deblock_filter_levels_[bp.segment_id][i][bp.reference_frame[0]] in PopulateDeblockFilterLevel()
2561 const ReferenceFrameType reference_frame_to_store = bp.reference_frame[i]; in StoreMotionFieldMvsIntoCurrentFrame()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dspectral_features.cc104 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame, in CheckSilenceComputeFeatures() argument
113 ComputeWindowedForwardFft(reference_frame, half_window_, fft_buffer_.get(), in CheckSilenceComputeFeatures()
Dspectral_features.h43 rtc::ArrayView<const float, kFrameSize20ms24kHz> reference_frame,
/external/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc501 const auto reference_frame = input_frames_.find(frame_number); in FrameDecoded() local
502 RTC_CHECK(reference_frame != input_frames_.cend()) in FrameDecoded()
509 *reference_frame->second.video_frame_buffer()->ToI420(), in FrameDecoded()
/external/webrtc/modules/audio_processing/aec3/
Decho_canceller3_unittest.cc73 float* reference_frame[kMaxNumBands]; in VerifyOutputFrameBitexactness() local
75 reference_frame[k] = &reference_frame_data[k][0]; in VerifyOutputFrameBitexactness()
78 PopulateInputFrame(frame_length, num_bands, frame_index, reference_frame, in VerifyOutputFrameBitexactness()
82 if (reference_frame[k][i] != frame[k][i]) { in VerifyOutputFrameBitexactness()
/external/webrtc/video/
Dvideo_analyzer.cc327 VideoFrame reference_frame = frames_.front(); in OnFrame() local
330 wrap_handler_.Unwrap(reference_frame.timestamp()); in OnFrame()
338 AddFrameComparison(reference_frame, video_frame, false, render_time_ms); in OnFrame()
/external/libgav1/libgav1/src/utils/
Dtypes.h189 ReferenceFrameType reference_frame[2]; member
/external/libaom/libaom/av1/encoder/
Dencodeframe.c5542 FrameDistPair reference_frame[REF_FRAMES - 1], int num_ref_frames, in compute_global_motion_for_references()
5550 int ref_frame = reference_frame[frame].frame; in compute_global_motion_for_references()
5560 reference_frame[frame].distance != 0 && in compute_global_motion_for_references()