21 lines
732 B
C++
21 lines
732 B
C++
#include <filesystem>
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
int main(int argc, char** argv) {
|
|
if (argc < 3) {
|
|
std::cerr << "Usage: mpp_decode_demo <input.h264> <output.yuv|/dev/null>\n";
|
|
std::cerr << "This placeholder builds without RKMPP. To run the real demo, "
|
|
<< "enable RKMPP toolchain and link against Rockchip MPP SDK." << std::endl;
|
|
return 1;
|
|
}
|
|
|
|
std::filesystem::path input = argv[1];
|
|
std::filesystem::path output = argv[2];
|
|
|
|
std::cout << "[RKMPP Placeholder] Pretending to decode " << input << " -> " << output
|
|
<< std::endl;
|
|
std::cout << "Integrate Rockchip's MPP sample sources here when the SDK is available." << std::endl;
|
|
return 0;
|
|
}
|