in Av1 encoder wrapper communicate end_of_picture flag similar to VP9
In particular move end_of_picture flag out of vp9 specific information since VP9 is not the only codec that can use spatial scalability and thus need to distinguish layer frame and picture (aka temporal unit). Bug: webrtc:12167 Change-Id: I0d046d8785fbea55281209ad099738c03ea7db96 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192542 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32588}
This commit is contained in:
committed by
Commit Bot
parent
f2a2fe84b8
commit
06bbeb3398
@ -22,6 +22,7 @@
|
||||
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -79,7 +80,7 @@ struct CodecSpecificInfoVP9 {
|
||||
uint8_t num_ref_pics;
|
||||
uint8_t p_diff[kMaxVp9RefPics];
|
||||
|
||||
bool end_of_picture;
|
||||
RTC_DEPRECATED bool end_of_picture;
|
||||
};
|
||||
static_assert(std::is_pod<CodecSpecificInfoVP9>::value, "");
|
||||
|
||||
@ -109,6 +110,7 @@ struct RTC_EXPORT CodecSpecificInfo {
|
||||
|
||||
VideoCodecType codecType;
|
||||
CodecSpecificInfoUnion codecSpecific;
|
||||
bool end_of_picture = true;
|
||||
absl::optional<GenericFrameInfo> generic_frame_info;
|
||||
absl::optional<FrameDependencyStructure> template_structure;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user