<div dir="ltr">Hi<div><br></div><div>I am using clang-6 to compile this C++ code and I see a strange temporary variable allocated at expression address <span style="font-family:Menlo;font-size:8px;font-variant-ligatures:no-common-ligatures">0x7ff1131536e8</span>.</div><div><br></div><div>If I change the ternary operator at line 483 to an if-else, the temporary is not allocated.</div><div><br></div><div>Thanks</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Variables:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">=========</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">FFMPEGVideoCapture ffmpeg_video_capture_;</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">cv::VideoCapture opencv_video_capture_;</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Function:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">========</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">bool StreamData::readFileFrame(Mat& curr_frame, int& frame_id) {</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>// read frame from file</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>++frame_id;</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">483: enable_ffmpeg_decoder_ ? (ffmpeg_video_capture_.read(curr_frame))</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>: opencv_video_capture_ >> curr_frame;</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>return !curr_frame.empty();</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">}</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Generated AST from ast-dump:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">===========================</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">-CXXMethodDecl 0x7ff113148810 parent 0x7ff114400cb0 prev 0x7ff114401e30 <line:480:1, line:486:1> line:480:18 used readFileFrame 'bool (cv::Mat &, int &)'<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| |-ParmVarDecl 0x7ff113148708 <col:32, col:37> col:37 used curr_frame 'cv::Mat &'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| |-ParmVarDecl 0x7ff113148780 <col:49, col:54> col:54 used frame_id 'int &'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| `-CompoundStmt 0x7ff1131537d8 <col:64, line:486:1></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>|-UnaryOperator 0x7ff113148930 <line:482:5, col:7> 'int' lvalue prefix '++'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| `-DeclRefExpr 0x7ff113148908 <col:7> 'int' lvalue ParmVar 0x7ff113148780 'frame_id' 'int &'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>|-ExprWithCleanups 0x7ff1131536e8 <line:483:5, line:484:32> 'cv::VideoCapture'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| `-ConditionalOperator 0x7ff1131536b8 <line:483:5, line:484:32> 'cv::VideoCapture'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>|-ImplicitCastExpr 0x7ff113153178 <line:483:5> 'bool' <LValueToRValue></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| `-MemberExpr 0x7ff113148968 <col:5> 'bool' lvalue ->enable_ffmpeg_decoder_ 0x7ff114221ef0</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXThisExpr 0x7ff113148950 <col:5> 'xyz::StreamData *' this</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>|-CXXBindTemporaryExpr 0x7ff113153620 <col:30, col:69> 'cv::VideoCapture' (CXXTemporary 0x7ff113153618)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| `-CXXConstructExpr 0x7ff1131535e0 <col:30, col:69> 'cv::VideoCapture' 'void (const cv::VideoCapture &) noexcept(false)' elidable</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-MaterializeTemporaryExpr 0x7ff1131535c8 <col:30, col:69> 'const cv::VideoCapture' lvalue</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ImplicitCastExpr 0x7ff1131535b0 <col:30, col:69> 'const cv::VideoCapture' <NoOp></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXBindTemporaryExpr 0x7ff113153590 <col:30, col:69> 'cv::VideoCapture' (CXXTemporary 0x7ff113153588)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXConstructExpr 0x7ff113153550 <col:30, col:69> 'cv::VideoCapture' 'void (const cv::VideoCapture &) noexcept(false)' elidable</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-MaterializeTemporaryExpr 0x7ff113153238 <col:30, col:69> 'const cv::VideoCapture' lvalue</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ImplicitCastExpr 0x7ff113153220 <col:30, col:69> 'const cv::VideoCapture' <NoOp></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXBindTemporaryExpr 0x7ff113153200 <col:30, col:69> 'cv::VideoCapture' (CXXTemporary 0x7ff1131531f8)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ImplicitCastExpr 0x7ff1131531e0 <col:30, col:69> 'cv::VideoCapture' <ConstructorConversion></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXConstructExpr 0x7ff1131531a8 <col:30, col:69> 'cv::VideoCapture' 'void (int)'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ImplicitCastExpr 0x7ff113153190 <col:30, col:69> 'int' <IntegralCast></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ParenExpr 0x7ff113148a80 <col:30, col:69> 'bool'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXMemberCallExpr 0x7ff113148a50 <col:31, col:68> 'bool'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>|-MemberExpr 0x7ff1131489f0 <col:31, col:53> '<bound member function type>' .read 0x7ff1143a6f38</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| `-MemberExpr 0x7ff1131489b8 <col:31> 'FFMPEGVideoCapture' lvalue ->ffmpeg_video_capture_ 0x7ff114402a38</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXThisExpr 0x7ff1131489a0 <col:31> 'xyz::StreamData *' this</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-DeclRefExpr 0x7ff113148a28 <col:58> 'cv::Mat' lvalue ParmVar 0x7ff113148708 'curr_frame' 'cv::Mat &'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXBindTemporaryExpr 0x7ff113153698 <line:484:7, col:32> 'cv::VideoCapture' (CXXTemporary 0x7ff113153690)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXConstructExpr 0x7ff113153658 <col:7, col:32> 'cv::VideoCapture' 'void (const cv::VideoCapture &) noexcept(false)'</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-ImplicitCastExpr 0x7ff113153640 <col:7, col:32> 'const cv::VideoCapture' lvalue <NoOp></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-CXXOperatorCallExpr 0x7ff113153130 <col:7, col:32> 'cv::VideoCapture' lvalue</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>|-ImplicitCastExpr 0x7ff113153118 <col:29> 'cv::VideoCapture &(*)(cv::Mat &)' <FunctionToPointerDecay></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| `-DeclRefExpr 0x7ff1131530c0 <col:29> 'cv::VideoCapture &(cv::Mat &)' lvalue CXXMethod 0x55be741b2b60 'operator>>' 'cv::VideoCapture &(cv::Mat &)'<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>|-MemberExpr 0x7ff113148ab8 <col:7> 'cv::VideoCapture':'cv::VideoCapture' lvalue ->opencv_video_capture_ 0x7ff114402b00</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>| `-CXXThisExpr 0x7ff113148aa0 <col:7> 'xyz::StreamData *' this</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo;min-height:9px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">| <span class="gmail-Apple-converted-space"> </span>| <span class="gmail-Apple-converted-space"> </span>`-DeclRefExpr 0x7ff113148af0 <col:32> 'cv::Mat' lvalue ParmVar 0x7ff113148708 'curr_frame' 'cv::Mat &'</span></p></div></div>