Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/frameworks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ add_subdirectory(JavaVM)
add_subdirectory(LocalAuthentication)
add_subdirectory(MapKit)
add_subdirectory(MediaAccessibility)
add_subdirectory(MediaToolbox)
add_subdirectory(Metal)
add_subdirectory(MetalKit)
add_subdirectory(ModelIO)
Expand Down
46 changes: 46 additions & 0 deletions src/frameworks/MediaToolbox/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
project(MediaToolbox)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")

add_framework(MediaToolbox
FAT
CURRENT_VERSION
VERSION "A"

SOURCES
src/MediaToolbox.m
src/FigCaptionLayerPrivate.m
src/FigCaptionLayer.m
src/FigCaptionRowLayer.m
src/FigNeroLayer.m
src/FigNSURLSession.m
src/FigNSURLSessionRegistry.m
src/FigHTTPRequestSessionDataDelegate.m
src/FPSupport_PowerStateSingleton.m
src/FPSupport_VideoRangeSingleton.m
src/FigFCRCALayerOutputNodeContentLayer.m
src/FigFCRCALayerOutputNodeLayer.m
src/FigCaptionBackdropLayer.m
src/FigFCRCALayer.m
src/FigSubtitleWebVTTCueCALayer.m
src/FigSubtitleBackdropCALayerContentLayer.m
src/FigSubtitleBackdropCALayer.m
src/FigCDSCALayer.m
src/FigBaseCALayer.m
src/FigBaseCALayerHost.m
src/FigDisplaySleepAssertion.m
src/FigSubtitleCALayer.m
src/FigVideoContainerLayer.m
src/FigVideoLayerInternal.m
src/FigVideoLayer.m
src/FigCDSCALayerOutputNodeContentLayer.m
src/FigCDSCALayerOutputNodeLayer.m
src/FigCPEFPAirPlaySession.m
src/FigSubtitleWebVTTRegionCALayer.m

DEPENDENCIES
system
objc
Foundation
)
24 changes: 24 additions & 0 deletions src/frameworks/MediaToolbox/include/MediaToolbox/CALayerDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@protocol CALayerDelegate

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FPSupport_PowerStateSingleton : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FPSupport_VideoRangeSingleton : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/MediaToolbox/include/MediaToolbox/FigBaseCALayer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigBaseCALayer : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigBaseCALayerHost : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/MediaToolbox/include/MediaToolbox/FigCDSCALayer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCDSCALayer : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCDSCALayerOutputNodeContentLayer : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCDSCALayerOutputNodeLayer : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCPEFPAirPlaySession : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCaptionBackdropLayer : NSObject

@end
24 changes: 24 additions & 0 deletions src/frameworks/MediaToolbox/include/MediaToolbox/FigCaptionLayer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCaptionLayer : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCaptionLayerPrivate : NSObject

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
This file is part of Darling.

Copyright (C) 2019 Lubos Dolezel

Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

#include <Foundation/Foundation.h>

@interface FigCaptionRowLayer : NSObject

@end
Loading