Пример #1
0
 public static void Scale(SWSContext context, SByteBuffer srcSlice, SIntBuffer srcStride, int srcSliceY, int srcSliceH, SByteBuffer dest, SIntBuffer dstStride)
 {
     fixed (byte** src = &srcSlice.NativeObj, dst = &dest.NativeObj)
     {
         FFmpegInvoke.sws_scale(context.NativeObj, src, srcStride.NativeObj, srcSliceY, srcSliceH, dst, dstStride.NativeObj);
     }
 }
Пример #2
0
 public static void FreeContext(SWSContext context)
 {
     FFmpegInvoke.sws_freeContext(context.NativeObj);
 }
Пример #3
0
 public static void Scale(SWSContext context, DByteBuffer srcSlice, SIntBuffer srcStride, int srcSliceY, int srcSliceH, DByteBuffer dest, SIntBuffer dstStride)
 {
     FFmpegInvoke.sws_scale(context.NativeObj, srcSlice.NativeObj, srcStride.NativeObj, srcSliceY, srcSliceH, dest.NativeObj, dstStride.NativeObj);
 }