|
|
@ -3617,6 +3617,17 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos); |
|
|
|
int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Converts swscale x/y chroma position to AVChromaLocation. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* The positions represent the chroma (0,0) position in a coordinates system |
|
|
|
|
|
|
|
* with luma (0,0) representing the origin and luma(1,1) representing 256,256 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param xpos horizontal chroma sample position |
|
|
|
|
|
|
|
* @param ypos vertical chroma sample position |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
enum AVChromaLocation avcodec_chroma_pos_to_enum(int xpos, int ypos); |
|
|
|
|
|
|
|
|
|
|
|
#if FF_API_OLD_DECODE_AUDIO |
|
|
|
#if FF_API_OLD_DECODE_AUDIO |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Wrapper function which calls avcodec_decode_audio4. |
|
|
|
* Wrapper function which calls avcodec_decode_audio4. |
|
|
|