加载中
eglMakeCurrent, eglSwapBuffers, glFlush, glFinish

I have been interested in OpenGL ES 2.0 for years and today I want to share some of my experience. eglMakeCurrent First of all, do you remember the function eglMakeCurrent, its ...

javah 找不到 Android 系统类

在使用 javah 命令的时候,发现直接使用: javah -d outputdir -jni xxx.xxx.MyClass 会出现: 错误: 找不到类 android.hardware.Camera。 因为我的 MyClass 里面引用了 android.hardware.C...

Android native 代码打印当前时间

#include <time.h> /* return current time in milliseconds */ long get_current_ms() { struct timespec res; clock_gettime(CLOCK_REALTIME, &res); return 1000 * res.tv_s...

2015/10/03 12:51
1.4K
图文详解 YUV420 数据格式

YUV 格式有两大类:planar 和 packed。 对于 planar 的 YUV 格式,先连续存储所有像素点的 Y,紧接着存储所有像素点的 U,随后是所有像素点的 V。 对于 packed 的 YUV 格式,每个像素点的 Y,...

非Root权限的Android上运行可执行文件

使用 NDK 编译可执行文件,即 Android.mk 文件应该是编译 target 应该是 BUILD_EXECUTABLE include $(BUILD_EXECUTABLE) 假设,编出的目标为 helloworld 1. 将 helloworld push 到手机的 /s...

没有更多内容

加载失败,请刷新页面

返回顶部
顶部