自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 资源 (22)
  • 收藏
  • 关注

原创 队列和堆栈实现二叉树的遍历

#include#include #include using namespace std;typedef struct node{//二叉树节点 int value; node *left; node *right;}node,*pnode;typedef struct list{//队列的基本结构 pnode pn; list *next;}list,*plist;

2014-01-29 10:23:20 1215

原创 算法导论10.2-8-用一个整数地址替代前后指针实现双向链表

#include#include #include using namespace std;typedef struct dlist{//双向链表 int value;//存储值 unsigned int np;//存储地址值}dlist, *pdlist;void insert(pdlist &d,pdlist cur)//双链表插入元素{ d->np^=(unsigne

2014-01-26 14:32:00 1069

原创 双向链表插入删除

#include#include #include using namespace std;typedef struct dlist{//双向链表 int value; dlist *next; dlist *prev;}dlist, *pdlist;void insert(pdlist &d,pdlist cur)//双链表插入元素{ if(!d){ d=cur;

2014-01-24 19:32:05 687

原创 单链表逆转

#include#include #include using namespace std;typedef struct list{//用链表实现堆栈 int value; list *next;}list, *plist;void insert_s_n(plist &l,plist node)//向链表中添加元素-堆栈顺序-不带头结点{ if(!l){ l=node;

2014-01-24 15:33:01 698

原创 单链表实现队列

#include#include #include using namespace std;typedef struct list{//用链表实现队列 int value; list *next;}list, *plist;typedef struct queue{//队列 plist head; plist tail;}queue,*pqueue;void enqu

2014-01-23 22:12:41 836

原创 算法导论10.1-5-双端队列

#include #include #include using namespace std;typedef struct deque{//队列 int a[10]; int head; int tail;}deque,*pdeque;void init(pdeque q)//初始化{ q->head=0; q->tail=0;}void endeque(pdeq

2014-01-23 12:38:30 948

原创 两个队列模拟一个堆栈

#include #include #include using namespace std;typedef struct queue{//队列 int a[10]; int head; int tail;}queue,*pqueue;void init(pqueue q)//初始化{ q->head=0; q->tail=0;}void enqueue(pque

2014-01-23 10:08:10 839

原创 进出队列(含上溢,下溢处理)

#include #include #include using namespace std;typedef struct queue{//队列 int a[10]; int head; int tail;}queue,*pqueue;void init(pqueue q)//初始化{ q->head=0; q->tail=0;}void enqueue(pque

2014-01-22 18:58:51 2869

原创 算法导论9-2-c-带权中位数

#include #include #include #include using namespace boost::timer;using namespace std;int partition(double *a,int low,int high){ double key=a[high]; int p=low-1; double tmp; for(int i=low;i

2014-01-18 21:02:29 1752 1

原创 算法导论9.3-8-设X[1..n]和Y[1..n]为两个数组,每个都包含n个已排好序的数,给出一个求数组X和数组Y中所有2n个元素的中位数

#include #include #include #include using namespace boost::timer;using namespace std;int partition(int *a,int low,int high){ int key=a[high]; int p=low-1; int tmp; for(int i=low;i<high;++i

2014-01-16 16:46:52 4676

原创 k分位数

#include #include #include using namespace boost::timer;using namespace std;int partition(int *a,int low,int high){ int key=a[high]; int p=low-1; int tmp; for(int i=low;i<high;++i){ if(a[

2014-01-15 19:49:48 1591

原创 利用中位数进行快速排序

#include #include #include using namespace boost::timer;using namespace std;int partition(int *a,int low,int high)//快速排序分割{ int key=a[high]; int p=low-1; int tmp; for(int i=low;i<high;++i){

2014-01-14 21:23:56 958

原创 算法导论8-5-平均排序-k排序

#include #include #include using namespace std;using namespace boost::timer;void quick_k_sort_partition(int *a,int low,int high,int interval)//借用快速排序排列某种元素{ if(low<high){ int key=a[low];

