FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVCodecInternal |
Macros | |
#define | FF_SANE_NB_CHANNELS 512U |
#define | STRIDE_ALIGN 8 |
Functions | |
int | ff_match_2uint16 (const uint16_t(*tab)[2], int size, int a, int b) |
Return the index into tab at which {a,b} match elements {[0],[1]} of tab. More... | |
unsigned int | ff_toupper4 (unsigned int x) |
int | avpriv_h264_has_num_reorder_frames (AVCodecContext *avctx) |
int | avpriv_codec_get_cap_skip_frame_fill_param (const AVCodec *codec) |
int | ff_alloc_timecode_sei (const AVFrame *frame, AVRational rate, size_t prefix_len, void **data, size_t *sei_size) |
Check AVFrame for S12M timecode side data and allocate and fill TC SEI message with timecode info. More... | |
int64_t | ff_guess_coded_bitrate (AVCodecContext *avctx) |
Get an estimated video bitrate based on frame size, frame rate and coded bits per pixel. More... | |
common internal api header.
Definition in file internal.h.
#define FF_SANE_NB_CHANNELS 512U |
Definition at line 37 of file internal.h.
#define STRIDE_ALIGN 8 |
Definition at line 46 of file internal.h.
int ff_match_2uint16 | ( | const uint16_t(*) | tab[2], |
int | size, | ||
int | a, | ||
int | b | ||
) |
Return the index into tab at which {a,b} match elements {[0],[1]} of tab.
If there is no such matching pair then size is returned.
Definition at line 826 of file utils.c.
Referenced by ff_h263_encode_picture_header(), ff_mpv_encode_init(), and svq1_write_header().
unsigned int ff_toupper4 | ( | unsigned int | x | ) |
Definition at line 29 of file to_upper4.h.
Referenced by ff_codec_get_id(), ff_mpv_decode_init(), and validate_codec_tag().
int avpriv_h264_has_num_reorder_frames | ( | AVCodecContext * | avctx | ) |
Definition at line 61 of file h264dec.c.
Referenced by has_decode_delay_been_guessed().
int avpriv_codec_get_cap_skip_frame_fill_param | ( | const AVCodec * | codec | ) |
Definition at line 405 of file utils.c.
Referenced by try_decode_frame().
int ff_alloc_timecode_sei | ( | const AVFrame * | frame, |
AVRational | rate, | ||
size_t | prefix_len, | ||
void ** | data, | ||
size_t * | sei_size | ||
) |
Check AVFrame for S12M timecode side data and allocate and fill TC SEI message with timecode info.
frame | Raw frame to get S12M timecode side data from |
rate | The frame rate |
prefix_len | Number of bytes to allocate before SEI message |
data | Pointer to a variable to store allocated memory Upon return the variable will hold NULL on error or if frame has no S12M timecode info. Otherwise it will point to prefix_len uninitialized bytes followed by *sei_size SEI message |
sei_size | Pointer to a variable to store generated SEI message length |
Definition at line 993 of file utils.c.
Referenced by prepare_sei_data_array().
int64_t ff_guess_coded_bitrate | ( | AVCodecContext * | avctx | ) |
Get an estimated video bitrate based on frame size, frame rate and coded bits per pixel.
Definition at line 1057 of file utils.c.
Referenced by encode_init(), raw_encode_init(), v308_encode_init(), v408_encode_init(), v410_encode_init(), and y41p_encode_init().