Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

trellis mode performance

Marc_Amstoutz
Beginner
282 Views

Hello,

I observed 1-2% bitrate improvement when setting trellis (for I or IP frames, SD/HD, cqp, best quality, 12:2 GOP) using modified sample_encode. No improvement measured when trellis is enabled for IPB simultaneously. Could you describe the algorithm used in msdk, comparing to x264 one (http://akuvian.org/src/x264/trellis.txt) ?

Thanks for your comments !

Regards,

Marc

0 Kudos
1 Reply
Petter_L_Intel
Employee
282 Views

Hi Marc,

We can not share the implementation details of the HW but on a high level this is how it works:

1. Trellis Quantization enables Rate-Distortion optimum quantization using a Trellis based algorithm. The algorithm allows the quantization decisions for all coefficients in a block to be made jointly to improve coding efficiency.

2. Quality gain from Trellis Quantization depends on bit rate, resolution and frame type. Higher quality gain on higher bit rate (lower QP).

3. Quality gain also depends on the number of B frames used. Media SDK API has options to disable Trellis for P/B frames if desired.

Regards,
Petter 

0 Kudos
Reply