2014-01-11 21:36:46 1446

原创 算法导论8-3变长数据项排序-整数数组-字符串

//算法导论8-3,变长数据项的排序#include #include #include using namespace std;using namespace boost::timer;int bits(int i)//找出每位数的位数,正数为正,负数为负{ int radix=1; while (i/10) { radix++; i/=10; } return

2014-01-09 10:39:16 1552

原创 算法导论8.4-4-单位圆中均匀分布情况--桶排序

#include #include using namespace std;typedef struct point_circle//圆内点的数据结构{ double x,y;//x,y坐标 double r; //半径}point_circle, *ppoint_circle;typedef struct node{//桶数据结构 point_circle *valu

2014-01-08 13:32:22 2601 1

转载 如何平均得到圆内点的随机分布

今年某公司的笔试题目还蛮有意思的,原题不还没见到,不过经过一系列变化之后,可以等价地表述为如下:如何利用一个能够返回平均随机点的函数,等概率地生成一个单位圆中的点,使得生成地点在圆内的分布概率尽量平均,即在面积上平均分布。首先,要弄明白之间的平均随机是指什么;其次,还需要搞清楚在面积上平均分布是指什么。下面两个图分别是平均随机和正态随机的分布情形:

2014-01-07 21:02:08 6381 1

原创 计数排序,基数排序,桶排序和快速排序算法时间对比

//基数排序#include #include #include using namespace boost::timer;using namespace std;void find_max_min(int *a,int &max,int &min,int n){ max=a[0],min=a[0];//寻找最大最小值 for(int i=1;i<n;++i){ if(ma

2014-01-07 09:55:34 1205

原创 算法导论-6.5-9 使用最小堆完成k路归并算法

//基于最小堆的K路归并算法#include #include #include using namespace std;typedef struct node{ int value; node *next;}node,*pNode;void insert_node(node *head, node *nenode)//直接插入法,插入新节点{ node *cur=hea

2014-01-05 15:05:27 2223 1

原创 杨氏矩阵

#include#include #include using namespace std;void young_tableau(int **a,int i,int j,int m,int n)//维护杨氏矩阵{ int min_row=i,min_col=j; if(i+1a[i+1][j])){//比较当前元素与下边元素值的大小 min_row=i+1; } if(i<

2014-01-05 10:16:03 815

原创 两种快速排序

#include #include #include #include using namespace boost::timer;using namespace std;void same_elem_quick_sort(int *a,int low,int high)//考虑相同元素的情况{ if(low<high){ int pivot=a[low]; int i=

2014-01-05 10:14:55 579

原创 堆排序

#include #include #include using namespace std;void max_heapify(int *a,int i,int heap_size)//维护最大堆{ while (i<=heap_size/2) { int left=2*i+1,right=2*i+2; int largest=i; if(lefta[i]) la

2014-01-03 10:41:52 577

Speech Recognition Algorithms Using Weighted Finite-State Transducers

Speech Recognition Algorithms Using Weighted Finite-State Transducers

2018-06-24

FFmpegH264 多线程 优化

提取FFmpeg中H264解码库的代码,支持多线程和MMX、SSE和AVX等优化。

2017-04-16

ffmpegH264Android

主要介绍提取FFmpeg中的H264代码并在Android Studio中编译和调试的详细步骤

2017-03-13

FFmpegH264(多线程)

该工程提取了FFmpeg工程中H264解码库相关的代码,并借鉴OpenHEVC的组织方式利用CMake脚本即可编译成VS工程。

2017-02-20

H264中CAVLC的FFmpeg实现

FFmpeg针对CAVLC做了大量的优化,主要体现在码表的构建和查找上。本文将从CAVLC码表的构建、查找和CAVLC残差解码三部分对CAVLC熵解码算法进行分析。

2016-12-04

H264/AVC中CAVLC的FFmpeg实现

