Originally committed as revision 21115 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2010/01/10 13:06:34... | ... |
@@ -42,6 +42,10 @@ int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt); |
42 | 42 |
*/ |
43 | 43 |
AVHWAccel *ff_find_hwaccel(enum CodecID codec_id, enum PixelFormat pix_fmt); |
44 | 44 |
|
45 |
+/** |
|
46 |
+ * Return the index into tab at which {a,b} match elements {[0],[1]} of tab. |
|
47 |
+ * If there is no such matching pair then size is returned. |
|
48 |
+ */ |
|
45 | 49 |
int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b); |
46 | 50 |
|
47 | 51 |
#endif /* AVCODEC_INTERNAL_H */ |