| Package | Description |
|---|---|
| org.bytedeco.javacpp |
| Modifier and Type | Method and Description |
|---|---|
static avutil.AVRational |
avutil.av_add_q(avutil.AVRational b,
avutil.AVRational c)
Add two rationals.
|
static avutil.AVRational |
avfilter.av_buffersink_get_frame_rate(avfilter.AVFilterContext ctx) |
static avutil.AVRational |
avfilter.av_buffersink_get_sample_aspect_ratio(avfilter.AVFilterContext ctx) |
static avutil.AVRational |
avfilter.av_buffersink_get_time_base(avfilter.AVFilterContext ctx) |
static avutil.AVRational |
avcodec.av_codec_get_pkt_timebase(avcodec.AVCodecContext avctx) |
static avutil.AVRational |
avutil.av_d2q(double d,
int max)
Convert a double precision floating point number to a rational.
|
static avutil.AVRational |
avutil.av_div_q(avutil.AVRational b,
avutil.AVRational c)
Divide one rational by another.
|
static avutil.AVRational |
avutil.av_get_time_base_q()
Return the fractional representation of the internal time base.
|
static avutil.AVRational |
avformat.av_guess_frame_rate(avformat.AVFormatContext ctx,
avformat.AVStream stream,
avutil.AVFrame frame)
Guess the frame rate, based on both the container and codec information.
|
static avutil.AVRational |
avformat.av_guess_sample_aspect_ratio(avformat.AVFormatContext format,
avformat.AVStream stream,
avutil.AVFrame frame)
Guess the sample aspect ratio of a frame, based on both the stream and the
frame aspect ratio.
|
static avutil.AVRational |
avutil.av_inv_q(avutil.AVRational q)
Invert a rational.
|
static avutil.AVRational |
avutil.av_make_q(int num,
int den)
Create an AVRational.
|
static avutil.AVRational |
avutil.av_mul_q(avutil.AVRational b,
avutil.AVRational c)
Multiply two rationals.
|
static avutil.AVRational |
avformat.av_stream_get_codec_timebase(avformat.AVStream st)
Get the internal codec timebase from a stream.
|
static avutil.AVRational |
avformat.av_stream_get_r_frame_rate(avformat.AVStream s) |
static avutil.AVRational |
avutil.av_sub_q(avutil.AVRational b,
avutil.AVRational c)
Subtract one rational from another.
|
avutil.AVRational |
avformat.AVStream.avg_frame_rate()
Average framerate
- demuxing: May be set by libavformat when creating the stream or in
avformat_find_stream_info().
|
avutil.AVRational |
avutil.AVOption.default_val_q() |
avutil.AVRational |
avutil.AVRational.den(int den) |
avutil.AVRational |
avformat.AVStream.display_aspect_ratio()
display aspect ratio (0 if unknown)
- encoding: unused
- decoding: Set by libavformat to calculate sample_aspect_ratio internally
|
avutil.AVRational |
avdevice.AVDeviceCapabilitiesQuery.fps() |
avutil.AVRational |
avfilter.AVFilterLink.frame_rate()
Frame rate of the stream on the link, or 1/0 if unknown or variable;
if left to 0/0, will be automatically copied from the first input
of the source filter if it exists.
|
avutil.AVRational |
avfilter.AVBufferSrcParameters.frame_rate()
Video only, the frame rate of the input video.
|
avutil.AVRational |
avcodec.AVCodecContext.framerate()
- decoding: For codecs that store a framerate value in the compressed
bitstream, the decoder may export it here.
|
avutil.AVRational |
avutil.AVRational.num(int num) |
avutil.AVRational |
avcodec.AVCodecContext.pkt_timebase()
Timebase in which pkt_dts/pts and AVPacket.dts/pts are.
|
avutil.AVRational |
avutil.AVRational.position(long position) |
avutil.AVRational |
avformat.AVStream.r_frame_rate()
Real base framerate of the stream.
|
avutil.AVRational |
avcodec.AVCodecContext.sample_aspect_ratio()
sample aspect ratio (0 if unknown)
That is the width of a pixel divided by the height of the pixel.
|
avutil.AVRational |
avcodec.AVCodecParameters.sample_aspect_ratio()
Video only.
|
avutil.AVRational |
avfilter.AVFilterLink.sample_aspect_ratio()
agreed upon sample aspect ratio
|
avutil.AVRational |
avfilter.AVBufferSrcParameters.sample_aspect_ratio()
Video only, the sample (pixel) aspect ratio.
|
avutil.AVRational |
avformat.AVStream.sample_aspect_ratio()
sample aspect ratio (0 if unknown)
- encoding: Set by user.
|
avutil.AVRational |
avutil.AVFrame.sample_aspect_ratio()
Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
|
avutil.AVRational |
avcodec.AVCodec.supported_framerates()
array of supported framerates, or NULL if any, array is terminated by {0,0}
|
avutil.AVRational |
avcodec.AVBSFContext.time_base_in()
The timebase used for the timestamps of the input packets.
|
avutil.AVRational |
avcodec.AVBSFContext.time_base_out()
The timebase used for the timestamps of the output packets.
|
avutil.AVRational |
avcodec.AVCodecContext.time_base()
This is the fundamental unit of time (in seconds) in terms
of which frame timestamps are represented.
|
avutil.AVRational |
avfilter.AVFilterLink.time_base()
Define the time base used by the PTS of the frames/samples
which will pass through this link.
|
avutil.AVRational |
avfilter.AVBufferSrcParameters.time_base()
The timebase to be used for the timestamps on the input frames.
|
avutil.AVRational |
avformat.AVStream.time_base()
This is the fundamental unit of time (in seconds) in terms
of which frame timestamps are represented.
|
avutil.AVRational |
avformat.AVChapter.time_base()
time base in which the start/end timestamps are specified
|
| Modifier and Type | Method and Description |
|---|---|
static avutil.AVRational |
avutil.av_add_q(avutil.AVRational b,
avutil.AVRational c)
Add two rationals.
|
static long |
avutil.av_add_stable(avutil.AVRational ts_tb,
long ts,
avutil.AVRational inc_tb,
long inc)
Add a value to a timestamp.
|
static int |
avutil.av_cmp_q(avutil.AVRational a,
avutil.AVRational b)
Compare two rationals.
|
static void |
avcodec.av_codec_set_pkt_timebase(avcodec.AVCodecContext avctx,
avutil.AVRational val) |
static int |
avutil.av_compare_ts(long ts_a,
avutil.AVRational tb_a,
long ts_b,
avutil.AVRational tb_b)
Compare two timestamps each in its own time base.
|
static avutil.AVRational |
avutil.av_div_q(avutil.AVRational b,
avutil.AVRational c)
Divide one rational by another.
|
static int |
avutil.av_find_nearest_q_idx(avutil.AVRational q,
avutil.AVRational q_list)
Find the value in a list of rationals nearest a given reference rational.
|
static int |
avutil.av_image_check_sar(int w,
int h,
avutil.AVRational sar)
Check if the given sample aspect ratio of an image is valid.
|
static avutil.AVRational |
avutil.av_inv_q(avutil.AVRational q)
Invert a rational.
|
static avutil.AVRational |
avutil.av_mul_q(avutil.AVRational b,
avutil.AVRational c)
Multiply two rationals.
|
static int |
avutil.av_nearer_q(avutil.AVRational q,
avutil.AVRational q1,
avutil.AVRational q2)
Find which of the two rationals is closer to another rational.
|
static int |
avutil.av_opt_eval_q(Pointer obj,
avutil.AVOption o,
BytePointer val,
avutil.AVRational q_out) |
static int |
avutil.av_opt_eval_q(Pointer obj,
avutil.AVOption o,
String val,
avutil.AVRational q_out) |
static int |
avutil.av_opt_get_q(Pointer obj,
BytePointer name,
int search_flags,
avutil.AVRational out_val) |
static int |
avutil.av_opt_get_q(Pointer obj,
String name,
int search_flags,
avutil.AVRational out_val) |
static int |
avutil.av_opt_get_video_rate(Pointer obj,
BytePointer name,
int search_flags,
avutil.AVRational out_val) |
static int |
avutil.av_opt_get_video_rate(Pointer obj,
String name,
int search_flags,
avutil.AVRational out_val) |
static int |
avutil.av_opt_set_q(Pointer obj,
BytePointer name,
avutil.AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_q(Pointer obj,
String name,
avutil.AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_video_rate(Pointer obj,
BytePointer name,
avutil.AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_video_rate(Pointer obj,
String name,
avutil.AVRational val,
int search_flags) |
static void |
avcodec.av_packet_rescale_ts(avcodec.AVPacket pkt,
avutil.AVRational tb_src,
avutil.AVRational tb_dst)
Convert valid timing fields (timestamps / durations) in a packet from one
timebase to another.
|
static double |
avutil.av_q2d(avutil.AVRational a)
Convert an AVRational to a
double. |
static int |
avutil.av_q2intfloat(avutil.AVRational q)
Convert an AVRational to a IEEE 32-bit
float expressed in fixed-point
format. |
static long |
avutil.av_rescale_delta(avutil.AVRational in_tb,
long in_ts,
avutil.AVRational fs_tb,
int duration,
long[] last,
avutil.AVRational out_tb) |
static long |
avutil.av_rescale_delta(avutil.AVRational in_tb,
long in_ts,
avutil.AVRational fs_tb,
int duration,
LongBuffer last,
avutil.AVRational out_tb) |
static long |
avutil.av_rescale_delta(avutil.AVRational in_tb,
long in_ts,
avutil.AVRational fs_tb,
int duration,
LongPointer last,
avutil.AVRational out_tb)
Rescale a timestamp while preserving known durations.
|
static long |
avutil.av_rescale_q_rnd(long a,
avutil.AVRational bq,
avutil.AVRational cq,
int rnd)
Rescale a 64-bit integer by 2 rational numbers with specified rounding.
|
static long |
avutil.av_rescale_q(long a,
avutil.AVRational bq,
avutil.AVRational cq)
Rescale a 64-bit integer by 2 rational numbers.
|
static void |
avformat.av_stream_set_r_frame_rate(avformat.AVStream s,
avutil.AVRational r) |
static avutil.AVRational |
avutil.av_sub_q(avutil.AVRational b,
avutil.AVRational c)
Subtract one rational from another.
|
avformat.AVStream |
avformat.AVStream.avg_frame_rate(avutil.AVRational avg_frame_rate) |
avutil.AVOption |
avutil.AVOption.default_val_q(avutil.AVRational default_val_q) |
avformat.AVStream |
avformat.AVStream.display_aspect_ratio(avutil.AVRational display_aspect_ratio) |
avdevice.AVDeviceCapabilitiesQuery |
avdevice.AVDeviceCapabilitiesQuery.fps(avutil.AVRational fps) |
avfilter.AVFilterLink |
avfilter.AVFilterLink.frame_rate(avutil.AVRational frame_rate) |
avfilter.AVBufferSrcParameters |
avfilter.AVBufferSrcParameters.frame_rate(avutil.AVRational frame_rate) |
avcodec.AVCodecContext |
avcodec.AVCodecContext.framerate(avutil.AVRational framerate) |
avcodec.AVCodecContext |
avcodec.AVCodecContext.pkt_timebase(avutil.AVRational pkt_timebase) |
avformat.AVStream |
avformat.AVStream.r_frame_rate(avutil.AVRational r_frame_rate) |
avcodec.AVCodecContext |
avcodec.AVCodecContext.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avcodec.AVCodecParameters |
avcodec.AVCodecParameters.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avfilter.AVFilterLink |
avfilter.AVFilterLink.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avfilter.AVBufferSrcParameters |
avfilter.AVBufferSrcParameters.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avformat.AVStream |
avformat.AVStream.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avutil.AVFrame |
avutil.AVFrame.sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
avcodec.AVBSFContext |
avcodec.AVBSFContext.time_base_in(avutil.AVRational time_base_in) |
avcodec.AVBSFContext |
avcodec.AVBSFContext.time_base_out(avutil.AVRational time_base_out) |
avcodec.AVCodecContext |
avcodec.AVCodecContext.time_base(avutil.AVRational time_base) |
avfilter.AVFilterLink |
avfilter.AVFilterLink.time_base(avutil.AVRational time_base) |
avfilter.AVBufferSrcParameters |
avfilter.AVBufferSrcParameters.time_base(avutil.AVRational time_base) |
avformat.AVStream |
avformat.AVStream.time_base(avutil.AVRational time_base) |
avformat.AVChapter |
avformat.AVChapter.time_base(avutil.AVRational time_base) |
Copyright © 2018. All rights reserved.