自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (23)
  • 收藏
  • 关注

原创 FFmepg 多线程解码历程 - 6:frame_thread_init

//ff_thread_init选择帧线程初始化,就会进入frame_thread_initstatic int frame_thread_init(AVCodecContext *avctx){    int thread_count = avctx->thread_count;    const AVCodec *codec = avctx->codec;    AVC

2013-03-30 15:25:10 5129

原创 FFmepg 多线程解码历程 - 5: ff_thread_init

//用来判断是帧还是片线程初始化int ff_thread_init(AVCodecContext *avctx){    if (avctx->thread_opaque) {        av_log(avctx, AV_LOG_ERROR, "avcodec_thread_init is ignored after avcodec_open\n");        re

2013-03-30 15:00:18 2383 1

原创 FFmepg 多线程解码历程 - 4:avcodec_open2

//在初始化codec后,接下来就是打开解码器int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options){    int ret = 0;    AVDictionary *tmp = NULL;    if (avcod

2013-03-30 14:50:28 10642

原创 FFmepg 多线程解码历程 - 3: int ff_thread_decode_frame

//帧级解码函数,在avcodec_open2的时候,就会判断片还是帧解码,分析见下一篇int ff_thread_decode_frame(AVCodecContext *avctx,                           AVFrame *picture, int *got_picture_ptr,                           AVPack

2013-03-30 14:08:45 4624

原创 FFmepg 多线程解码历程 - 2 :avcodec_decode_video2

//解码函数int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,                                              int *got_picture_ptr,

2013-03-30 13:27:28 6624

转载 ffmpeg 新老接口问题及对照集锦

网上很多关于ffmpeg (libav)的资料都是N年以前的,而事实上ffmpeg数年来一直在“以时俱进”,因此无论是一些新手,或者号称为老手的人,有时候难免出头痛。。。。。。为了解决大家的头痛的问题,特列一个贴子,把ffmpeg相关的一些常见的、版本的问题列举出来,供大家参考,同时也请大家一起补充。1) 不认识guess_format.解决:  #define guess_f

2013-03-30 11:32:22 1995

原创 FFmepg 多线程解码历程 - 1:validate_thread_parameters

