Skip to content

Commit

Permalink
VCEEncでは常にbsfを適用するように。 ( #114 )
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Jan 21, 2025
1 parent d4c1615 commit 3c76ad3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions VCECore/rgy_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,8 @@ RGY_ERR RGYOutput::InitVideoBsf(const VideoInfo *videoOutputInfo) {
|| (ENCODER_QSV
&& (videoOutputInfo->codec == RGY_CODEC_H264 || videoOutputInfo->codec == RGY_CODEC_HEVC || videoOutputInfo->codec == RGY_CODEC_AV1)
&& videoOutputInfo->vui.chromaloc != 0)
|| (ENCODER_VCEENC
&& (videoOutputInfo->codec == RGY_CODEC_HEVC // HEVCの時は常に上書き
|| (videoOutputInfo->vui.format != 5
|| videoOutputInfo->vui.colorprim != 2
|| videoOutputInfo->vui.transfer != 2
|| videoOutputInfo->vui.matrix != 2
|| videoOutputInfo->vui.chromaloc != 0)
|| (videoOutputInfo->codec == RGY_CODEC_AV1 && videoOutputInfo->vui.colorrange == RGY_COLORRANGE_FULL)))
|| (ENCODER_VCEENC // VCEEncの場合、常に上書き
&& (videoOutputInfo->codec == RGY_CODEC_H264 || videoOutputInfo->codec == RGY_CODEC_HEVC || videoOutputInfo->codec == RGY_CODEC_AV1))
|| (ENCODER_MPP
&& ((videoOutputInfo->codec == RGY_CODEC_H264 || videoOutputInfo->codec == RGY_CODEC_HEVC) // HEVCの時は常に上書き)
|| (videoOutputInfo->sar[0] * videoOutputInfo->sar[1] > 0
Expand Down

0 comments on commit 3c76ad3

Please sign in to comment.