@@ -44,13 +44,13 @@ namespace toucan
4444 }
4545
4646 void App::_init (
47- const std::shared_ptr<feather_tk ::Context>& context,
47+ const std::shared_ptr<ftk ::Context>& context,
4848 std::vector<std::string>& argv)
4949 {
50- _cmdLine.input = feather_tk ::CmdLineValueArg<std::string>::create (
50+ _cmdLine.input = ftk ::CmdLineValueArg<std::string>::create (
5151 " input" ,
5252 " Input .otio file." );
53- _cmdLine.output = feather_tk ::CmdLineValueArg<std::string>::create (
53+ _cmdLine.output = ftk ::CmdLineValueArg<std::string>::create (
5454 " output" ,
5555 " Output image or movie file. Use a dash ('-') to write raw frames or y4m to stdout." );
5656
@@ -64,37 +64,37 @@ namespace toucan
6464 {
6565 y4mList.push_back (spec.first );
6666 }
67- _cmdLine.videoCodec = feather_tk ::CmdLineValueOption<std::string>::create (
67+ _cmdLine.videoCodec = ftk ::CmdLineValueOption<std::string>::create (
6868 std::vector<std::string>{ " -vcodec" },
6969 " Set the video codec." ,
7070 " " ,
7171 " MJPEG" ,
72- feather_tk ::join (ffmpeg::getVideoCodecStrings (), " , " ));
73- _cmdLine.printStart = feather_tk ::CmdLineFlagOption::create (
72+ ftk ::join (ffmpeg::getVideoCodecStrings (), " , " ));
73+ _cmdLine.printStart = ftk ::CmdLineFlagOption::create (
7474 std::vector<std::string>{ " -print_start" },
7575 " Print the timeline start time and exit." );
76- _cmdLine.printDuration = feather_tk ::CmdLineFlagOption::create (
76+ _cmdLine.printDuration = ftk ::CmdLineFlagOption::create (
7777 std::vector<std::string>{ " -print_duration" },
7878 " Print the timeline duration and exit." );
79- _cmdLine.printRate = feather_tk ::CmdLineFlagOption::create (
79+ _cmdLine.printRate = ftk ::CmdLineFlagOption::create (
8080 std::vector<std::string>{ " -print_rate" },
8181 " Print the timeline frame rate and exit." );
82- _cmdLine.printSize = feather_tk ::CmdLineFlagOption::create (
82+ _cmdLine.printSize = ftk ::CmdLineFlagOption::create (
8383 std::vector<std::string>{ " -print_size" },
8484 " Print the timeline image size." );
85- _cmdLine.raw = feather_tk ::CmdLineValueOption<std::string>::create (
85+ _cmdLine.raw = ftk ::CmdLineValueOption<std::string>::create (
8686 std::vector<std::string>{ " -raw" },
8787 " Raw pixel format to send to stdout." ,
8888 " " ,
8989 std::optional<std::string>(),
90- feather_tk ::join (rawList, " , " ));
91- _cmdLine.y4m = feather_tk ::CmdLineValueOption<std::string>::create (
90+ ftk ::join (rawList, " , " ));
91+ _cmdLine.y4m = ftk ::CmdLineValueOption<std::string>::create (
9292 std::vector<std::string>{ " -y4m" },
9393 " y4m format to send to stdout." ,
9494 " " ,
9595 std::optional<std::string>(),
96- feather_tk ::join (y4mList, " , " ));
97- _cmdLine.verbose = feather_tk ::CmdLineFlagOption::create (
96+ ftk ::join (y4mList, " , " ));
97+ _cmdLine.verbose = ftk ::CmdLineFlagOption::create (
9898 std::vector<std::string>{ " -v" },
9999 " Print verbose output." );
100100
@@ -141,7 +141,7 @@ namespace toucan
141141 }
142142
143143 std::shared_ptr<App> App::create (
144- const std::shared_ptr<feather_tk ::Context>& context,
144+ const std::shared_ptr<ftk ::Context>& context,
145145 std::vector<std::string>& argv)
146146 {
147147 auto out = std::shared_ptr<App>(new App);
@@ -320,7 +320,7 @@ namespace toucan
320320
321321 {
322322 const OTIO_NS::TimeRange timeRange = _timelineWrapper->getTimeRange ();
323- const auto r = feather_tk ::toRational (timeRange.duration ().rate ());
323+ const auto r = ftk ::toRational (timeRange.duration ().rate ());
324324 std::stringstream ss;
325325 ss << " F" << r.first << " :" << r.second ;
326326 s = ss.str ();
0 commit comments