Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Intel-Media-SDK/MediaSDK
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51b95bb315b0c6b41685641ba60eeef3bda69d1e
Choose a base ref
..
head repository: Intel-Media-SDK/MediaSDK
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a4f37707c1bfdd5612d3de4623ffb2d21e8c1356
Choose a head ref
Showing with 770 additions and 247 deletions.
  1. +0 −7 .gitattributes
  2. +1 −1 CMakeLists.txt
  3. +13 −13 CODEOWNERS
  4. +2 −2 README.rst
  5. +4 −1 _studio/mfx_lib/decode/vp8/include/mfx_vp8_dec_decode_hw.h
  6. +21 −0 _studio/mfx_lib/decode/vp8/include/mfx_vp8_dec_decode_vp8_defs.h
  7. +4 −0 _studio/mfx_lib/decode/vp8/src/mfx_vp8_dec_decode_common.cpp
  8. +228 −214 _studio/mfx_lib/decode/vp8/src/mfx_vp8_dec_decode_hw.cpp
  9. +3 −0 _studio/mfx_lib/decode/vp9/src/mfx_vp9_dec_decode_hw.cpp
  10. +1 −1 _studio/mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_legacy_defaults.cpp
  11. +1 −4 _studio/shared/umc/codec/h264_dec/src/umc_h264_dec_bitstream_headers.cpp
  12. +6 −1 _studio/shared/umc/codec/h265_dec/include/umc_h265_bitstream_headers.h
  13. BIN doc/HEVC_FEI_overview.pdf
  14. BIN doc/pic/ISLconcept.jpg
  15. BIN doc/pic/Joined_session.jpg
  16. BIN doc/pic/blocking_sync.jpg
  17. BIN doc/pic/buffering_timeout.jpg
  18. BIN doc/pic/det.jpg
  19. BIN doc/pic/detc.jpg
  20. BIN doc/pic/efa.jpg
  21. BIN doc/pic/framebuffering.jpg
  22. BIN doc/pic/mfe_concept.jpg
  23. BIN doc/pic/mfe_submission.jpg
  24. BIN doc/pic/mfe_vme_utilization.jpg
  25. BIN doc/pic/prepare.jpg
  26. BIN doc/pic/regular_session.jpg
  27. BIN doc/pic/soat.jpg
  28. BIN doc/pic/submission_flow.jpg
  29. BIN doc/pic/submit.jpg
  30. BIN doc/pic/system_utilization.jpg
  31. BIN doc/pic/system_utilization_improvement.jpg
  32. BIN doc/pic/thread_dispatching.jpg
  33. BIN doc/pic/tts.jpg
  34. BIN doc/pic/vme_result.jpg
  35. BIN doc/pic/vme_utilization.jpg
  36. BIN doc/pic/wavefront.jpg
  37. BIN doc/pic/wfr.jpg
  38. BIN doc/samples/pic/metrics_monitor_arch.jpg
  39. BIN doc/samples/pic/metrics_monitor_arch_ver_1.1.1.jpg
  40. BIN doc/samples/pic/metrics_monitor_gen_mapping.jpg
  41. BIN tests/content/test_stream.264
  42. BIN tests/content/test_stream.265
  43. BIN tests/content/test_stream.jpg
  44. BIN tests/content/test_stream.mpeg2
  45. +290 −3 tests/content/test_stream_176x96.yuv
  46. BIN tests/content/test_stream_av1.ivf
  47. BIN tests/content/test_stream_vp8.ivf
  48. +196 −0 third-party-programs.txt
7 changes: 0 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.yuv filter=lfs diff=lfs merge=lfs -text
*.ivf filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.mpeg2 filter=lfs diff=lfs merge=lfs -text
*.264 filter=lfs diff=lfs merge=lfs -text
*.265 filter=lfs diff=lfs merge=lfs -text
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ cmake_policy(SET CMP0048 NEW) # version handled by project()


# Througout this project MFX_VERSION refers to uAPI version and MEDIA_VERSION refers to product version
set(MEDIA_VERSION 23.1.1) # auto-update
set(MEDIA_VERSION 23.2.0) # auto-update
set(MEDIA_VERSION_STR "${MEDIA_VERSION}${MEDIA_VERSION_EXTRA}" CACHE STRING "" FORCE)

