Home
last modified time | relevance | path

Searched refs:frame_header_ (Results 1 – 14 of 14) sorted by relevance

/external/libgav1/libgav1/src/
Dobu_parser.cc530 if (frame_header_.frame_size_override_flag) { in ParseFrameSizeAndRenderSize()
532 frame_header_.width = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize()
534 frame_header_.height = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize()
535 if (frame_header_.width > sequence_header_.max_frame_width || in ParseFrameSizeAndRenderSize()
536 frame_header_.height > sequence_header_.max_frame_height) { in ParseFrameSizeAndRenderSize()
542 frame_header_.width = sequence_header_.max_frame_width; in ParseFrameSizeAndRenderSize()
543 frame_header_.height = sequence_header_.max_frame_height; in ParseFrameSizeAndRenderSize()
549 frame_header_.render_and_frame_size_different = static_cast<bool>(scratch); in ParseFrameSizeAndRenderSize()
550 if (frame_header_.render_and_frame_size_different) { in ParseFrameSizeAndRenderSize()
552 frame_header_.render_width = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize()
[all …]
Dpost_filter.h163 bool DoCdef() const { return DoCdef(frame_header_, do_post_filter_mask_); } in DoCdef()
173 return DoDeblock(frame_header_, do_post_filter_mask_); in DoDeblock()
218 return DoSuperRes(frame_header_, do_post_filter_mask_); in DoSuperRes()
287 return !frame_header_.allow_intrabc || in DoBorderExtensionInLoop()
288 frame_header_.upscaled_width == in DoBorderExtensionInLoop()
289 MultiplyBy4(frame_header_.columns4x4); in DoBorderExtensionInLoop()
468 const ObuFrameHeader& frame_header_; variable
Dtile.h119 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header()
363 frame_header_.reference_frame_index[type - kReferenceFrameLast]; in IsScaled()
364 return reference_frames_[index]->upscaled_width() != frame_header_.width || in IsScaled()
365 reference_frames_[index]->frame_height() != frame_header_.height; in IsScaled()
644 const ObuFrameHeader& frame_header_; variable
859 const int columns = std::min(tile.frame_header_.columns4x4 - column4x4, in HasOverlappableCandidates()
871 const int rows = std::min(tile.frame_header_.rows4x4 - row4x4, in HasOverlappableCandidates()
Dobu_parser.h276 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header()
383 ObuFrameHeader frame_header_ = {}; variable
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc229 frame_header_.segmentation.last_active_segment_id + 1); in ReadSegmentId()
232 bp.segment_id > frame_header_.segmentation.last_active_segment_id) { in ReadSegmentId()
236 encoded_segment_id, frame_header_.segmentation.last_active_segment_id, in ReadSegmentId()
245 if (!frame_header_.segmentation.enabled) { in ReadIntraSegmentId()
254 if (frame_header_.segmentation.segment_id_pre_skip && in ReadSkip()
255 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkip()
273 if (!frame_header_.skip_mode_present || in ReadSkipMode()
274 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
276 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
278 frame_header_.segmentation.FeatureActive(bp.segment_id, in ReadSkipMode()
[all …]
Dtransform_size.cc98 if (frame_header_.segmentation.lossless[bp.segment_id]) { in ReadFixedTransformSize()
104 frame_header_.tx_mode != kTxModeSelect) { in ReadFixedTransformSize()
175 if (node.y + i >= frame_header_.rows4x4 || in ReadVariableTransformTree()
176 node.x + j >= frame_header_.columns4x4) { in ReadVariableTransformTree()
199 if (frame_header_.tx_mode == kTxModeSelect && block.size > kBlock4x4 && in DecodeTransformSize()
201 !frame_header_.segmentation.lossless[bp.segment_id]) { in DecodeTransformSize()
Dpalette.cc136 !frame_header_.allow_screen_content_tools) { in ReadPaletteModeInfo()
258 block_height, MultiplyBy4(frame_header_.rows4x4 - block.row4x4)); in ReadPaletteTokens()
260 block_width, MultiplyBy4(frame_header_.columns4x4 - block.column4x4)); in ReadPaletteTokens()
/external/libgav1/libgav1/src/tile/
Dtile.cc441 frame_header_(frame_header),
448 reader_(data_, size_, frame_header_.enable_cdf_update),
456 &frame_header_.quantizer),
461 frame_header_.allow_intrabc
545 SubsampledValue(frame_header_.height, subsampling_y_[plane]);
547 std::min(frame_header_.rows4x4, DivideBy4(plane_height + 3)
550 SubsampledValue(frame_header_.width, subsampling_x_[plane]);
552 std::min(frame_header_.columns4x4, DivideBy4(plane_width + 3)
561 ? frame_header_.rows4x4 in Init()
562 : frame_header_.columns4x4; in Init()
[all …]
Dprediction.cc233 const int max_x = (MultiplyBy4(frame_header_.columns4x4) >> x_shift) - 1; in IntraPrediction()
234 const int max_y = (MultiplyBy4(frame_header_.rows4x4) >> y_shift) - 1; in IntraPrediction()
675 frame_header_.force_integer_mv == 1) { in GetWarpParams()
729 frame_header_.global_motion[reference_type]; in InterPrediction()
744 : frame_header_.reference_frame_index[reference_type - in InterPrediction()
854 std::min(block.column4x4 + block.width4x4, frame_header_.columns4x4); in ObmcPrediction()
869 frame_header_.reference_frame_index[bp_top.reference_frame[0] - in ObmcPrediction()
887 std::min(block.row4x4 + block.height4x4, frame_header_.rows4x4); in ObmcPrediction()
902 frame_header_.reference_frame_index[bp_left.reference_frame[0] - in ObmcPrediction()
950 ? frame_header_.upscaled_width in ScaleMotionVector()
[all …]
/external/libgav1/libgav1/src/post_filter/
Ddeblock.cc105 segment_id < (frame_header_.segmentation.enabled ? kMaxSegments : 1); in ComputeDeblockFilterLevels()
110 frame_header_, segment_id, level_index, delta_lf, in ComputeDeblockFilterLevels()
114 if (frame_header_.loop_filter.level[level_index] != 0) { in ComputeDeblockFilterLevels()
116 frame_header_, segment_id, level_index, delta_lf, in ComputeDeblockFilterLevels()
168 bool need_filter_u = frame_header_.loop_filter.level[kPlaneU + 1] != 0; in GetHorizontalDeblockFilterEdgeInfoUV()
169 bool need_filter_v = frame_header_.loop_filter.level[kPlaneV + 1] != 0; in GetHorizontalDeblockFilterEdgeInfoUV()
256 bool need_filter_u = frame_header_.loop_filter.level[kPlaneU + 1] != 0; in GetVerticalDeblockFilterEdgeInfoUV()
257 bool need_filter_v = frame_header_.loop_filter.level[kPlaneV + 1] != 0; in GetVerticalDeblockFilterEdgeInfoUV()
467 if (row4x4 >= frame_header_.rows4x4) break; in ApplyDeblockFilterForOneSuperBlockRow()
469 for (column4x4 = 0; column4x4 < frame_header_.columns4x4; in ApplyDeblockFilterForOneSuperBlockRow()
[all …]
Dcdef.cc98 MultiplyBy4(frame_header_.columns4x4), subsampling_x_[plane]); in SetupCdefBorder()
100 const int plane_height = SubsampledValue(MultiplyBy4(frame_header_.rows4x4), in SetupCdefBorder()
349 frame_header_.cdef.y_primary_strength[index]; in ApplyCdefForOneUnit()
351 frame_header_.cdef.y_secondary_strength[index]; in ApplyCdefForOneUnit()
358 (y_primary_strength | frame_header_.cdef.uv_primary_strength[index]) != 0; in ApplyCdefForOneUnit()
439 frame_header_.cdef.damping, direction, cdef_buffer, cdef_stride); in ApplyCdefForOneUnit()
465 frame_header_.cdef.uv_primary_strength[index]; in ApplyCdefForOneUnit()
467 frame_header_.cdef.uv_secondary_strength[index]; in ApplyCdefForOneUnit()
570 frame_header_.cdef.damping - 1, direction, cdef_buffer, in ApplyCdefForOneUnit()
594 for (int column4x4 = 0; column4x4 < frame_header_.columns4x4; in ApplyCdefForOneSuperBlockRowHelper()
[all …]
Dpost_filter.cc146 : frame_header_(frame_header), in PostFilter()
282 if (frame_header_.refresh_frame_flags == 0) return; in ExtendBordersForReferenceFrame()
314 const int num_pixels = SubsampledValue(MultiplyBy4(frame_header_.columns4x4), in CopyDeblockedPixels()
319 SubsampledValue(frame_header_.height, subsampling_y_[plane]); in CopyDeblockedPixels()
458 SubsampledValue(frame_header_.height, subsampling_y_[plane]); in SetupLoopRestorationBorder()
539 for (int row4x4 = 0; row4x4 < frame_header_.rows4x4; in ApplyFilteringThreaded()
545 for (int row4x4 = 0; row4x4 < frame_header_.rows4x4; in ApplyFilteringThreaded()
558 } while (row4x4 < frame_header_.rows4x4); in ApplyFilteringThreaded()
591 if (frame_header_.refresh_frame_flags != 0 && DoBorderExtensionInLoop()) { in ApplyFilteringForOneSuperBlockRow()
Dsuper_res.cc27 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperRes()
106 std::min(sb4x4, frame_header_.rows4x4 - row4x4_start) - in ApplySuperResForOneSuperBlockRow()
188 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperResThreaded()
Dloop_restoration.cc158 const int row4x4_end = frame_header_.rows4x4 + kNum4x4InLoopRestorationUnit; in ApplyLoopRestorationWorker()