Home
last modified time | relevance | path

Searched refs:nativeContext (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/
DFfmpegAudioDecoder.java49 private long nativeContext; // May be reassigned on resetting the codec. field in FfmpegAudioDecoder
70 nativeContext = in FfmpegAudioDecoder()
72 if (nativeContext == 0) { in FfmpegAudioDecoder()
102 nativeContext = ffmpegReset(nativeContext, extraData); in decode()
103 if (nativeContext == 0) { in decode()
110 int result = ffmpegDecode(nativeContext, inputData, inputSize, outputData, outputBufferSize); in decode()
121 channelCount = ffmpegGetChannelCount(nativeContext); in decode()
122 sampleRate = ffmpegGetSampleRate(nativeContext); in decode()
141 ffmpegRelease(nativeContext); in release()
142 nativeContext = 0; in release()
/external/angle/src/libANGLE/renderer/cl/
DCLPlatformCL.cpp397 cl_context nativeContext = mNative->getDispatch().clCreateContext( in createContext() local
400 return CLContextImpl::Ptr(nativeContext != nullptr ? new CLContextCL(context, nativeContext) in createContext()
413 cl_context nativeContext = mNative->getDispatch().clCreateContextFromType( in createContextFromType() local
415 return CLContextImpl::Ptr(nativeContext != nullptr ? new CLContextCL(context, nativeContext) in createContextFromType()