Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ayyb1988/mediajourney
/ functions
Functions
860 in github.com/ayyb1988/mediajourney
⨍
Functions
860
◇
Types & classes
208
↓ 2 callers
Method
getRotation
(final Rotation rotation, final boolean flipHorizontal, final boolean fl
app/src/main/java/com/av/mediajourney/opengl/gpuimage/util/TextureRotationUtil.java:50
↓ 2 callers
Method
getTextureCoordinatesAttributeLocation
()
app/src/main/java/com/av/mediajourney/opengl/texture/programs/TextureShaderProgram.java:94
↓ 2 callers
Method
getTextureType
()
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:295
↓ 2 callers
Method
initCamera
(int cameraId)
app/src/main/java/com/av/mediajourney/camera/CameraActivity.java:67
↓ 2 callers
Method
initCamera
(int cameraId)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/CameraPreViewFilterActivity.java:82
↓ 2 callers
Method
isCompleted
()
videoCache/src/main/java/com/mediajourney/videocache/file/FileCache.java:121
↓ 2 callers
Method
isStopped
()
videoCache/src/main/java/com/mediajourney/videocache/ProxyCache.java:182
↓ 2 callers
Method
loadCubeMap
Loads a cubemap texture from the provided resources and returns the texture ID. Returns 0 if the load failed. @param context @param cubeResources
app/src/main/java/com/av/mediajourney/particles/skybox/util/TextureHelper.java:111
↓ 2 callers
Method
loadShader
https://upload-images.jianshu.io/upload_images/1791669-8f5d5ad196aaa27c.jpeg?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp @param type
app/src/main/java/com/av/mediajourney/opengl/ShaderHelper.java:59
↓ 2 callers
Method
loadShader
(int shaderType, String source)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/Gl2Utils.java:205
↓ 2 callers
Method
loadTexture
(final Bitmap img, final int usedTexId)
app/src/main/java/com/av/mediajourney/opengl/ShaderHelper.java:116
↓ 2 callers
Method
muxerMp4
把音轨和视频轨再合成新的视频
app/src/main/java/com/av/mediajourney/mediaMuxer/MediaMuxerActivity.java:86
↓ 2 callers
Method
notifyNewCacheDataAvailable
(long cacheAvailable, long sourceAvailable)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCache.java:110
↓ 2 callers
Method
onCacheAvailable
(File cacheFile, String url, int percentsAvailable)
videoCache/src/main/java/com/mediajourney/videocache/CacheListener.java:13
↓ 2 callers
Method
open
(long offset)
videoCache/src/main/java/com/mediajourney/videocache/HttpUrlSource.java:77
↓ 2 callers
Method
openConnection
(long offset, int timeout)
videoCache/src/main/java/com/mediajourney/videocache/HttpUrlSource.java:167
↓ 2 callers
Method
play
()
app/src/main/java/com/av/mediajourney/audiotrack/AudioTrackHelper.java:146
↓ 2 callers
Method
play
()
app/src/main/java/com/av/mediajourney/audiotrack/AudioTrackStreamActivity.java:99
↓ 2 callers
Method
read
(byte[] buffer)
videoCache/src/main/java/com/mediajourney/videocache/HttpUrlSource.java:125
↓ 2 callers
Method
readTextFileFromResource
Reads in text from a resource file and returns a String containing the text.
app/src/main/java/com/av/mediajourney/particles/skybox/util/TextResourceReader.java:24
↓ 2 callers
Method
readTextFileFromResource
Reads in text from a resource file and returns a String containing the text.
app/src/main/java/com/av/mediajourney/particles/android/util/TextResourceReader.java:24
↓ 2 callers
Method
readTextFileFromResource
Reads in text from a resource file and returns a String containing the text.
app/src/main/java/com/av/mediajourney/particles/heightmap/util/TextResourceReader.java:24
↓ 2 callers
Method
releaseCamera
()
app/src/main/java/com/av/mediajourney/camera/CameraActivity.java:290
↓ 2 callers
Method
releaseCamera
()
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/CameraPreViewFilterActivity.java:192
↓ 2 callers
Method
rotate
(Bitmap rawBitmap, float degree)
app/src/main/java/com/av/mediajourney/utils/BitmapUtils.java:15
↓ 2 callers
Method
rotate
按照角度旋转矩阵 @param m @param angle @return
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/Gl2Utils.java:133
↓ 2 callers
Method
runPendingOnDrawTasks
()
app/src/main/java/com/av/mediajourney/opengl/gpuimage/GPUImageFilter.java:135
↓ 2 callers
Method
scheduleSeekbarUpdate
()
myPlayer/src/main/java/com/mediajourney/myplayer/audio/ExoSimpleAudioPlayerActivity.java:385
↓ 2 callers
Method
setUniforms
( int textureId)
app/src/main/java/com/av/mediajourney/opengl/texture/programs/TextureShaderProgram.java:78
↓ 2 callers
Method
shutdown
()
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:186
↓ 2 callers
Method
startPreview
()
app/src/main/java/com/av/mediajourney/camera/CameraActivity.java:246
↓ 2 callers
Method
startPreview
()
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/CameraPreViewFilterActivity.java:188
↓ 2 callers
Method
switchCamera
()
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/CameraPreViewFilterActivity.java:244
↓ 2 callers
Method
translate
(Vector vector)
app/src/main/java/com/av/mediajourney/particles/skybox/util/Geometry.java:27
↓ 2 callers
Method
translate
(Vector vector)
app/src/main/java/com/av/mediajourney/particles/android/util/Geometry.java:27
↓ 2 callers
Method
translate
(Vector vector)
app/src/main/java/com/av/mediajourney/particles/heightmap/util/Geometry.java:27
↓ 2 callers
Method
uLoadShader
(int shaderType, String source)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:223
↓ 2 callers
Method
uRes
(Resources mRes, String path)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/Gl2Utils.java:163
↓ 2 callers
Method
uRes
(Resources mRes, String path)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:207
↓ 2 callers
Method
updateMergedFilters
()
app/src/main/java/com/av/mediajourney/opengl/gpuimage/GPUImageFilterGroup.java:250
↓ 2 callers
Method
updateMvpMatrix
()
app/src/main/java/com/av/mediajourney/particles/heightmap/ParticlesRenderer.java:231
↓ 2 callers
Method
updatePlaybackState
(PlaybackStateCompat state)
myPlayer/src/main/java/com/mediajourney/myplayer/audio/ExoSimpleAudioPlayerActivity.java:398
↓ 2 callers
Method
updateProgress
()
myPlayer/src/main/java/com/mediajourney/myplayer/audio/ExoSimpleAudioPlayerActivity.java:354
↓ 2 callers
Method
updateShowMediaInfo
(MediaDescriptionCompat description)
myPlayer/src/main/java/com/mediajourney/myplayer/audio/ExoSimpleAudioPlayerActivity.java:162
↓ 2 callers
Method
updateViewMatrices
()
app/src/main/java/com/av/mediajourney/particles/heightmap/ParticlesRenderer.java:100
↓ 2 callers
Method
useProgram
()
app/src/main/java/com/av/mediajourney/opengl/texture/programs/ShaderProgram.java:31
↓ 2 callers
Method
useProgram
()
app/src/main/java/com/av/mediajourney/particles/skybox/programs/ShaderProgram.java:44
↓ 1 callers
Method
Builder
(Context context)
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:394
↓ 1 callers
Method
aacToPCM
通过aacToPCM 熟悉mediaCodec的流程,以及通过同步和异步两种方式实现
app/src/main/java/com/av/mediajourney/mediacodec/AACToPCMDelegate.java:41
↓ 1 callers
Method
addExplosion
(ParticleSystem particleSystem, Geometry.Point position, float curTime)
app/src/main/java/com/av/mediajourney/particles/objects/ParticleFireworksExplosion.java:34
↓ 1 callers
Method
addExplosion
(ParticleSystem particleSystem, Geometry.Point position, int color, long startTime)
app/src/main/java/com/av/mediajourney/particles/android/objects/ParticleFireworksExplosion.java:30
↓ 1 callers
Method
addHeaders
Adds headers to server's requests for corresponding url. @param url an url headers will be added for @return a map with headers, where keys are heade
videoCache/src/main/java/com/mediajourney/videocache/headers/HeaderInjector.java:18
↓ 1 callers
Method
addParticle
(Point position, int color, Vector direction, float particleStartTime)
app/src/main/java/com/av/mediajourney/particles/skybox/objects/ParticleSystem.java:48
↓ 1 callers
Method
addParticle
(Point position, int color, Vector direction, float particleStartTime)
app/src/main/java/com/av/mediajourney/particles/heightmap/objects/ParticleSystem.java:48
↓ 1 callers
Method
addWavHeader
(FileOutputStream fileOutputStream, long audioByteLen, long wavByteLen, int sampleRateInHz, int channelConfig,
app/src/main/java/com/av/mediajourney/audiorecord/AudioRecordActivity.java:193
↓ 1 callers
Method
appendToProxyUrl
(String url)
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:209
↓ 1 callers
Method
assertBuffer
(byte[] buffer, long offset, int length)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCacheUtils.java:34
↓ 1 callers
Method
bindData
(TextureShaderProgram textureProgram)
app/src/main/java/com/av/mediajourney/opengl/texture/objects/TextureObject.java:31
↓ 1 callers
Method
bindData
(TextureShaderProgram textureProgram)
app/src/main/java/com/av/mediajourney/opengl/filter/ImageFilter/objects/BgTextureObject.java:30
↓ 1 callers
Method
bindData
(ParticleShaderProgram particleProgram)
app/src/main/java/com/av/mediajourney/particles/android/objects/ParticleSystem.java:83
↓ 1 callers
Method
buildProgram
Helper function that compiles the shaders, links and validates the program, returning the program ID.
app/src/main/java/com/av/mediajourney/particles/skybox/util/ShaderHelper.java:170
↓ 1 callers
Method
buildProgram
Helper function that compiles the shaders, links and validates the program, returning the program ID.
app/src/main/java/com/av/mediajourney/particles/android/util/ShaderHelper.java:170
↓ 1 callers
Method
buildProgram
Helper function that compiles the shaders, links and validates the program, returning the program ID.
app/src/main/java/com/av/mediajourney/particles/heightmap/util/ShaderHelper.java:170
↓ 1 callers
Method
buildTransportControls
()
myPlayer/src/main/java/com/mediajourney/myplayer/audio/ExoSimpleAudioPlayerActivity.java:431
↓ 1 callers
Method
bytesToHexString
(byte[] bytes)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCacheUtils.java:88
↓ 1 callers
Method
calculateNumElements
()
app/src/main/java/com/av/mediajourney/particles/heightmap/objects/Heightmap.java:74
↓ 1 callers
Method
checkPermission
()
app/src/main/java/com/av/mediajourney/utils/PermissionCheckerUtil.java:45
↓ 1 callers
Method
checkReadSourceErrorsCount
()
videoCache/src/main/java/com/mediajourney/videocache/ProxyCache.java:64
↓ 1 callers
Method
close
(Closeable closeable)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCacheUtils.java:66
↓ 1 callers
Method
close
()
videoCache/src/main/java/com/mediajourney/videocache/file/FileCache.java:82
↓ 1 callers
Method
closeSocket
(Socket socket)
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:335
↓ 1 callers
Method
closeSocketInput
(Socket socket)
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:307
↓ 1 callers
Method
closeSocketOutput
(Socket socket)
videoCache/src/main/java/com/mediajourney/videocache/HttpProxyCacheServer.java:323
↓ 1 callers
Method
closeSource
()
videoCache/src/main/java/com/mediajourney/videocache/ProxyCache.java:186
↓ 1 callers
Method
compareLong
(long first, long second)
videoCache/src/main/java/com/mediajourney/videocache/file/Files.java:91
↓ 1 callers
Method
compileFragmentShader
Loads and compiles a fragment shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/skybox/util/ShaderHelper.java:44
↓ 1 callers
Method
compileFragmentShader
Loads and compiles a fragment shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/android/util/ShaderHelper.java:44
↓ 1 callers
Method
compileFragmentShader
Loads and compiles a fragment shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/heightmap/util/ShaderHelper.java:44
↓ 1 callers
Method
compileVertexShader
Loads and compiles a vertex shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/skybox/util/ShaderHelper.java:37
↓ 1 callers
Method
compileVertexShader
Loads and compiles a vertex shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/android/util/ShaderHelper.java:37
↓ 1 callers
Method
compileVertexShader
Loads and compiles a vertex shader, returning the OpenGL object ID.
app/src/main/java/com/av/mediajourney/particles/heightmap/util/ShaderHelper.java:37
↓ 1 callers
Method
complete
()
videoCache/src/main/java/com/mediajourney/videocache/Cache.java:18
↓ 1 callers
Method
computeMD5
(String string)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCacheUtils.java:78
↓ 1 callers
Method
convertPcmToWav
()
app/src/main/java/com/av/mediajourney/audiorecord/AudioRecordActivity.java:153
↓ 1 callers
Method
countTotalSize
(List<File> files)
videoCache/src/main/java/com/mediajourney/videocache/file/LruDiskUsage.java:58
↓ 1 callers
Method
create
(int programId)
app/src/main/java/com/av/mediajourney/opengl/GLProgram.java:59
↓ 1 callers
Method
create
()
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:91
↓ 1 callers
Method
createAudioRecord
()
app/src/main/java/com/av/mediajourney/audiorecord/AudioRecordActivity.java:62
↓ 1 callers
Method
createGlProgram
(String vertexSource, String fragmentSource)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/Gl2Utils.java:183
↓ 1 callers
Method
createIndexData
Create an index buffer object for the vertices to wrap them together into triangles, creating indices based on the width and height of the heightmap.
app/src/main/java/com/av/mediajourney/particles/heightmap/objects/Heightmap.java:87
↓ 1 callers
Method
createProgram
(String vertex, String fragment)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:156
↓ 1 callers
Method
createProgramByAssetsFile
(String vertex, String fragment)
app/src/main/java/com/av/mediajourney/opengl/filter/camerapreview/OesFilter.java:170
↓ 1 callers
Method
crossProduct
(Vector other)
app/src/main/java/com/av/mediajourney/particles/skybox/util/Geometry.java:52
↓ 1 callers
Method
crossProduct
(Vector other)
app/src/main/java/com/av/mediajourney/particles/android/util/Geometry.java:52
↓ 1 callers
Method
crossProduct
(Vector other)
app/src/main/java/com/av/mediajourney/particles/heightmap/util/Geometry.java:52
↓ 1 callers
Method
decode
(String url)
videoCache/src/main/java/com/mediajourney/videocache/ProxyCacheUtils.java:58
↓ 1 callers
Method
decodecAacToPCMSync
成功输出到目标文件 到处生成的pcm,用ffplay播放pcm文件 发现和之前的aac是一样的 ffplay -ar 44100 -channels 2 -f s16le -i /Users/yabin/Desktop/tmp/aacToPcm.pcm
app/src/main/java/com/av/mediajourney/mediacodec/AACToPCMDelegate.java:128
↓ 1 callers
Method
destroy
()
app/src/main/java/com/av/mediajourney/opengl/gpuimage/GPUImageFilter.java:91
↓ 1 callers
Method
distanceBetween
(Point point, Ray ray)
app/src/main/java/com/av/mediajourney/particles/skybox/util/Geometry.java:144
↓ 1 callers
Method
distanceBetween
(Point point, Ray ray)
app/src/main/java/com/av/mediajourney/particles/android/util/Geometry.java:144
← previous
next →
101–200 of 860, ranked by callers