Skip to content

Commit

Permalink
clangformat
Browse files Browse the repository at this point in the history
  • Loading branch information
asahtik committed Nov 3, 2023
1 parent 06672b7 commit b910590
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pipeline/datatype/EncodedFrame.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "depthai/pipeline/datatype/EncodedFrame.hpp"

#include "utility/H26xParsers.hpp"

namespace dai {
Expand Down Expand Up @@ -39,9 +40,9 @@ bool EncodedFrame::getLossless() const {
return frame.lossless;
}
EncodedFrame::FrameType EncodedFrame::getFrameType() const {
if (frame.type == FrameType::Unknown) {
if(frame.type == FrameType::Unknown) {
SliceType frameType;
switch (frame.profile) {
switch(frame.profile) {
case RawEncodedFrame::Profile::JPEG:
frameType = SliceType::I;
break;
Expand All @@ -52,7 +53,7 @@ EncodedFrame::FrameType EncodedFrame::getFrameType() const {
frameType = getTypesH265(frame.data, true)[0];
break;
}
switch (frameType) {
switch(frameType) {
case SliceType::P:
frame.type = FrameType::P;
break;
Expand Down

0 comments on commit b910590

Please sign in to comment.