libavcodec/internal.h File Reference

common internal api header. More...

#include <stdint.h>
#include "libavutil/pixfmt.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  InternalBuffer
struct  AVCodecInternal
struct  AVCodecDefault

Functions

int ff_is_hwaccel_pix_fmt (enum PixelFormat pix_fmt)
 Determine whether pix_fmt is a hardware accelerated format.
AVHWAccelff_find_hwaccel (enum CodecID codec_id, enum PixelFormat pix_fmt)
 Return the hardware accelerated codec for codec codec_id and pixel format pix_fmt.
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.
unsigned int avpriv_toupper4 (unsigned int x)
void ff_init_buffer_info (AVCodecContext *s, AVFrame *pic)
 does needed setup of pkt_pts/pos and such for (re)get_buffer();
int avpriv_lock_avformat (void)
int avpriv_unlock_avformat (void)


Detailed Description

common internal api header.

Definition in file internal.h.


Function Documentation

int avpriv_lock_avformat ( void   ) 

Definition at line 1617 of file utils.c.

Referenced by ff_tls_deinit(), and ff_tls_init().

unsigned int avpriv_toupper4 ( unsigned int  x  ) 

Definition at line 1635 of file utils.c.

Referenced by ff_codec_get_id(), MPV_common_init(), and validate_codec_tag().

int avpriv_unlock_avformat ( void   ) 

Definition at line 1626 of file utils.c.

Referenced by ff_tls_deinit(), and ff_tls_init().

AVHWAccel* ff_find_hwaccel ( enum CodecID  codec_id,
enum PixelFormat  pix_fmt 
)

Return the hardware accelerated codec for codec codec_id and pixel format pix_fmt.

Parameters:
codec_id the codec to match
pix_fmt the pixel format to match
Returns:
the hardware accelerated codec, or NULL if none was found.

Definition at line 1585 of file utils.c.

Referenced by decode_slice_header(), ff_h263_decode_init(), vc1_decode_init(), and vcr2_init_sequence().

void ff_init_buffer_info ( AVCodecContext s,
AVFrame pic 
)

does needed setup of pkt_pts/pos and such for (re)get_buffer();

Definition at line 246 of file utils.c.

Referenced by ff_thread_get_buffer().

int ff_is_hwaccel_pix_fmt ( enum PixelFormat  pix_fmt  ) 

Determine whether pix_fmt is a hardware accelerated format.

Definition at line 294 of file imgconvert.c.

Referenced by avcodec_default_get_format().

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 1538 of file utils.c.

Referenced by h263_encode_picture_header(), MPV_encode_init(), and svq1_write_header().


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8