Skip to content

Commit

Permalink
Обновлен VVdeC v2.3.0-24-gad8f4bb. Устранено падение на процессорах б…
Browse files Browse the repository at this point in the history
…ез SSE4.1.

MPCVideoDec: для видео VVC используем "libvvdec" для всех типов CPU.
  • Loading branch information
v0lt committed Jun 25, 2024
1 parent dbc1c57 commit 51b4493
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/Changelog.Rus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Обновлены библиотеки:
ffmpeg git-n7.1-dev-1509-g0c0e7ec81e;
vvdec git-v2.3.0-20-gc26979f.
vvdec git-v2.3.0-24-gad8f4bb.


1.7.2 - 2024-06-07
Expand Down
2 changes: 1 addition & 1 deletion docs/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Updated Japanese translation (by tsubasanouta).

Updated libraries:
ffmpeg git-n7.1-dev-1509-g0c0e7ec81e;
vvdec git-v2.3.0-20-gc26979f.
vvdec git-v2.3.0-24-gad8f4bb.


1.7.2 - 2024-06-07
Expand Down
2 changes: 0 additions & 2 deletions src/ExtLib/vvdec.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@
<ClCompile Include="vvdec\vvdec\source\Lib\Utilities\ThreadPool.cpp" />
<ClCompile Include="vvdec\vvdec\source\Lib\vvdec\vvdec.cpp" />
<ClCompile Include="vvdec\vvdec\source\Lib\vvdec\vvdecimpl.cpp" />
<ClCompile Include="vvdec\vvdec\source\Lib\vvdec\wasm_bindings.cpp" />
</ItemGroup>
<ItemGroup>
<Natvis Include="vvdec\vvdec\source\VisualStudio\common.natvis" />
Expand Down Expand Up @@ -283,7 +282,6 @@
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\resource.h" />
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\resource_version.h" />
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\vvdecimpl.h" />
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\wasm_bindings.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A5B58721-0F63-4410-9598-880EBDA78C53}</ProjectGuid>
Expand Down
18 changes: 6 additions & 12 deletions src/ExtLib/vvdec.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\MatrixIntraPrediction.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\Picture.cpp">
<Filter>Header Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\SampleAdaptiveOffset.cpp">
<Filter>Header Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\x86\avx2\Trafo_avx2.cpp">
<Filter>Source Files\simd</Filter>
</ClCompile>
Expand Down Expand Up @@ -219,9 +213,6 @@
<ClCompile Include="vvdec\vvdec\source\Lib\vvdec\vvdecimpl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\vvdec\wasm_bindings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\WeightPrediction.cpp">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -297,6 +288,12 @@
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\x86\avx\Trafo_avx.cpp">
<Filter>Source Files\simd</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\Picture.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="vvdec\vvdec\source\Lib\CommonLib\SampleAdaptiveOffset.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="vvdec\vvdec\source\Lib\CommonLib\AdaptiveLoopFilter.h">
Expand Down Expand Up @@ -518,9 +515,6 @@
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\vvdecimpl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vvdec\vvdec\source\Lib\vvdec\wasm_bindings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="vvdec\vvdec\source\Lib\CommonLib\WeightPrediction.h">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down
7 changes: 1 addition & 6 deletions src/filters/transform/MPCVideoDec/MPCVideoDec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2108,12 +2108,7 @@ HRESULT CMPCVideoDecFilter::InitDecoder(const CMediaType* pmt)
if (m_CodecId == AV_CODEC_ID_AV1 && (m_bUseDXVA || m_bUseD3D11 || m_bUseD3D11cb || m_bUseD3D12cb || m_bUseNVDEC)) {
m_pAVCodec = avcodec_find_decoder_by_name("av1");
} else if (m_CodecId == AV_CODEC_ID_VVC) {
if (CPUInfo::HaveSSE4()) {
// VVdeC crashes on older CPUs. need more info...
m_pAVCodec = avcodec_find_decoder_by_name("libvvdec");
} else {
m_pAVCodec = avcodec_find_decoder_by_name("vvc");
}
m_pAVCodec = avcodec_find_decoder_by_name("libvvdec");
} else {
m_pAVCodec = avcodec_find_decoder(m_CodecId);
}
Expand Down

0 comments on commit 51b4493

Please sign in to comment.