- 博客(7)
- 资源 (5)
- 收藏
- 关注
转载 Linux中线程与CPU核的绑定
转载来自:http://blog.chinaunix.net/uid-26739406-id-3181199.html最近在对项目进行性能优化,由于在多核平台上,所以了解了些进程、线程绑定cpu核的问题,在这里将所学记录一下。 不管是线程还是进程,都是通过设置亲和性(affinity)来达到目的。对于进程的情况,一般是使用sched_setaffinity这个函数来实现,网上讲的
2018-01-27 17:08:24 591
原创 ./mxc_vpu_test.out -E "-x 1 -b 2800 -o vpu.264 -f 2 -w 1920 -h 1080"
./mxc_vpu_test.out -E "-x 1 -b 2800 -o vpu.264 -f 2 -w 1920 -h 1080" x 为选择dev/video1 b为bitrate f为264类型insmod ov5640_mipi.ko input_width=1920 input_height=1080飞凌的预览命令行:./mxc_v4l2_overlay.out -iw 259...
2018-01-26 21:12:30 729
原创 FFMPEG X264 安装
sudo ./configure --prefix=/usr/local/lib/x264_3 --enable-shared --enable-static --disable-asm --cross-prefix=/home/ymrf/my-imx6/03_tools/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolch
2018-01-25 18:58:42 355
转载 使用FFMPEG从MP4封装中提取视频流到H264文件
http://www.360doc.com/content/13/0925/17/13084517_317034684.shtml命令行:ffmpeg -i 20130312_133313.mp4 -codec copy -bsf: h264_mp4toannexb -f h264 20130312_133313.264说明: -i 20130312_1
2018-01-25 09:06:24 1135 1
原创 一个关了 另一个怎么办
/* if((camera_fd = open(open_camera, O_RDWR)) == -1){//perror("open camera error");uart2_hongwaikejian=2;return -1;}else{*/
2018-01-18 08:50:33 229
原创 计算时间
struct timezone tz;struct timeval tv;gettimeofday(&tv, &tz); printf("now1: %ld %ld\n", tv.tv_sec, tv.tv_usec);write(uart_fd, send_buf, BUF_MAX);gettimeofday(&tv, &tz);printf("now2: %ld %
2018-01-16 13:43:38 191
原创 3035内核boot内容
1 setenv setargs 'setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw video=mxcfb0:dev=bt656,BT656-PAL,if=BT656,bpp=32'2 setenv bootcmd 'run setargs; mmc dev 3; mmc read ${loadad
2018-01-07 17:52:06 207
linux4.1.15内核i2c检测程序
2018-02-05
imx6q 手册 指导
2017-11-09
gsl的一些老版本库
2017-11-09
VS2010常见错误
2015-03-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人