mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Remove EncodedData::reference_buffers.
Bug: b/336978562 Change-Id: I5ddcc6bc6dadf8ba7c22d96db125e4351338bf7a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349164 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42184}
This commit is contained in:
parent
3703b3500c
commit
5ccd44b8f7
3 changed files with 1 additions and 3 deletions
|
@ -766,7 +766,6 @@ void LibaomAv1Encoder::Encode(
|
|||
result.bitstream_data = EncodedImageBuffer::Create(
|
||||
static_cast<uint8_t*>(pkt->data.frame.buf), pkt->data.frame.sz);
|
||||
result.spatial_id = sid;
|
||||
result.referenced_buffers = settings.reference_buffers;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ void SimpleEncoderWrapper::Encode(
|
|||
res.frame_type = data->frame_type;
|
||||
res.bitstream_data = std::move(data->bitstream_data);
|
||||
res.generic_frame_info = infos[data->spatial_id];
|
||||
if (data->referenced_buffers.empty()) {
|
||||
if (res.frame_type == FrameType::kKeyframe) {
|
||||
// Keyframe
|
||||
res.dependency_structure = ds;
|
||||
}
|
||||
|
|
|
@ -72,7 +72,6 @@ class VideoEncoderInterface {
|
|||
FrameType frame_type;
|
||||
int spatial_id;
|
||||
int encoded_qp;
|
||||
std::vector<int> referenced_buffers;
|
||||
};
|
||||
|
||||
using EncodeResult = std::variant<EncodingError, EncodedData>;
|
||||
|
|
Loading…
Reference in a new issue