webrtc/sdk/objc/components/video_codec
Jaehyun Ko 382a1528ef DCHECK the frame resolution only if the frame buffer is not native.
If the source image has a native handle and the encoder supports
the native handle, the encoder is expected to be able to correctly
sample/scale the source.

And VTCompressionSession can handle this, so DCHECK the frame
resolution only if the frame buffer is not native.

Bug: webrtc:14318
Change-Id: Id19c2f3bd86e9a2e1034d20e0255b4adc04a781f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270144
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37730}
2022-08-10 07:54:43 +00:00
..
helpers.cc Obj-C SDK Cleanup 2018-08-30 10:42:41 +00:00
helpers.h Remove top-level const from parameters in function declarations. 2022-01-26 11:05:25 +00:00
nalu_rewriter.cc Use backticks not vertical bars to denote variables in comments for /sdk 2021-07-27 14:39:06 +00:00
nalu_rewriter.h Use backticks not vertical bars to denote variables in comments for /sdk 2021-07-27 14:39:06 +00:00
RTCCodecSpecificInfoH264+Private.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCCodecSpecificInfoH264.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCCodecSpecificInfoH264.mm Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCDefaultVideoDecoderFactory.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCDefaultVideoDecoderFactory.m Always include the actual decoder implementation when RTCVideoDecoderAV1 is used. 2022-07-04 12:27:02 +00:00
RTCDefaultVideoEncoderFactory.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCDefaultVideoEncoderFactory.m Always include the actual encoder implementation when RTCVideoEncoderAV1 is used. 2022-06-28 10:28:03 +00:00
RTCH264ProfileLevelId.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCH264ProfileLevelId.mm Revert "Add a prefix for objc category." 2022-05-13 14:47:54 +00:00
RTCVideoDecoderFactoryH264.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoDecoderFactoryH264.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoDecoderH264.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoDecoderH264.mm Fix H.264 codec on Arm64(M1) MacOS 2022-04-06 09:04:10 +00:00
RTCVideoEncoderFactoryH264.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoEncoderFactoryH264.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoEncoderH264.h Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
RTCVideoEncoderH264.mm DCHECK the frame resolution only if the frame buffer is not native. 2022-08-10 07:54:43 +00:00
UIDevice+H264Profile.h Revert "Add a prefix for objc category." 2022-05-13 14:47:54 +00:00
UIDevice+H264Profile.mm Revert "Add a prefix for objc category." 2022-05-13 14:47:54 +00:00