/** * Set the threading algorithms used.//设置线程的使用算法 * Threading requires more than one thread.//需要一个以上的线程 * Frame threading requires entire frames to be passed to the codec,//帧线程需要整个帧被传递到编码解码器

2013-03-30 10:58:03 4984 3

转载 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编码主线程。当然也

2013-03-30 09:46:47 5849

转载 ffmpeg的内部Video Buffer管理和传送机制

本文主要介绍ffmpeg解码器内部管理Video Buffer的原理和过程,ffmpeg的Videobuffer为内部管理,其流程大致为:注册处理函数->帧级释放->帧级申请->清空。1 注册get_buffer()和release_buffer()FFAPI_InitCodec()avcodec_alloc_context()avcodec_alloc_context2()a

2013-03-30 09:45:59 2767

原创 error: 'ff_get_buffer' was not declared in this scope

问题:/home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp: In function 'void* decode_thread(void*)':/home/ffmpeg4android-code/ffmpeg-1.1.2/libavcodec/libstagefright.cpp:188: error:

2013-03-29 13:58:57 3530

原创 Out of tree builds are impossible with config.h in source dir

在编译tools下的build_libstagefright的时候,由于之前在ffmpeg下面执行过./configure,生成config.h然后再次在tool下执行build_libstagefright的时候就会出现Out of tree builds are impossible with config.h in source dir这个问题解决:删除ffmpeg 下面的con

2013-03-28 14:20:58 8325

原创 ERROR: libstagefright_h264 not found

用最新的ffmpeg在编译libstagefright_h264的时候提示ERROR: libstagefright_h264 not found./configure --enable-libstagefright_h264ERROR: libstagefright_h264 not found解决方法:1. vim configure2.找到enabled

2013-03-28 14:05:46 4574

原创 Double the virtual joystick

In front of a single virtual joystick development foundation, through the relative position to calculate another coordinate system  apk: http://download.csdn.net/download/jwzhangjie/5184479

2013-03-26 19:56:33 1489 11

原创 A single virtual joystick development

Mainly includes three parts, respectively is the calling class, touch handler class, utility class.Touch handler class: AppSingleRockerpackage com.seuic;import com.seuic.util.MathUtils;import

2013-03-26 19:14:19 2452

原创 Ubuntu 12.04 is installed arm-linux-gcc-4.4.3.tar.gz (cross compile environment)

1.Download arm-linux-gcc-4.4.3.tar.gzhttp://download.csdn.net/download/jwzhangjie/51836302.Create a directoryroot@zhangjie:mkdir /usr/local/arm3.Unzip the fileroot@zhangjie:/usr/local/ar

2013-03-26 16:13:08 6185

原创 VIM Binary file editing

Use XXD1.   open filevim -b datafile2.  Binary conversion to base sixteen:%!xxd3. Restore files:%!xxd -r

2013-03-26 16:00:23 1659

原创 ndk 8d compiled ffmpeg libstagefright

1.Download ffmpeg-0.11.2.tar.bz22.Enterffmpeg-0.11.2/tools3.Modify build_libstagefright#!/bin/bashNDK=/opt/android-ndk-r8dif [ "$NDK" = "" ]; then echo NDK variable not set, assum

2013-03-26 14:15:42 8862 22

原创 ndk 8d compiled ffmpeg problem -- 1

problem:/opt/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: libavcodec/libavcodec.a(libs

2013-03-26 13:11:31 3554

WebViewAndJs

最近项目中经常使用Html5而Android与JS调用经常会用到,这里记录一下。

2015-08-18

自定义FragmentTabHost

查看了FragmentTabHost的源码,可以知道FragmentTabHost不保存状态是因为切换fragment的时候是使用detach和attach来Fragment的隐藏和显示的,这样的话每次切换肯定要重新加载布局,处理使用detach和attach,我们还可以使用show和hide来实现显示和隐藏,这样可以保存状态,方案出来了就是修改FragmentTabHost源码将切换Fragment的方式detach和attach改为hide和show。

2014-06-27

TestNavigation

最近要实现类似Google Play Tab效果,下面搜集一些问题以及解决方案

2014-05-27

加载动画图片

加载动画的图片以及wifi图片组,总共31张图片

2014-01-15

CSipSimple

CSipSimple添加了视频通信功能,不过要开启,具体使用可以看http://blog.csdn.net/jwzhangjie/article/details/13017197

2013-10-25

关于Activity和Task的设计思路和方法.pdf

关于Activity和Task的设计思路和方法,这个是pdf的形式,里面详细介绍了Activity和task的原理已经工作原理

2013-10-15

openfire.jar

openfire.jar用来解析openfire的用户名密码,里面采用Blufish加密方式

2013-09-23

快速下载助手

快速下载助手,多线程下载文件,加快下载速度

2013-08-05

解决SurfaceView设置透明造成覆盖其他组件的替代方案

解决SurfaceView设置透明造成覆盖其他组件的替代方案,同时也实现了圆盘的功能

2013-07-25

视频播放器

JwZhangJie视频播放器,免费开源,欢迎使用

2013-07-19

Graduation

本地视频播放器,音频使用OpenSL ES播放,视频采用OpenGL ES2.0进行显示

2013-06-19

SDL1.3源码

SDL(Simple DirectMedia Layer)是一套开放源代码的跨平台多媒体开发库,使用C语言写成。SDL提供了数种控制图像、声音、输出入的函数,让开发者只要用相同或是相似的代码就可以开发出跨多个平台(Linux、Windows、Mac OS X等)的应用软件。目前SDL多用于开发游戏、模拟器、媒体播放器等多媒体应用领域。

2013-06-17

竖直的滑竿

竖直的滑竿,通过SurfaceView进行绘制的,有很好的设备适应性

2013-05-03

单虚拟摇杆图片版

android实现虚拟摇杆,使用图片替换颜色来实现。

2013-04-23

双虚拟摇杆demo

双虚拟摇杆demo,在之前的单虚拟摇杆基础上制作的

2013-03-26

单虚拟摇杆源代码

单虚拟摇杆,通过TouchEvent事件来检测触摸事件

2013-03-26

arm-linux-gcc-4.4.3.tar.gz

arm-linux-gcc-4.4.3,c交叉编译器,用来交叉编译程序

2013-03-26

2326操作系统yinpin第三章

2326操作系统yinpin第三章

2012-05-18

TCL相关资料

TCL培训教程(全).doc 78页 华为TCL培训教程(全).pdf 70页 TCL的使用.pdf 19页 系统学习TCL脚本入门教程.doc 75页 绝对详细

2012-05-18

pull解析.jar

解析Xml使用的pull-parse,少量积分就可以下载

2012-04-27

android动态设置日期时间源代码

这是android动态设置日期时间源代码,能够正常编译和运行,里面有已经编译好的apk包,直接安装就可以使用,比较粗略,两个按钮,两个TextView。

2011-08-07

空空如也

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

TA关注的人

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