123456789101112131415161718192021222324252627282930313233343536 |
- /* GStreamer
- * Copyright (C) <2021> Charles Lu <chongzhi.lcz@alibaba-inc.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
- #pragma once
- #include <gst/video/video-info.h>
- #include <csi_camera.h>
- #include <camera_string.h>
- class THeadCameraUtil
- {
- public:
- static void dump_backtrace ();
- static void dump_gst_video_info (GstVideoInfo * info);
- static void dump_gstvideo_frame (GstVideoFrame * frame);
- static void dump_gst_buffer (GstBuffer * buffer);
- static void dump_channel_event(csi_camera_event_s *event);
- static void fill_1280x720_yv12 (GstVideoFrame * frame);
- };
|