project(mfx1
26 changes: 13 additions & 13 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
* apple.wang@intel.com carl.zhang@intel.com
/api/include/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
* apple.wang@intel.com carl.zhang@intel.com felix.zhou@intel.com
/api/include/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com

CODEOWNERS @Intel-Media-SDK/mediasdk-admin apple.wang@intel.com carl.zhang@intel.com
CODEOWNERS @Intel-Media-SDK/mediasdk-admin apple.wang@intel.com carl.zhang@intel.com felix.zhou@intel.com
CMakeLists.txt sherry.lin@intel.com

# av1d
@@ -84,7 +84,7 @@ _studio/mfx_lib/encode_hw/vp9/ chunbo.chen@intel.com apple.wang@intel.com
/_studio/shared/umc/codec/scene_analyzer/ furong.zhang@intel.com

# tests:
/tests/ dmitry.v.rogozhkin@intel.com apple.wang@intel.com
/tests/ dmitry.v.rogozhkin@intel.com apple.wang@intel.com felix.zhou@intel.com

# avc_fei:
/_studio/mfx_lib/fei/ thomas.li@intel.com apple.wang@intel.com
@@ -102,22 +102,22 @@ _studio/mfx_lib/encode_hw/vp9/ chunbo.chen@intel.com apple.wang@intel.com
/_studio/shared/include/mfxenctools-int.h sergey.plotnikov@intel.com

# samples:
/samples/ apple.wang@intel.com
/samples/ apple.wang@intel.com felix.zhou@intel.com

# core:
/_studio/mfx_lib/shared/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/shared/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/shared/umc/core/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/shared/umc/io/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/mfx_lib/cmrt_cross_platform/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/mfx_lib/scheduler/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/mfx_lib/shared/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
/_studio/shared/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
/_studio/shared/umc/core/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
/_studio/shared/umc/io/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
/_studio/mfx_lib/cmrt_cross_platform/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
/_studio/mfx_lib/scheduler/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com

# android:
/android/ @Intel-Media-SDK/mediasdk-admin
*.mk @Intel-Media-SDK/mediasdk-admin

# build:
/builder/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/builder/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com

# plugin:
/_studio/mfx_lib/plugin/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com
/_studio/mfx_lib/plugin/ apple.wang@intel.com dmitry.v.rogozhkin@intel.com felix.zhou@intel.com
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@ Intel® Media SDK provides a plain C API to access hardware-accelerated video de

Media SDK is a part of Intel software stack for graphics:

* `Linux Graphics Drivers <https://intel.com/linux-graphics-drivers>`_ - General Purpose GPU Drivers for Linux&ast; Operating Systems
* Linux Graphics Drivers - General Purpose GPU Drivers for Linux* Operating Systems

* Visit `documentation <https://dgpu-docs.intel.com>`_ for instructions on installing, deploying, and updating Intel software to enable general purpose GPU (GPGPU) capabilities for Linux&ast;-based operating system distributions.
* Visit `documentation <https://dgpu-docs.intel.com>`_ for instructions on installing, deploying, and updating Intel software to enable general purpose GPU (GPGPU) capabilities for Linux*-based operating system distributions.

Media SDK Support Matrix
------------------------
5 changes: 4 additions & 1 deletion _studio/mfx_lib/decode/vp8/include/mfx_vp8_dec_decode_hw.h
Original file line number Diff line number Diff line change
@@ -118,7 +118,6 @@ class MFX_VP8_BoolDecoder

void init(uint8_t *pBitStream, int32_t dataSize)
{
dataSize = std::min(dataSize, 2);
m_range = 255;
m_bitcount = 8;
m_pos = 0;
@@ -133,6 +132,10 @@ class MFX_VP8_BoolDecoder
{
uint32_t z = 0;
int bit;

if (m_pos >= (uint32_t)m_input_size)
throw vp8_exception(MFX_ERR_MORE_DATA);

for (bit = bits - 1; bit >= 0;bit--)
{
z |= (decode_bit(prob) << bit);
21 changes: 21 additions & 0 deletions _studio/mfx_lib/decode/vp8/include/mfx_vp8_dec_decode_vp8_defs.h
Original file line number Diff line number Diff line change
@@ -339,6 +339,27 @@ typedef struct _vp8_FrameData

} // namespace UMC

class vp8_exception
{
public:

vp8_exception(int32_t status = -1)
: m_Status(status)
{}

virtual ~vp8_exception()
{}

int32_t GetStatus() const
{
return m_Status;
}

private:

int32_t m_Status;
};

#endif // __VP8_DEC_H__

#endif // _MFX_VP8_DEC_DECODE_VP8_DEFS_H_
4 changes: 4 additions & 0 deletions _studio/mfx_lib/decode/vp8/src/mfx_vp8_dec_decode_common.cpp
Original file line number Diff line number Diff line change
@@ -61,6 +61,10 @@ namespace VP8DecodeCommon
start_code_found = true;
// move to frame tag
p_bitstream -= 3;

if (n_bytes_offset < 3)
MFX_RETURN(MFX_ERR_INVALID_VIDEO_PARAM);

n_bytes_offset -= 3;
break;
}
Loading