FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mp_image.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "img_format.h"
#include "mp_image.h"
#include "libvo/fastmemcpy.h"
#include "libavutil/imgutils.h"

Go to the source code of this file.

Functions

void ff_mp_image_alloc_planes (mp_image_t *mpi)
 
mp_image_tff_alloc_mpi (int w, int h, unsigned long int fmt)
 
void ff_copy_mpi (mp_image_t *dmpi, mp_image_t *mpi)
 
void ff_mp_image_setfmt (mp_image_t *mpi, unsigned int out_fmt)
 
mp_image_tff_new_mp_image (int w, int h)
 
void ff_free_mp_image (mp_image_t *mpi)
 

Function Documentation

void ff_mp_image_alloc_planes ( mp_image_t mpi)

Definition at line 36 of file mp_image.c.

Referenced by ff_alloc_mpi(), and ff_vf_get_image().

mp_image_t* ff_alloc_mpi ( int  w,
int  h,
unsigned long int  fmt 
)

Definition at line 81 of file mp_image.c.

void ff_copy_mpi ( mp_image_t dmpi,
mp_image_t mpi 
)

Definition at line 90 of file mp_image.c.

void ff_mp_image_setfmt ( mp_image_t mpi,
unsigned int  out_fmt 
)

Definition at line 105 of file mp_image.c.

Referenced by ff_alloc_mpi(), ff_vf_get_image(), and filter_frame().

mp_image_t* ff_new_mp_image ( int  w,
int  h 
)

Definition at line 234 of file mp_image.c.

Referenced by ff_alloc_mpi(), ff_vf_get_image(), and filter_frame().

void ff_free_mp_image ( mp_image_t mpi)

Definition at line 243 of file mp_image.c.

Referenced by filter_frame(), and uninit().