clean up the VideoDemuxer class to make it follow the Google c++ style (#7)

Dieser Commit ist enthalten in:
Aryan Salmanpour
2023-09-15 14:19:14 -04:00
committet von GitHub
Ursprung 4ea67e279d
Commit b05e69b953
3 geänderte Dateien mit 66 neuen und 66 gelöschten Zeilen
+2 -2
Datei anzeigen
@@ -28,7 +28,7 @@ THE SOFTWARE.
#include <sys/stat.h>
#include <libgen.h>
#include <filesystem>
#include "videoDemuxer.hpp"
#include "video_demuxer.hpp"
#include "rocdecode.h"
void ShowHelpAndExit(const char *option = NULL) {
@@ -103,7 +103,7 @@ int main(int argc, char **argv) {
do {
auto startTime = std::chrono::high_resolution_clock::now();
demuxer.demux(&pVideo, &nVideoBytes, &pts);
demuxer.Demux(&pVideo, &nVideoBytes, &pts);
//nFrameReturned = viddec.decode(pVideo, nVideoBytes, pts);
auto endTime = std::chrono::high_resolution_clock::now();
auto timePerFrame = std::chrono::duration<double, std::milli>(endTime - startTime).count();