6 Star 5 Fork 14

leixiaohua1020 / H264_Analysis

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
SpecialVH264Dlg.h 1.65 KB
Copy Edit Web IDE 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);
};

Comment ( 0 )

Sign in for post a comment

C++
1
https://git.oschina.net/leixiaohua1020/H264_Analysis.git
git@git.oschina.net:leixiaohua1020/H264_Analysis.git
leixiaohua1020
H264_Analysis
H264_Analysis
master

Search