FFmpeg
|
libschroedinger.c
Go to the documentation of this file.
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
Definition: mem.c:205
static const SchroVideoFormatEnum ff_schro_video_formats[]
Schroedinger video preset table.
Definition: libschroedinger.c:119
memory handling functions
SchroFrame * ff_create_schro_frame(AVCodecContext *avctx, SchroFrameFormat schro_frame_fmt)
Create a Schro frame based on the dimensions and frame format passed.
Definition: libschroedinger.c:178
data structures common to libschroedinger decoder and encoder
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
Definition: libavcodec/avcodec.h:1253
void av_freep(void *arg)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...
Definition: mem.c:198
void avpicture_free(AVPicture *picture)
Free a picture previously allocated by avpicture_alloc().
Definition: avpicture.c:67
void av_free(void *ptr)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). ...
Definition: mem.c:183
void * ff_schro_queue_pop(FFSchroQueue *queue)
Return the first element in the queue.
Definition: libschroedinger.c:100
int ff_get_schro_frame_format(SchroChromaFormat schro_pix_fmt, SchroFrameFormat *schro_frame_fmt)
Sets the Schroedinger frame format corresponding to the Schro chroma format passed.
Definition: libschroedinger.c:150
int ff_schro_queue_push_back(FFSchroQueue *queue, void *p_data)
Add an element to the end of the queue.
Definition: libschroedinger.c:81
void ff_schro_queue_free(FFSchroQueue *queue, void(*free_func)(void *))
Free the queue resources.
Definition: libschroedinger.c:75
static const struct @67 schro_pixel_format_map[]
static unsigned int get_video_format_idx(AVCodecContext *avctx)
Definition: libschroedinger.c:49
int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
Allocate memory for a picture.
Definition: avpicture.c:54
SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avctx)
Returns the video format preset matching the input video dimensions and time base.
Definition: libschroedinger.c:139
static const SchroVideoFormatInfo ff_schro_video_format_info[]
Definition: libschroedinger.c:29
Definition: libschroedinger.h:34
static void free_schro_frame(SchroFrame *frame, void *priv)
Definition: libschroedinger.c:167
Generated on Mon Nov 18 2024 06:51:56 for FFmpeg by 1.8.11