libavcodec/internal.h File Reference

common internal api header. More...

#include <stdint.h>
#include "avcodec.h"

Go to the source code of this file.

Functions

void ff_log_missing_feature (void *avc, const char *feature, int want_sample)
 Logs a generic warning message about a missing feature.
void ff_log_ask_for_sample (void *avc, const char *msg)
 Logs a generic warning message asking for a sample.
int ff_is_hwaccel_pix_fmt (enum PixelFormat pix_fmt)
 Determines whether pix_fmt is a hardware accelerated format.
AVHWAccelff_find_hwaccel (enum CodecID codec_id, enum PixelFormat pix_fmt)
 Returns the hardware accelerated codec for codec codec_id and pixel format pix_fmt.


Detailed Description

common internal api header.

Definition in file internal.h.


Function Documentation

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

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

Referenced by decode_init(), ff_h263_decode_init(), and vcr2_init_sequence().

int ff_is_hwaccel_pix_fmt ( enum PixelFormat  pix_fmt  ) 

Determines whether pix_fmt is a hardware accelerated format.

Definition at line 484 of file imgconvert.c.

Referenced by avcodec_default_get_format().

void ff_log_ask_for_sample ( void *  avc,
const char *  msg 
)

Logs a generic warning message asking for a sample.

Parameters:
[in] avc a pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct
[in] msg string containing an optional message, or NULL if no message

Definition at line 1143 of file utils.c.

Referenced by determine_bitrate(), and ff_log_missing_feature().

void ff_log_missing_feature ( void *  avc,
const char *  feature,
int  want_sample 
)

Logs a generic warning message about a missing feature.

Parameters:
[in] avc a pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct
[in] feature string containing the name of the missing feature
[in] want_sample indicates if samples are wanted which exhibit this feature. If want_sample is non-zero, additional verbage will be added to the log message which tells the user how to report samples to the development mailing list.

Definition at line 1131 of file utils.c.

Referenced by aac_decode_init(), apply_gain_ctrl(), decode_audio_block(), decode_extradata(), decode_ga_specific_config(), decode_ics(), decode_ics_info(), decode_sbr_extension(), ff_eac3_parse_header(), and parse_adts_frame_header().


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