1 Star 0 Fork 20

david_yy/H264_Analysis

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
SpecialVH264Dlg.h 1.65 KB
Copy Edit Raw Blame History
leixiaohua1020 authored 2016-01-06 01:21 . reupload
/*
* H.264 分析器
* H.264 Analysis
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
* H.264码流分析工具
* H.264 Stream Analysis Tools
*
*/
#pragma once
#include "resource.h"
#include "stdafx.h"
#include "NALParse.h"
#include "h264_analyze.h"
#include <vector>
using std::vector;
// CSpecialVH264Dlg 对话框
class CSpecialVH264Dlg : public CDialogEx
{
// 构造
public:
CSpecialVH264Dlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_SPECIAL_V_H264 };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CMFCEditBrowseCtrl m_vh264inputurl;
CListCtrl m_vh264nallist;
CButton m_vh264nallistmaxnum;
afx_msg void OnBnClickedVH264InputurlOpen();
void OnCustomdrawMyList ( NMHDR* pNMHDR, LRESULT* pResult );
int nl_index;
int AppendNLInfo(int nal_reference_idc,int nal_unit_type,int len,int data_lenth,int data_offset);
char fileurl[MAX_URL_LENGTH];
void SystemClear();
afx_msg void OnBnClickedVH264About();
CEdit m_vh264nalinfo;
//一条Packet记录
typedef struct NALInfo{
int data_offset;
int data_lenth;
}NALInfo;
vector<NALInfo> nl_infovector;
//-----
afx_msg void OnDropFiles(HDROP hDropInfo);
CString text;
CComboBox m_vh264lang;
afx_msg void OnSelchangeVH264Lang();
afx_msg void OnItemchangedVH264Nallist(NMHDR *pNMHDR, LRESULT *pResult);
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/youling87/H264_Analysis.git
git@gitee.com:youling87/H264_Analysis.git
youling87
H264_Analysis
H264_Analysis
master

Search