Skip to content

Commit

Permalink
H265 周りのヘッダーファイルを整理
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Aug 22, 2024
1 parent 95ec404 commit c3ec43e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/hwenc_nvcodec/nvcodec_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ int32_t NvCodecVideoEncoderImpl::Encode(
encoded_image_.qp_ = h264_bitstream_parser_.GetLastSliceQp().value_or(-1);
} else if (codec_ == CudaVideoCodec::H265) {
codec_specific.codecType = webrtc::kVideoCodecH265;
codec_specific.codecSpecific.H265.packetization_mode =
webrtc::H265PacketizationMode::NonInterleaved;

h265_bitstream_parser_.ParseBitstream(encoded_image_);
encoded_image_.qp_ = h265_bitstream_parser_.GetLastSliceQp().value_or(-1);
Expand Down
3 changes: 0 additions & 3 deletions src/hwenc_vpl/vpl_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <common_video/h265/h265_bitstream_parser.h>
#include <common_video/include/bitrate_adjuster.h>
#include <modules/video_coding/codecs/h264/include/h264.h>
#include <modules/video_coding/codecs/h265/include/h265_globals.h>
#include <modules/video_coding/include/video_codec_interface.h>
#include <modules/video_coding/include/video_error_codes.h>
#include <rtc_base/logging.h>
Expand Down Expand Up @@ -542,8 +541,6 @@ int32_t VplVideoEncoderImpl::Encode(
encoded_image_.qp_ = h264_bitstream_parser_.GetLastSliceQp().value_or(-1);
} else if (codec_ == MFX_CODEC_HEVC) {
codec_specific.codecType = webrtc::kVideoCodecH265;
codec_specific.codecSpecific.H265.packetization_mode =
webrtc::H265PacketizationMode::NonInterleaved;

h265_bitstream_parser_.ParseBitstream(encoded_image_);
encoded_image_.qp_ = h265_bitstream_parser_.GetLastSliceQp().value_or(-1);
Expand Down

0 comments on commit c3ec43e

Please sign in to comment.