aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGStaticNatives.java
blob: 3e9c4bf36843e370996e5a86ac1127b93d52c67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package jogamp.opengl.util.av.impl;

import com.jogamp.common.util.VersionNumber;

class FFMPEGStaticNatives {        
    static VersionNumber getAVVersion(int vers) {
        return new VersionNumber( ( vers >> 16 ) & 0xFF,
                                  ( vers >>  8 ) & 0xFF,
                                  ( vers >>  0 ) & 0xFF );
    }
    static native int getAvUtilVersion0(long func);
    static native int getAvFormatVersion0(long func);
    static native int getAvCodecVersion0(long func);
    static native int getAvResampleVersion0(long func);
}