FFmpeg icon indicating copy to clipboard operation
FFmpeg copied to clipboard

remove min_scan_x, min_scan_y and find a better way to get max_scan_x and max_scan_y.

Open nuomi2021 opened this issue 2 years ago • 2 comments

see https://patchwork.ffmpeg.org/project/ffmpeg/patch/TYSPR06MB64337C13ECE97978A56C1152AA62A@TYSPR06MB6433.apcprd06.prod.outlook.com/#81903

nuomi2021 avatar Jan 02 '24 13:01 nuomi2021

Progress Update:

I have located the file that I need to work on vvc_cabac.c, and found where max_scan and min_scan are defined: image

I took a look at the definition of FFMAX: image

hamzah-mujawar avatar Feb 24 '24 17:02 hamzah-mujawar

Progress update:

I have added this line of code to help me understand what is going on: image

This is the resulting output: image

From my understanding, this returns the max of xc and yc respectively.

I have a question, do we need to find the highest xc and yc value overall, since from what I've seen the higher the xc and yc value that's what max_scan tends to stay on.

Thanking you for your time, Hamzah Mujawar

hamzah-mujawar avatar Feb 26 '24 19:02 hamzah-mujawar