Skip to content

Commit

Permalink
--dolby-vision-rpuをファイルから読む場合に壊してしまっていたのを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Jan 3, 2025
1 parent b7c17ba commit dc0fe63
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions VCECore/rgy_bitstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,13 +577,13 @@ int DOVIRpu::get_next_rpu(std::vector<uint8_t>& bytes, const RGYDOVIProfile dovi
return 1;
}

bytes.resize(next_size);
std::vector<uint8_t> tmpbuf(next_size);
const auto dataptr = m_buffer.data() + m_dataoffset;
memcpy(bytes.data(), dataptr, next_size);
auto output = unnal(bytes.data(), bytes.size());
memcpy(tmpbuf.data(), dataptr, next_size);
bytes = unnal(tmpbuf.data(), tmpbuf.size());
m_dataoffset += next_size;
m_datasize -= next_size;
return convert_dovi_rpu(output, doviProfileDst, prm);
return convert_dovi_rpu(bytes, doviProfileDst, prm);
}

int DOVIRpu::get_next_rpu(std::vector<uint8_t>& bytes, const RGYDOVIProfile doviProfileDst, const RGYDOVIRpuConvertParam *prm, const int64_t id) {
Expand Down
6 changes: 3 additions & 3 deletions VCECore/rgy_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#ifndef __RGY_VERSION_H__
#define __RGY_VERSION_H__

#define VER_FILEVERSION 0,8,24,0
#define VER_STR_FILEVERSION "8.24"
#define VER_STR_FILEVERSION_TCHAR _T("8.24")
#define VER_FILEVERSION 0,8,25,0
#define VER_STR_FILEVERSION "8.25"
#define VER_STR_FILEVERSION_TCHAR _T("8.25")


#ifdef _M_IX86
Expand Down
3 changes: 3 additions & 0 deletions VCEEnc/VCEEnc_readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ Radeon RX7900XT
今後の更新で設定ファイルの互換性がなくなるかもしれません。

【どうでもいいメモ】
2025.01.03 (8.25)
- 8.24で--dolby-vision-rpuをファイルから読む場合に壊してしまっていたのを修正。

2024.12.11 (8.24)
- AMFを1.4.35に更新。
AMD Radeon Software Adrenalin Edition 24.9.1 以降が必要。
Expand Down

0 comments on commit dc0fe63

Please sign in to comment.