Home
last modified time | relevance | path

Searched refs:sampleIdx (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.h79 virtual void appendOffsetToSample(const char* sampleIdx, Coordinates) = 0;
169 void appendOffsetToSample(const char* sampleIdx, Coordinates) override;
DGrGLSLFragmentShaderBuilder.cpp127 void GrGLSLFragmentShaderBuilder::appendOffsetToSample(const char* sampleIdx, Coordinates coords) { in appendOffsetToSample() argument
134 this->codeAppendf("%s[%s]", sample_offset_array_name(coords), sampleIdx); in appendOffsetToSample()
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc2638 for (uint32_t sampleIdx = 0; sampleIdx < nOutSamples; sampleIdx += 2) { in RenderWorkerThread() local
2639 sampleInt32 = pPlayBuffer[sampleIdx]; in RenderWorkerThread()
2640 sampleInt32 += pPlayBuffer[sampleIdx + 1]; in RenderWorkerThread()
2649 pPlayBuffer[sampleIdx] = 0; in RenderWorkerThread()
2650 pPlayBuffer[sampleIdx + 1] = static_cast<SInt16>(sampleInt32); in RenderWorkerThread()
/external/skia/src/gpu/instanced/
DInstanceProcessor.cpp1111 void interpolateAtSample(GrGLSLPPFragmentBuilder*, const GrGLSLVarying&, const char* sampleIdx,
1587 const char* sampleIdx, in interpolateAtSample() argument
1591 f->appendOffsetToSample(sampleIdx, GrGLSLFPFragmentBuilder::kSkiaDevice_Coordinates); in interpolateAtSample()
1597 f->appendOffsetToSample(sampleIdx, GrGLSLFPFragmentBuilder::kGLSLWindow_Coordinates); in interpolateAtSample()