From 74efa6d70c4630473d58384695b06390c9384b14 Mon Sep 17 00:00:00 2001 From: falsycat Date: Wed, 7 Sep 2022 08:59:59 +0900 Subject: [PATCH] change name of conversion step --- conv/CMakeLists.txt | 8 ++++---- conv/{cprob_code.cc => fcprob_fcode.cc} | 5 +---- conv/{bidx_video.cc => fidx_video.cc} | 2 +- conv/video_fprob.cc | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) rename conv/{cprob_code.cc => fcprob_fcode.cc} (96%) rename conv/{bidx_video.cc => fidx_video.cc} (99%) diff --git a/conv/CMakeLists.txt b/conv/CMakeLists.txt index c207ab6..cac4797 100644 --- a/conv/CMakeLists.txt +++ b/conv/CMakeLists.txt @@ -1,10 +1,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${BLKY_CXX_FLAGS} -I ${PROJECT_SOURCE_DIR}") -add_executable(bidx_video common.hh bidx_video.cc) -target_link_libraries(bidx_video PRIVATE args minimp4 openh264) +add_executable(fidx_video common.hh fidx_video.cc) +target_link_libraries(fidx_video PRIVATE args minimp4 openh264) add_executable(video_fprob common.hh video_fprob.cc) target_link_libraries(video_fprob PRIVATE args minimp4 openh264) -add_executable(cprob_code common.hh cprob_code.cc) -target_link_libraries(cprob_code PRIVATE args minimp4 openh264) +add_executable(fcprob_fcode common.hh fcprob_fcode.cc) +target_link_libraries(fcprob_fcode PRIVATE args) diff --git a/conv/cprob_code.cc b/conv/fcprob_fcode.cc similarity index 96% rename from conv/cprob_code.cc rename to conv/fcprob_fcode.cc index 75c371d..277f18e 100644 --- a/conv/cprob_code.cc +++ b/conv/fcprob_fcode.cc @@ -10,9 +10,6 @@ #include #include -#include - -#include #include "conv/common.hh" @@ -21,7 +18,7 @@ namespace param { using namespace ::args; ArgumentParser parser { - "converter: code probability matrix -> code" + "converter: feature code probability matrix -> feature code" }; HelpFlag help { parser, "help", "display this menu", {'h', "help"}, diff --git a/conv/bidx_video.cc b/conv/fidx_video.cc similarity index 99% rename from conv/bidx_video.cc rename to conv/fidx_video.cc index 34bf6d3..9950b16 100644 --- a/conv/bidx_video.cc +++ b/conv/fidx_video.cc @@ -21,7 +21,7 @@ namespace param { using namespace ::args; ArgumentParser parser { - "converter: video + indices -> video" + "converter: feature indices + host -> stego" }; HelpFlag help { parser, "help", "display this menu", {'h', "help"}, diff --git a/conv/video_fprob.cc b/conv/video_fprob.cc index cbcd7ad..4b5c7dc 100644 --- a/conv/video_fprob.cc +++ b/conv/video_fprob.cc @@ -20,7 +20,7 @@ namespace param { using namespace ::args; ArgumentParser parser { - "converter: video -> feature probability matrix" + "converter: stego -> feature probability matrix" }; HelpFlag help { parser, "help", "display this menu", {'h', "help"},