自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 OpenHEVC多线程解码流程

Author: lb ffmpeg中的OpenHEVC支持单线程,多线程解码。支持多线程解码大大提高了解码速度。其中,OpenHEVC支持三种形式的多线程解码,分别是 Frame(帧)并行解码, Slice(片)并行解码,frameSlice(帧片)并行解码。下面重点分析Frame并行解码,Slice并行解码还没有怎么研究,读懂之后再更新Slice并行解码的相关内容。 这篇文章参考了:ffm

2016-01-29 14:03:29 2589

原创 OpenHEVC(ffmpeg)多线程解码参数配置过程

这篇文章主要讲解在Linux终端和Eclipse(IDE)下怎么配置OpenHEVC的多线程解码.注意运行系统环境均为Ubuntu.首先,我们的ffmpeg工程已经配置好,可以正确运行(参照这篇文章) ,接下来我们要配置OpenHEVC多线程解码的话,需要通过编译参数去配置. 下面先认识一下ffmpeg相关的配置参数.打开终端,如下图所示: 一: -f (1: frame, 2: slice,

2016-01-29 13:42:37 3897

原创 回调函数

这段时间在研究ffmpeg的代码,发现里面为了兼容各种格式的音视频编解码,大量采用了回调函数,使得ffmpeg的兼容性得到很好的提升.那么什么是回调函数呢,它的作用是什么,我们应该怎么用它. 作者浏览了网上的很多文章,发现下面的这一遍写的不错,故转载.原文: 著作权归作者所有。 商业转载请联系作者获得授权,非商业转载请注明出处。 作者:桥头堡 链接:http://www.zhihu.com

2016-01-25 18:21:52 817 1

转载 ffmpeg多线程解码流程

FFMPEG多线程编码器一般以在Slice内分功能模块进行多线程编码,如h263,h263P,msmpeg(v1, v2, v3),wmv1。包含以下几个线程:(1)Pre_estimation_motion_thread运动估计前的准备;(2)Estimation_motion_thread运动估计;(3)Mb_var_thread宏块其他变量;(4)Encode_thread编码主线程。当然也有

2016-01-19 11:21:21 7836

原创 [leetCode]26. Remove Duplicates from Sorted Array

Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with cons

2016-01-18 14:32:43 442

原创 [leetCode]70. Climbing Stairs

You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 题意: n步阶梯,你每次只能迈一步或者两步,共有几种方法;分析: 这个问

2016-01-14 20:32:29 338

原创 [leetcode]326. Power of Three

Given an integer, write a function to determine if it is a power of three.Follow up: Could you do it without using any loop / recursion?题意:给你一个数,判断它是否为3的幂。 程序中最好不采用任何循环和递归。思路:下面给出两种解法,第一种为常规解法,采用循环

2016-01-14 20:03:53 431

原创 [leetCode]Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, r

2016-01-13 19:31:29 352

原创 [leetCode]Happy Number

Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of i

2016-01-13 14:14:03 660

原创 [leetCode]Ugly Number

Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14 is not ugly since it in

2016-01-13 14:04:48 373

原创 [LeetCode] Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Subscribe to see which companies asked this question题意: 给两个已

2016-01-13 13:57:10 317

原创 [leetCode]Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element always

2016-01-07 21:48:10 409

原创 [leetCode]Single Number III

Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.For example:Given nums = [1,

2016-01-06 14:22:24 429

原创 OpenHEVC在Linux Eclipse 下的配置过程

从前段时间开始,由于项目需要,开始研究OpenHEVC. 于是在GitHub上面将OpenHEVC整个工程fork到我自己的账号下,并clone到了电脑上. 按照OpenHEVC的ReadMe文件上面的教程在终端界面很顺利就将OpenHEVC配置好,能够顺利解码. 接下来为了更好的调试阅读代码,打算将OpenHEVC在Eclipse里面配置,结果弄了蛮久才成功,下面将在Eclipse上的

2016-01-05 20:55:32 1225

原创 Linux下出现launch failed.Binary not found的解决方案

Project->Properties->C/C++Build->Settings->Binary Parsers勾选GNU Elf Parser和Elf Parser然后千万千万别忘了Project->Build All (Ctrl+B), 再run(Ctrl+F11)如果看到项目下面出来一项名为Binaries, Congradulations! 配置成功,可以run了!

2016-01-05 20:45:10 2824 1

空空如也

空空如也

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

TA关注的人

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