Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Apr 2017
Posts: 1
|
What do the functions iClip3 and iClip1 do in the JM reference software?
I am trying to understand the H.264/AVC JM reference software for research purpose.
Many of the functions in it contain the functions iClip1 and iClip3. However, I am not able to find their definitions anywhere in the reference software. As far as I know they are not even standard C library functions. How can I find the actual role of these functions and where? |
![]() |
![]() |
![]() |
#2 | Link |
Retried Guesser
Join Date: Jun 2012
Posts: 1,371
|
Did you look in the headers?
![]() Code:
..JM\lcommon\inc\ifunctions.h static inline int iClip1(int high, int x) { x = imax(x, 0); x = imin(x, high); return x; } static inline int iClip3(int low, int high, int x) { x = imax(x, low); x = imin(x, high); return x; } |
![]() |
![]() |
![]() |
Tags |
h.264/avc, jm reference software |
Thread Tools | Search this Thread |
Display Modes | |
|
|