| @@ -20,6 +20,13 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include <pthread.h> | |||||
| #include <CoreFoundation/CFDictionary.h> | |||||
| #include <CoreFoundation/CFNumber.h> | |||||
| #include <CoreFoundation/CFData.h> | |||||
| #include <CoreFoundation/CFString.h> | |||||
| #include "avcodec.h" | |||||
| #include "vda_internal.h" | #include "vda_internal.h" | ||||
| /** | /** | ||||
| @@ -29,9 +29,6 @@ | |||||
| // http://openradar.appspot.com/8026390 | // http://openradar.appspot.com/8026390 | ||||
| #undef __GNUC_STDC_INLINE__ | #undef __GNUC_STDC_INLINE__ | ||||
| #include <pthread.h> | |||||
| #include "avcodec.h" | |||||
| #define Picture QuickdrawPicture | #define Picture QuickdrawPicture | ||||
| #include <VideoDecodeAcceleration/VDADecoder.h> | #include <VideoDecodeAcceleration/VDADecoder.h> | ||||
| #undef Picture | #undef Picture | ||||
| @@ -20,6 +20,7 @@ | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #include "h264.h" | |||||
| #include "vda_internal.h" | #include "vda_internal.h" | ||||
| static int start_frame(AVCodecContext *avctx, | static int start_frame(AVCodecContext *avctx, | ||||
| @@ -23,16 +23,8 @@ | |||||
| #ifndef AVCODEC_VDA_INTERNAL_H | #ifndef AVCODEC_VDA_INTERNAL_H | ||||
| #define AVCODEC_VDA_INTERNAL_H | #define AVCODEC_VDA_INTERNAL_H | ||||
| #include "h264.h" | |||||
| #include "h264data.h" | |||||
| #include "vda.h" | #include "vda.h" | ||||
| #include <CoreFoundation/CFDictionary.h> | |||||
| #include <CoreFoundation/CFNumber.h> | |||||
| #include <CoreFoundation/CFData.h> | |||||
| #include <CoreFoundation/CFString.h> | |||||
| /** | /** | ||||
| * \addtogroup VDA_Decoding | * \addtogroup VDA_Decoding | ||||
| * | * | ||||