博客园 - Mr.Ricouuid:6cbd1ba2-f883-4c34-aed1-30dde64a3a3e;id=6753972021-02-21T10:30:32ZMr.Ricohttps://www.cnblogs.com/xkfz007/feed.cnblogs.comhttps://www.cnblogs.com/xkfz007/p/6415984.html初识 Nginx - Mr.RicoNginx 是一个免费的,开源的,高性能的HTTP服务器和反向代理,以及IMAP / POP3代理服务器。 Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。很多高知名度的网站都使用 Nginx,如:Netflix,GitHub,SoundCloud,MaxCDN 等。 Nginx 有一个主线程( master process)和几个工作线程(worker process...2017-02-19T07:41:00Z2017-02-19T07:41:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】Nginx 是一个免费的,开源的,高性能的HTTP服务器和反向代理,以及IMAP / POP3代理服务器。 Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。很多高知名度的网站都使用 Nginx,如:Netflix,GitHub,SoundCloud,MaxCDN 等。 Nginx 有一个主线程( master process)和几个工作线程(worker process... <a href="https://www.cnblogs.com/xkfz007/p/6415984.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/6392362.htmlSSH error ( Read from socket failed: Connection reset by peer ) and it's solution - Mr.RicoSSH error ( Read from socket failed: Connection reset by peer ) and it's solution ssh cann't connected ,event in localhost[root@localhost ssh]# ssh 127.0.0.1Read from socket failed: Connection reset b...2017-02-12T23:42:00Z2017-02-12T23:42:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】SSH error ( Read from socket failed: Connection reset by peer ) and it's solution ssh cann't connected ,event in localhost[root@localhost ssh]# ssh 127.0.0.1Read from socket failed: Connection reset b... <a href="https://www.cnblogs.com/xkfz007/p/6392362.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/6391491.htmlHRD Emulator in HTML5 - Mr.RicoPosted on March 21, 2012 by Moto Just like MPEG-2 video uses VBV (Video Buffer Verifier), H.264 standard uses HRD (Hypothetical Reference Decoder) to define correctness of streams. One of the verifica...2017-02-12T10:28:00Z2017-02-12T10:28:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】Posted on March 21, 2012 by Moto Just like MPEG-2 video uses VBV (Video Buffer Verifier), H.264 standard uses HRD (Hypothetical Reference Decoder) to define correctness of streams. One of the verifica... <a href="https://www.cnblogs.com/xkfz007/p/6391491.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/6391480.htmlVBV Rate Control - Mr.RicoPart 1 Manao | he is negating a float by printing it, adding a "-" to the string, and converting it back to float Manao | in the process, of course, he doesn't free the allocated string dynaflash ...2017-02-12T10:21:00Z2017-02-12T10:21:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】Part 1 Manao | he is negating a float by printing it, adding a "-" to the string, and converting it back to float Manao | in the process, of course, he doesn't free the allocated string dynaflash ... <a href="https://www.cnblogs.com/xkfz007/p/6391480.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/6391478.htmlXSplit Quality, VBV-Buffer, VBV-Maxrate and Preset Settings - Mr.RicoXSplit uses the x264 encoder, so let’s start off by saying that parameters mentioned in the title, with the exception of the quality parameters, mean the same as the parameters in the x264 wiki here:h...2017-02-12T10:20:00Z2017-02-12T10:20:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】XSplit uses the x264 encoder, so let’s start off by saying that parameters mentioned in the title, with the exception of the quality parameters, mean the same as the parameters in the x264 wiki here:h... <a href="https://www.cnblogs.com/xkfz007/p/6391478.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/6368961.html程序员成长 - Mr.Rico这40项IT技能都能帮你年薪超过12万美元_求职招聘_酷勤网如何在三年之内成长为顶级 Coder?_修炼之道_酷勤网你第一要做的是开始去做_项目管理_酷勤网怎样阅读源代码_项目管理_酷勤网你是码农 还是优秀程序员?_程序人生_酷勤网技术人员的发展之路 | | 酷 壳 - CoolShell如何在面试2017-02-05T16:29:00Z2017-02-05T16:29:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】这40项IT技能都能帮你年薪超过12万美元_求职招聘_酷勤网如何在三年之内成长为顶级 Coder?_修炼之道_酷勤网你第一要做的是开始去做_项目管理_酷勤网怎样阅读源代码_项目管理_酷勤网你是码农 还是优秀程序员?_程序人生_酷勤网技术人员的发展之路 | | 酷 壳 - CoolShell如何在面试 <a href="https://www.cnblogs.com/xkfz007/p/6368961.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/4507990.htmlMediaInfo代码阅读 - Mr.RicoMediaInfo是一个用来分析媒体文件的开源工具。 支持的文件非常全面,基本上支持所有的媒体文件。 最近是在做HEVC开发,所以比较关注MediaInfo中关于HEVC的分析与处理。 从MeidaInfo的官网上下载下来的代码比较庞大,工程比较多,但是代码阅读的一个关键在于,先要抓住主干,然后再不断的深入。先找到自己关注的地方,然后分析,之后再进行分析一些相关的代码。 此处下载...2015-05-16T08:09:00Z2015-05-16T08:09:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】MediaInfo是一个用来分析媒体文件的开源工具。 支持的文件非常全面,基本上支持所有的媒体文件。 最近是在做HEVC开发,所以比较关注MediaInfo中关于HEVC的分析与处理。 从MeidaInfo的官网上下载下来的代码比较庞大,工程比较多,但是代码阅读的一个关键在于,先要抓住主干,然后再不断的深入。先找到自己关注的地方,然后分析,之后再进行分析一些相关的代码。 此处下载... <a href="https://www.cnblogs.com/xkfz007/p/4507990.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/4496578.htmlHEVC与VP9之间的对比 - Mr.Rico在streamingmedia上看到的一篇对比HEVC与VP9的文章,挺不错。另外这边文章的几个comment也是不错的。 下面是全文。 The Great UHD Codec Debate: Google's VP9 Vs. HEVC/H.265 As of today, the great UHD codec debate involves two main partici...2015-05-12T02:09:00Z2015-05-12T02:09:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】在streamingmedia上看到的一篇对比HEVC与VP9的文章,挺不错。另外这边文章的几个comment也是不错的。 下面是全文。 The Great UHD Codec Debate: Google's VP9 Vs. HEVC/H.265 As of today, the great UHD codec debate involves two main partici... <a href="https://www.cnblogs.com/xkfz007/p/4496578.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/3734510.htmlx264阅读记录-3 - Mr.Rico14.x264_macroblock_encode函数-1 这个函数主要根据已经选定的模式来对宏块残差进行编码。 (1)如果是P_SKIP模式,那么调用x264_macroblock_encode_pskip函数 在x264_macroblock_encode_pskip中先对亮度和色度进行运动补偿,调用的函数函数h->mc.mc_luma和 h->mc.mc_chroma。这两...2014-05-17T12:44:00Z2014-05-17T12:44:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】14.x264_macroblock_encode函数-1 这个函数主要根据已经选定的模式来对宏块残差进行编码。 (1)如果是P_SKIP模式,那么调用x264_macroblock_encode_pskip函数 在x264_macroblock_encode_pskip中先对亮度和色度进行运动补偿,调用的函数函数h->mc.mc_luma和 h->mc.mc_chroma。这两... <a href="https://www.cnblogs.com/xkfz007/p/3734510.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/3200186.htmlx264阅读记录-2 - Mr.Ricox264阅读记录-2 7.x264_encoder_encode函数-1查看该函数代码(Encoder.c文件)可以发现,该函数中注释很详细,对编码的整个步骤展示的也相对比较清晰。在查看具体的代码之前,我们需要了解牵扯到x264帧管理过程中的三个数组:x264_frame_t*current[X26...2013-07-19T03:19:00Z2013-07-19T03:19:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】x264阅读记录-2 7.x264_encoder_encode函数-1查看该函数代码(Encoder.c文件)可以发现,该函数中注释很详细,对编码的整个步骤展示的也相对比较清晰。在查看具体的代码之前,我们需要了解牵扯到x264帧管理过程中的三个数组:x264_frame_t*current[X26... <a href="https://www.cnblogs.com/xkfz007/p/3200186.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/3200181.htmlx264阅读记录-1 - Mr.Ricox264阅读记录-1 采用x264版本是x264-snapshot-20060316-2245。 1. main函数 x264的main函数位于x264.c中,下面是main函数调用情况: (1)_setmode函数和_fileno函数 这两个函数是微软提供的两个库函数。 _setmode函数位于i...2013-07-19T03:17:00Z2013-07-19T03:17:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】x264阅读记录-1 采用x264版本是x264-snapshot-20060316-2245。 1. main函数 x264的main函数位于x264.c中,下面是main函数调用情况: (1)_setmode函数和_fileno函数 这两个函数是微软提供的两个库函数。 _setmode函数位于i... <a href="https://www.cnblogs.com/xkfz007/p/3200181.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/p/3150717.htmlLinux脚本程序 - Mr.Rico#!/bin/bash# array-ops.sh: 数组更多有趣的用法.array=( zero one two three four five )# 元素 0 1 2 3 4 5echo ${array[0]} # zeroecho ${array:0} # zero# 第一个元素的参数扩展,#...2013-06-23T03:24:00Z2013-06-23T03:24:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】#!/bin/bash# array-ops.sh: 数组更多有趣的用法.array=( zero one two three four five )# 元素 0 1 2 3 4 5echo ${array[0]} # zeroecho ${array:0} # zero# 第一个元素的参数扩展,#... <a href="https://www.cnblogs.com/xkfz007/p/3150717.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/24/2785567.html剑指Offer-补充 - Mr.Rico程序员面试题精选 100 题(39)-颠倒栈 题目:用递归颠倒一个栈。例如输入栈{1, 2, 3, 4, 5},1 在栈顶。颠倒之后的栈为{5, 4, 3, 2, 1},5 处在 栈顶。 分析:乍一看到这道题目,第一反应是把栈里的所有元素逐一 pop 出来,放到一个数组里,然后在数 组里...2012-11-24T03:20:00Z2012-11-24T03:20:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】程序员面试题精选 100 题(39)-颠倒栈 题目:用递归颠倒一个栈。例如输入栈{1, 2, 3, 4, 5},1 在栈顶。颠倒之后的栈为{5, 4, 3, 2, 1},5 处在 栈顶。 分析:乍一看到这道题目,第一反应是把栈里的所有元素逐一 pop 出来,放到一个数组里,然后在数 组里... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/24/2785567.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785275.htmlCracking the Coding Interview-ch11 | System Design and Memory Limits - Mr.Rico11.1 If you were integrating a feed of end of day stock price information (open, high, low, and closing price) for 5,000 companies, how would you do ...2012-11-23T15:53:00Z2012-11-23T15:53:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】11.1 If you were integrating a feed of end of day stock price information (open, high, low, and closing price) for 5,000 companies, how would you do ... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785275.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785276.htmlCracking the Coding Interview – ch16,17,18 - Mr.RicoChapter 16 | Low Level 16.1 Explain the following terms: virtual memory, page fault, thrashing. SOLUTION Virtual memory is a computer system...2012-11-23T15:53:00Z2012-11-23T15:53:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】Chapter 16 | Low Level 16.1 Explain the following terms: virtual memory, page fault, thrashing. SOLUTION Virtual memory is a computer system... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785276.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785272.htmlCracking the Coding Interview-ch7 | Object Oriented Design - Mr.Rico7.1 Design the data structures for a generic deck of cards. Explain how you would subclass it to implement particular card games. SOLUTION Assume...2012-11-23T15:51:00Z2012-11-23T15:51:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】7.1 Design the data structures for a generic deck of cards. Explain how you would subclass it to implement particular card games. SOLUTION Assume... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785272.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785257.htmlCraking the Interview-1 - Mr.Rico1.6 90度旋转NxN矩阵Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees....2012-11-23T15:39:00Z2012-11-23T15:39:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】1.6 90度旋转NxN矩阵Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees.... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/23/2785257.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/20/2779186.html算法题集-2 - Mr.RicoK阶锦标赛算法一个赛马场有100匹马,5条赛道,至少要比赛多少场才能选出跑得最快的10匹马?步骤:1. 将100匹马分成20次比赛,每次5匹马,并保存每次比赛的结果(即第1名到第5名的顺序)2. 从胜利的20匹马分成4次比赛,每次5匹马,并保存每次比赛的结果(即第1名到第5名的顺序)3. 对最后的4...2012-11-20T08:05:00Z2012-11-20T08:05:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】K阶锦标赛算法一个赛马场有100匹马,5条赛道,至少要比赛多少场才能选出跑得最快的10匹马?步骤:1. 将100匹马分成20次比赛,每次5匹马,并保存每次比赛的结果(即第1名到第5名的顺序)2. 从胜利的20匹马分成4次比赛,每次5匹马,并保存每次比赛的结果(即第1名到第5名的顺序)3. 对最后的4... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/20/2779186.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/20/2779137.htmlC/C++知识点记录 - Mr.Rico1. strcpy 的部分理解 char* strcpy(char *dest, const char*src) { while(*dest++=*src++) return dest-1; } 这是strcpy的实现,这个实现是比较简洁的。 ...2012-11-20T07:41:00Z2012-11-20T07:41:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】1. strcpy 的部分理解 char* strcpy(char *dest, const char*src) { while(*dest++=*src++) return dest-1; } 这是strcpy的实现,这个实现是比较简洁的。 ... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/20/2779137.html" target="_blank">阅读全文</a>https://www.cnblogs.com/xkfz007/archive/2012/11/19/2778223.html雅虎笔试题 - Mr.Rico第一次笔试:1. Buddy System 怎么进行内存的分配. 解答:在Linux内核中,空闲内存管理的基本单位是页面(x86/x86-64 CPU定义的页面),即以页面为单位来管理物理内存(kmalloc等slab/slub机制,是比页面更小的细分)。 Linux内核管理的每个内存空闲块都是2的...2012-11-19T15:43:00Z2012-11-19T15:43:00ZMr.Ricohttps://www.cnblogs.com/xkfz007/【摘要】第一次笔试:1. Buddy System 怎么进行内存的分配. 解答:在Linux内核中,空闲内存管理的基本单位是页面(x86/x86-64 CPU定义的页面),即以页面为单位来管理物理内存(kmalloc等slab/slub机制,是比页面更小的细分)。 Linux内核管理的每个内存空闲块都是2的... <a href="https://www.cnblogs.com/xkfz007/archive/2012/11/19/2778223.html" target="_blank">阅读全文</a>