Skip to content

Commit

Permalink
Intel VPL で AV1 エンコーダを動くようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Aug 1, 2024
1 parent 00fd53a commit b806b2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

## develop

- [ADD] Intel VPL で AV1 エンコーダを動くようにする
- @tnoho

## 2024.7.0 (2024-07-29)

- [CHANGE] `--sora-dir`, `--sora-args``--local-sora-cpp-sdk-dir``--local-sora-cpp-sdk-args` に変更する
Expand Down
4 changes: 2 additions & 2 deletions src/hwenc_vpl/vpl_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ int32_t VplVideoEncoderImpl::Encode(
encoded_image_.capture_time_ms_ = frame.render_time_ms();
encoded_image_.rotation_ = frame.rotation();
encoded_image_.SetColorSpace(frame.color_space());
if (bitstream_.FrameType == MFX_FRAMETYPE_I ||
bitstream_.FrameType == MFX_FRAMETYPE_IDR) {
if (bitstream_.FrameType & MFX_FRAMETYPE_I ||
bitstream_.FrameType & MFX_FRAMETYPE_IDR) {
encoded_image_._frameType = webrtc::VideoFrameType::kVideoFrameKey;
} else {
encoded_image_._frameType = webrtc::VideoFrameType::kVideoFrameDelta;
Expand Down

0 comments on commit b806b2e

Please sign in to comment.