Revert "AV1: Use Default TX type for encoding"
This reverts commit b0dc518f82b2a50c1b3e3062d3b58ee221d2e028. Reason for revert: corresponding change https://chromium-review.googlesource.com/c/chromium/src/+/2765225 from chromium has not been backported to webrtc yet. Original change's description: > AV1: Use Default TX type for encoding > > This will further speed up intra frame encoding > > Bug: None > Change-Id: I1a105c6d2cdd9dc82f84d0039dbea3f0d090ab93 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212320 > Reviewed-by: Marco Paniconi <marpan@webrtc.org> > Commit-Queue: Fyodor Kyslov <kyslov@google.com> > Cr-Commit-Position: refs/heads/master@{#33492} TBR=jianj@google.com,marpan@webrtc.org,kyslov@google.com Change-Id: I7ff93537942ab34706db0b71c6b5f8535209619d No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212340 Reviewed-by: Andrey Logvin <landrey@webrtc.org> Commit-Queue: Fyodor Kyslov <kyslov@google.com> Cr-Commit-Position: refs/heads/master@{#33494}
This commit is contained in:
committed by
Commit Bot
parent
db01a82ff2
commit
f8776cba62
@ -410,13 +410,6 @@ int LibaomAv1Encoder::InitEncode(const VideoCodec* codec_settings,
|
||||
return WEBRTC_VIDEO_CODEC_ERROR;
|
||||
}
|
||||
|
||||
ret = aom_codec_control(&ctx_, AV1E_SET_INTRA_DEFAULT_TX_ONLY, 1);
|
||||
if (ret != AOM_CODEC_OK) {
|
||||
RTC_LOG(LS_WARNING) << "LibaomAv1Encoder::EncodeInit returned " << ret
|
||||
<< " on control AV1E_SET_INTRA_DEFAULT_TX_ONLY.";
|
||||
return WEBRTC_VIDEO_CODEC_ERROR;
|
||||
}
|
||||
|
||||
return WEBRTC_VIDEO_CODEC_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -89,7 +89,7 @@ TEST(VideoCodecTestLibaom, HdAV1) {
|
||||
std::vector<RateControlThresholds> rc_thresholds = {
|
||||
{13, 3, 0, 1, 0.3, 0.1, 0, 1}};
|
||||
|
||||
std::vector<QualityThresholds> quality_thresholds = {{36, 31.7, 0.93, 0.87}};
|
||||
std::vector<QualityThresholds> quality_thresholds = {{36, 31.9, 0.93, 0.87}};
|
||||
|
||||
fixture->RunTest(rate_profiles, &rc_thresholds, &quality_thresholds, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user