FFmpeg
|
#include "frame_thread_encoder.h"
#include "libavutil/fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | Task |
struct | ThreadContext |
Macros | |
#define | MAX_THREADS 64 |
#define | BUFFER_SIZE (2*MAX_THREADS) |
Functions | |
static void *attribute_align_arg | worker (void *v) |
int | ff_frame_thread_encoder_init (AVCodecContext *avctx, AVDictionary *options) |
void | ff_frame_thread_encoder_free (AVCodecContext *avctx) |
int | ff_thread_video_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet_ptr) |
Macro Definition Documentation
#define BUFFER_SIZE (2*MAX_THREADS) |
Definition at line 39 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_init(), and ff_thread_video_encode_frame().
#define MAX_THREADS 64 |
Definition at line 38 of file frame_thread_encoder.c.
Referenced by dnxhd_encode_init(), ff_frame_thread_encoder_init(), ff_MPV_common_init(), free_buffers(), free_tables(), h264_slice_header_init(), update_dimensions(), and vp8_decode_frame().
Function Documentation
void ff_frame_thread_encoder_free | ( | AVCodecContext * | avctx | ) |
Definition at line 194 of file frame_thread_encoder.c.
Referenced by avcodec_close(), and ff_frame_thread_encoder_init().
int ff_frame_thread_encoder_init | ( | AVCodecContext * | avctx, |
AVDictionary * | options | ||
) |
Definition at line 119 of file frame_thread_encoder.c.
Referenced by avcodec_open2().
int ff_thread_video_encode_frame | ( | AVCodecContext * | avctx, |
AVPacket * | pkt, | ||
const AVFrame * | frame, | ||
int * | got_packet_ptr | ||
) |
Definition at line 216 of file frame_thread_encoder.c.
Referenced by avcodec_encode_video2().
|
static |
Definition at line 67 of file frame_thread_encoder.c.
Referenced by ff_frame_thread_encoder_init().
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11