FFmpeg针对CAVLC做了大量的优化,主要体现在码表的构建和查找上。本文将从CAVLC码表的构建、查找和CAVLC残差解码三部分对CAVLC熵解码算法进行分析。

2016-12-04

FFmpeg H264

从FFmpeg中提取出来的H264解码代码,使用CMake和VS2013就可以进行调试,有利于学习H264解码标准。

2016-10-17

VisualGDB调试Android JNI和Linux项目

VisualGDB调试Android JNI和Linux项目。详细的介绍了如何使用Visual GDB调试Android JNI项目和Linux项目。由于某些原因,图中部分内容被抹掉。敬请见谅。

2016-05-08

libde265解码器源代码

libde265,开源视频解码器。用C++编写,已经生成VS2012工程,可以方便的进行调试。

2015-10-07

YUVviewer-HEVC

2002年,Ye-Kui Wang (wyk@ieee.org)和 Juan-Juan Jiang (juanjuan_j@hotmail.com)写了一个YUVviewer小软件,后经国内264相关论坛社区版主进行改进,有了后面的YUVPlayer1.3等优秀软件的产生。但是,没有找到它们 的源代码,不能在他们基础上进行相关工作,甚是遗憾。所以,自己看了一个原版的YUVviewer代码,发现,YUVviewer的源代码写得很糟糕,当然这没有贬低原作者的意思,毕竟有了他们的开创性工作,才能有后来的工作。YUVviewer的源代码,无论是从面向对象的思想或者软件本身的设计和软件的编码来说,都是一般般的。所以,经过我2天的努力,我已经从面向对象思想和有利于软件的可扩展性方面做了一点儿工作,对源代码中的某些地方进行了改进,现将原代码进行公布,方便各位同仁在此基础上进行扩展。

2013-05-25

基于OPENCV的超声图像增强

基于OPENCV的超声图像增强 项目中用了基本的OPENCV 函数 实现了 超声图像的增强 OPENCV 是 计算机视觉领域一个 不错的 开发工具 项目中用提出了一个新的方法来处理数字图像 同时也对比了直方图均衡化 和数学形态学方法的 的处理结果 此项目 中代码的组织结构 也 可以 好好研究一下 同时 对 初学OPENCV 的人来说也是一个 很好的 学习项目 项目的开发环境是 基于 ECLIPSE + LINUX 的 当然 熟悉的人可以 直接 转化到 WINDOWS 下 祝好

2012-05-17

编译原理 词法分析 。。。。。。。。。。。

编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析编译原理 词法分析

2011-06-08

emacs 教程初步

初步介绍了emacs的基本知识。。。但是,还要好好钻研。。。

2010-09-10

Linux内核情景分析.pdf 非扫描版

Linux内核情景分析.pdf 非扫描版 对学习linux内核,了解linux内核,熟悉linux系统有很好的帮助。。。。

2010-05-11

都市行 公交查询 j2me

都市行 公交查询 j2me 此软件属于免费软件,故在此不要各位的资源分。。。此软件要在线去获取注册号。。。不过各位放心,现在官方的注册号也是免费的。。。此外,此软件,经过模糊处理,如果,各位想反编译成功,估计要一点周折。。。

2010-05-08

设计模式解决软件的可扩展可复用问题

设计模式。。。。设计模式在编程用能够比较好的解决软件的可扩展,可复用问题。。。

2010-05-08

JavaWEB_PPT.rar

JavaWEB_PPT.rar 里面是 ppt,就当是一片文章,,,读读可以。。。

2010-05-08

深入浅出Android--Google手持设备应用程序设计.pdf

深入浅出Android--Google手持设备应用程序设计.pdf...里面的BMI比较简单,比较全面。。。不错。。。。

2010-05-08

多任务下的数据结构与算法.pdf

多任务下的数据结构与算法.pdf////////////////////////////////

2010-05-08

NeHe+OpenGL中文教程.CHM

NeHe+OpenGL中文教程.CHM ,教程内容是翻译过来的。。。不过还是挺好的。。。

2010-05-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除