Package | Description |
---|---|
org.bytedeco.ffmpeg.global |
Modifier and Type | Method and Description |
---|---|
static SwsContext |
swscale.sws_alloc_context()
Allocate an empty SwsContext.
|
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
double[] param) |
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoubleBuffer param) |
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoublePointer param)
Check if context can be reused, otherwise reallocate a new one.
|
static SwsContext |
swscale.sws_getContext(int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
double[] param) |
static SwsContext |
swscale.sws_getContext(int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoubleBuffer param) |
static SwsContext |
swscale.sws_getContext(int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoublePointer param)
Allocate and return an SwsContext.
|
Modifier and Type | Method and Description |
---|---|
static void |
swscale.sws_frame_end(SwsContext c)
Finish the scaling process for a pair of source/destination frames previously
submitted with sws_frame_start().
|
static int |
swscale.sws_frame_start(SwsContext c,
AVFrame dst,
AVFrame src)
Initialize the scaling process for a given pair of source/destination frames.
|
static void |
swscale.sws_freeContext(SwsContext swsContext)
Free the swscaler context swsContext.
|
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
double[] param) |
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoubleBuffer param) |
static SwsContext |
swscale.sws_getCachedContext(SwsContext context,
int srcW,
int srcH,
int srcFormat,
int dstW,
int dstH,
int dstFormat,
int flags,
SwsFilter srcFilter,
SwsFilter dstFilter,
DoublePointer param)
Check if context can be reused, otherwise reallocate a new one.
|
static int |
swscale.sws_getColorspaceDetails(SwsContext c,
int[] inv_table,
int[] srcRange,
int[] table,
int[] dstRange,
int[] brightness,
int[] contrast,
int[] saturation) |
static int |
swscale.sws_getColorspaceDetails(SwsContext c,
IntBuffer inv_table,
IntBuffer srcRange,
IntBuffer table,
IntBuffer dstRange,
IntBuffer brightness,
IntBuffer contrast,
IntBuffer saturation) |
static int |
swscale.sws_getColorspaceDetails(SwsContext c,
IntPointer inv_table,
IntPointer srcRange,
IntPointer table,
IntPointer dstRange,
IntPointer brightness,
IntPointer contrast,
IntPointer saturation) |
static int |
swscale.sws_getColorspaceDetails(SwsContext c,
PointerPointer inv_table,
IntPointer srcRange,
PointerPointer table,
IntPointer dstRange,
IntPointer brightness,
IntPointer contrast,
IntPointer saturation) |
static int |
swscale.sws_init_context(SwsContext sws_context,
SwsFilter srcFilter,
SwsFilter dstFilter)
Initialize the swscaler context sws_context.
|
static int |
swscale.sws_receive_slice_alignment(SwsContext c)
Get the alignment required for slices
|
static int |
swscale.sws_receive_slice(SwsContext c,
int slice_start,
int slice_height)
Request a horizontal slice of the output data to be written into the frame
previously provided to sws_frame_start().
|
static int |
swscale.sws_scale_frame(SwsContext c,
AVFrame dst,
AVFrame src)
Scale source data from src and write the output to dst.
|
static int |
swscale.sws_scale(SwsContext c,
byte[] srcSlice,
int[] srcStride,
int srcSliceY,
int srcSliceH,
byte[] dst,
int[] dstStride) |
static int |
swscale.sws_scale(SwsContext c,
ByteBuffer srcSlice,
IntBuffer srcStride,
int srcSliceY,
int srcSliceH,
ByteBuffer dst,
IntBuffer dstStride) |
static int |
swscale.sws_scale(SwsContext c,
BytePointer srcSlice,
IntPointer srcStride,
int srcSliceY,
int srcSliceH,
BytePointer dst,
IntPointer dstStride) |
static int |
swscale.sws_scale(SwsContext c,
PointerPointer srcSlice,
IntPointer srcStride,
int srcSliceY,
int srcSliceH,
PointerPointer dst,
IntPointer dstStride)
Scale the image slice in srcSlice and put the resulting scaled
slice in the image in dst.
|
static int |
swscale.sws_send_slice(SwsContext c,
int slice_start,
int slice_height)
Indicate that a horizontal slice of input data is available in the source
frame previously provided to sws_frame_start().
|
static int |
swscale.sws_setColorspaceDetails(SwsContext c,
int[] inv_table,
int srcRange,
int[] table,
int dstRange,
int brightness,
int contrast,
int saturation) |
static int |
swscale.sws_setColorspaceDetails(SwsContext c,
IntBuffer inv_table,
int srcRange,
IntBuffer table,
int dstRange,
int brightness,
int contrast,
int saturation) |
static int |
swscale.sws_setColorspaceDetails(SwsContext c,
IntPointer inv_table,
int srcRange,
IntPointer table,
int dstRange,
int brightness,
int contrast,
int saturation) |
Copyright © 2024. All rights reserved.