/external/libgav1/src/ |
D | obu_parser.cc | 531 if (frame_header_.frame_size_override_flag) { in ParseFrameSizeAndRenderSize() 533 frame_header_.width = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize() 535 frame_header_.height = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize() 536 if (frame_header_.width > sequence_header_.max_frame_width || in ParseFrameSizeAndRenderSize() 537 frame_header_.height > sequence_header_.max_frame_height) { in ParseFrameSizeAndRenderSize() 543 frame_header_.width = sequence_header_.max_frame_width; in ParseFrameSizeAndRenderSize() 544 frame_header_.height = sequence_header_.max_frame_height; in ParseFrameSizeAndRenderSize() 550 frame_header_.render_and_frame_size_different = scratch != 0; in ParseFrameSizeAndRenderSize() 551 if (frame_header_.render_and_frame_size_different) { in ParseFrameSizeAndRenderSize() 553 frame_header_.render_width = static_cast<int32_t>(1 + scratch); in ParseFrameSizeAndRenderSize() [all …]
|
D | threading_strategy_test.cc | 35 ObuFrameHeader frame_header_ = {}; member in libgav1::__anonb2237c5d0111::ThreadingStrategyTest 39 frame_header_.tile_info.tile_count = 32; in TEST_F() 40 ASSERT_TRUE(strategy_.Reset(frame_header_, 32)); in TEST_F() 49 frame_header_.tile_info.tile_count = 8; in TEST_F() 50 ASSERT_TRUE(strategy_.Reset(frame_header_, 8)); in TEST_F() 59 frame_header_.tile_info.tile_count = 2; in TEST_F() 60 ASSERT_TRUE(strategy_.Reset(frame_header_, 8)); in TEST_F() 70 frame_header_.tile_info.tile_count = 2; in TEST_F() 72 ASSERT_TRUE(strategy_.Reset(frame_header_, 9)); in TEST_F() 81 frame_header_.tile_info.tile_count = 2; in TEST_F() [all …]
|
D | post_filter_test.cc | 848 ObuFrameHeader frame_header_ = {}; member in libgav1::PostFilterApplyCdefTest 874 frame_header_.width = param_.width; in SetInput() 875 frame_header_.upscaled_width = param_.upscaled_width; in SetInput() 876 frame_header_.height = param_.height; in SetInput() 877 frame_header_.columns4x4 = DivideBy4(Align(frame_header_.width, 8)); in SetInput() 878 frame_header_.rows4x4 = DivideBy4(Align(frame_header_.height, 8)); in SetInput() 879 frame_header_.tile_info.tile_count = 1; in SetInput() 880 frame_header_.refresh_frame_flags = 0; in SetInput() 881 Cdef* const cdef = &frame_header_.cdef; in SetInput() 902 const int rows64x64 = DivideBy16(frame_header_.rows4x4 + kMaxBlockHeight4x4); in SetInput() [all …]
|
D | post_filter.h | 277 return !frame_header_.allow_intrabc || in DoBorderExtensionInLoop() 278 frame_header_.upscaled_width == in DoBorderExtensionInLoop() 279 MultiplyBy4(frame_header_.columns4x4); in DoBorderExtensionInLoop() 454 const ObuFrameHeader& frame_header_; variable
|
D | tile.h | 121 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header() 368 frame_header_.reference_frame_index[type - kReferenceFrameLast]; in IsScaled() 369 return reference_frames_[index]->upscaled_width() != frame_header_.width || in IsScaled() 370 reference_frames_[index]->frame_height() != frame_header_.height; in IsScaled() 671 const ObuFrameHeader& frame_header_; variable 898 const int columns = std::min(tile.frame_header_.columns4x4 - column4x4, in HasOverlappableCandidates() 910 const int rows = std::min(tile.frame_header_.rows4x4 - row4x4, in HasOverlappableCandidates()
|
D | obu_parser.h | 266 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header() 384 ObuFrameHeader frame_header_ = {}; variable
|
D | obu_parser_test.cc | 277 obu_frame_header_ = &obu_->frame_header_; in Init() 287 obu_frame_header_ = &obu_->frame_header_; in Init() 338 obu_->frame_header_.primary_reference_frame = primary_reference_frame; in ParseSegmentationParameters() 340 obu_->frame_header_.reference_frame_index[primary_reference_frame] = in ParseSegmentationParameters() 349 obu_->frame_header_.frame_type = frame_type; in ParseFrameReferenceModeSyntax() 356 obu_->frame_header_.frame_type = frame_type; in ParseGlobalMotionParameters() 357 obu_->frame_header_.primary_reference_frame = kPrimaryReferenceNone; in ParseGlobalMotionParameters() 366 obu_->frame_header_ = frame_header; in ParseFilmGrainParameters() 373 obu_->frame_header_.columns4x4 = columns4x4; in ParseTileInfoSyntax() 374 obu_->frame_header_.rows4x4 = rows4x4; in ParseTileInfoSyntax()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/ |
D | frame_parts.cc | 49 FrameParts::FrameParts(const Http2FrameHeader& header) : frame_header_(header) { in FrameParts() 50 QUICHE_VLOG(1) << "FrameParts, header: " << frame_header_; in FrameParts() 74 HTTP2_VERIFY_EQ(frame_header_, that.frame_header_) << COMMON_MESSAGE; in VerifyEquals() 106 ASSERT_TRUE(frame_header_.IsPadded()); in SetTotalPadLength() 141 << "; frame_header_: " << frame_header_; in OnDataPayload() 148 QUICHE_VLOG(1) << "OnDataEnd; frame_header_: " << frame_header_; in OnDataEnd() 160 << "; frame_header_: " << frame_header_; in OnHeadersPriority() 171 << "; frame_header_: " << frame_header_; in OnHpackFragment() 174 ASSERT_TRUE(FrameCanHaveHpackPayload(frame_header_)) << *this; in OnHpackFragment() 180 QUICHE_VLOG(1) << "OnHeadersEnd; frame_header_: " << frame_header_; in OnHeadersEnd() [all …]
|
D | payload_decoder_base_test_util.cc | 18 Randomize(&frame_header_, RandomPtr()); in PayloadDecoderBaseTest() 31 if (db->Remaining() > frame_header_.payload_length) { in StartDecoding() 33 << " > " << frame_header_.payload_length; in StartDecoding() 55 FrameDecoderStatePeer::set_frame_header(frame_header_, in StartDecoding() 87 if (payload.size() > frame_header_.payload_length) { in DecodePayloadAndValidateSeveralWays() 88 payload = absl::string_view(payload.data(), frame_header_.payload_length); in DecodePayloadAndValidateSeveralWays()
|
D | frame_decoder_state_test_util.cc | 20 ::http2::test::Randomize(&p->frame_header_, rng); in Randomize() 30 p->frame_header_ = header; in set_frame_header()
|
D | payload_decoder_base_test_util.h | 58 if (!frame_header_is_set_ || frame_header_ != header) { in set_frame_header() 59 QUICHE_VLOG(2) << "set_frame_header: " << frame_header_; in set_frame_header() 61 frame_header_ = header; in set_frame_header() 104 Http2FrameHeader frame_header_; variable
|
D | frame_parts.h | 119 const Http2FrameHeader& GetFrameHeader() const { return frame_header_; } in GetFrameHeader() 221 const Http2FrameHeader frame_header_; variable
|
/external/libgav1/src/tile/bitstream/ |
D | mode_info.cc | 190 assert(frame_header_.segmentation.enabled); in ReadSegmentId() 191 assert(frame_header_.segmentation.update_map); in ReadSegmentId() 232 frame_header_.segmentation.last_active_segment_id + 1); in ReadSegmentId() 236 frame_header_.segmentation.last_active_segment_id) { in ReadSegmentId() 240 encoded_segment_id, frame_header_.segmentation.last_active_segment_id, in ReadSegmentId() 249 if (!frame_header_.segmentation.enabled) { in ReadIntraSegmentId() 258 if (frame_header_.segmentation.segment_id_pre_skip && in ReadSkip() 259 frame_header_.segmentation.FeatureActive( in ReadSkip() 277 if (!frame_header_.skip_mode_present || in ReadSkipMode() 278 frame_header_.segmentation.FeatureActive( in ReadSkipMode() [all …]
|
D | transform_size.cc | 98 if (frame_header_.segmentation in ReadFixedTransformSize() 105 frame_header_.tx_mode != kTxModeSelect) { in ReadFixedTransformSize() 176 if (node.y + i >= frame_header_.rows4x4 || in ReadVariableTransformTree() 177 node.x + j >= frame_header_.columns4x4) { in ReadVariableTransformTree() 198 if (frame_header_.tx_mode == kTxModeSelect && block.size > kBlock4x4 && in DecodeTransformSize() 200 !frame_header_.segmentation in DecodeTransformSize()
|
D | palette.cc | 142 !frame_header_.allow_screen_content_tools) { in ReadPaletteModeInfo() 268 block_height, MultiplyBy4(frame_header_.rows4x4 - block.row4x4)); in ReadPaletteTokens() 270 block_width, MultiplyBy4(frame_header_.columns4x4 - block.column4x4)); in ReadPaletteTokens()
|
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/ |
D | http2_frame_decoder_adapter.cc | 247 CorruptFrameHeader(&frame_header_); in Http2DecoderAdapter() 401 frame_header_ = header; in OnDataStart() 411 QUICHE_DCHECK_EQ(frame_header_.type, Http2FrameType::DATA); in OnDataPayload() 418 QUICHE_DCHECK_EQ(frame_header_.type, Http2FrameType::DATA); in OnDataEnd() 428 frame_header_ = header; in OnHeadersStart() 452 QUICHE_DCHECK_EQ(frame_type(), Http2FrameType::HEADERS) << frame_header_; in OnHeadersPriority() 453 QUICHE_DCHECK(frame_header_.HasPriority()); in OnHeadersPriority() 456 ReportReceiveCompressedFrame(frame_header_); in OnHeadersPriority() 460 << " priority:" << priority << " frame_header:" << frame_header_; in OnHeadersPriority() 464 frame_header_.stream_id, frame_header_.payload_length, kHasPriorityFields, in OnHeadersPriority() [all …]
|
D | http2_frame_decoder_adapter.h | 262 Http2FrameHeader frame_header_; variable
|
/external/libgav1/src/post_filter/ |
D | post_filter.cc | 52 : frame_header_(frame_header), in PostFilter() 98 const int width = frame_header_.width; 99 const int upscaled_width_fh = frame_header_.upscaled_width; 284 if (frame_header_.refresh_frame_flags == 0) return; in ExtendBordersForReferenceFrame() 285 const int upscaled_width = frame_header_.upscaled_width; in ExtendBordersForReferenceFrame() 286 const int height = frame_header_.height; in ExtendBordersForReferenceFrame() 318 const int num_pixels = SubsampledValue(MultiplyBy4(frame_header_.columns4x4), in CopyDeblockedPixels() 323 SubsampledValue(frame_header_.height, subsampling_y_[plane]); in CopyDeblockedPixels() 350 const int upscaled_width = frame_header_.upscaled_width; in CopyBordersForOneSuperBlockRow() 351 const int height = frame_header_.height; in CopyBordersForOneSuperBlockRow() [all …]
|
D | cdef.cc | 98 MultiplyBy4(frame_header_.columns4x4), subsampling_x_[plane]); in SetupCdefBorder() 100 const int plane_height = SubsampledValue(MultiplyBy4(frame_header_.rows4x4), in SetupCdefBorder() 129 const int plane_width = SubsampledValue(frame_header_.width, subsampling_x); in PrepareCdefBlock() 130 const int plane_height = SubsampledValue(frame_header_.height, subsampling_y); in PrepareCdefBlock() 322 MultiplyBy4(column4x4_start + block_width4x4) >= frame_header_.width; in ApplyCdefForOneUnit() 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() 447 frame_header_.cdef.damping, direction, cdef_buffer, in ApplyCdefForOneUnit() 472 frame_header_.cdef.uv_primary_strength[index]; in ApplyCdefForOneUnit() [all …]
|
D | deblock.cc | 105 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() 313 const int width = frame_header_.width; in HorizontalDeblockFilter() 314 const int height = frame_header_.height; in HorizontalDeblockFilter() [all …]
|
D | super_res.cc | 27 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperRes() 106 std::min(sb4x4, frame_header_.rows4x4 - row4x4_start) - in ApplySuperResForOneSuperBlockRow() 152 int thread_pool_rows = frame_header_.height / num_threads; in ApplySuperResThreaded() 159 num_threads = Clip3(frame_header_.height / thread_pool_rows, 1, num_threads); in ApplySuperResThreaded() 162 frame_header_.height - thread_pool_rows * (num_threads - 1); in ApplySuperResThreaded() 189 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperResThreaded()
|
D | loop_restoration.cc | 104 const int upscaled_width = frame_header_.upscaled_width; in ApplyLoopRestorationForOneSuperBlockRow() 105 const int height = frame_header_.height; in ApplyLoopRestorationForOneSuperBlockRow() 160 const int row4x4_end = frame_header_.rows4x4 + kNum4x4InLoopRestorationUnit; in ApplyLoopRestorationWorker()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/ |
D | frame_decoder_state.h | 54 const Http2FrameHeader& frame_header() const { return frame_header_; } in frame_header() 206 return structure_decoder_.Start(&frame_header_, db); in StartDecodingFrameHeader() 214 return structure_decoder_.Resume(&frame_header_, db); in ResumeDecodingFrameHeader() 219 frame_header_.RetainFlags(valid_flags); in RetainFlags() 224 void ClearFlags() { frame_header_.flags = Http2FrameFlag(); } in ClearFlags() 234 Http2FrameHeader frame_header_; variable
|
/external/libgav1/src/tile/ |
D | tile.cc | 441 frame_header_(frame_header), 448 reader_(data_, size_, frame_header_.enable_cdf_update), 456 &frame_header_.quantizer), 461 frame_header_.allow_intrabc 552 ? frame_header_.rows4x4 in Init() 553 : frame_header_.columns4x4; in Init() 585 if (frame_header_.use_ref_frame_mvs) { in Init() 587 SetupMotionField(frame_header_, current_frame_, reference_frames_, in Init() 633 if (frame_header_.enable_frame_end_update_cdf && in SaveSymbolDecoderContext() 634 number_ == frame_header_.tile_info.context_update_id) { in SaveSymbolDecoderContext() [all …]
|
D | prediction.cc | 233 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() 661 frame_header_.force_integer_mv == 1) { in GetWarpParams() 715 frame_header_.global_motion[reference_type]; in InterPrediction() 730 : frame_header_.reference_frame_index[reference_type - in InterPrediction() 839 std::min(block.column4x4 + block.width4x4, frame_header_.columns4x4); in ObmcPrediction() 854 frame_header_.reference_frame_index[bp_top.reference_frame[0] - in ObmcPrediction() 872 std::min(block.row4x4 + block.height4x4, frame_header_.rows4x4); in ObmcPrediction() 887 frame_header_.reference_frame_index[bp_left.reference_frame[0] - in ObmcPrediction() 935 ? frame_header_.upscaled_width in ScaleMotionVector() [all …]
|