/* */ public void releaseFrame() /* */ { /* 64 */ if ((0L != this.nativePeer) && /* 65 */ (this.holdCount.decrementAndGet() <= 0)) /* */ { /* 67 */ if (null != this.cachedBGRARep) { /* 68 */ this.cachedBGRARep.releaseFrame(); /* 69 */ this.cachedBGRARep = null; /* */ } /* */ /* 73 */ MediaDisposer.removeResourceDisposer(new Long(this.nativePeer)); /* 74 */ nativeDisposeBuffer(this.nativePeer); /* 75 */ this.nativePeer = 0L; /* */ } /* */ }
/* 43 */ public static NativeVideoBuffer createVideoBuffer(long nativePeer) { NativeVideoBuffer buffer = new NativeVideoBuffer(nativePeer); /* 44 */ MediaDisposer.addResourceDisposer(buffer, new Long(nativePeer), disposer); /* 45 */ return buffer; }