Home
last modified time | relevance | path

Searched refs:pIn (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DAudioFormatAdapter.h74 void process(const void * pIn, void * pOut, uint32_t numSamples) { in process() argument
82 reinterpret_cast<const audio_sample_t *> (pIn), in process()
87 reinterpret_cast<const audio_sample_t *> (pIn), in process()
93 pIn = reinterpret_cast<const audio_sample_t *> (pIn) in process()
98 ConvertInput(pIn, nSamplesChannels); in process()
128 void ConvertInput(const void *& pIn, uint32_t numSamples) { in ConvertInput() argument
130 const int16_t * pIn16 = reinterpret_cast<const int16_t *>(pIn); in ConvertInput()
135 pIn = pIn16; in ConvertInput()
148 const audio_sample_t * pIn = mBuffer; in ConvertOutput() local
152 *(pOut16++) = audio_sample_t_to_s15_clip(*(pIn++)); in ConvertOutput()
[all …]
DAudioEqualizer.cpp225 void AudioEqualizer::process(const audio_sample_t * pIn, in process() argument
229 mpLowShelf->process(pIn, pOut, frameCount); in process()
231 mpPeakingFilters[i].process(pIn, pOut, frameCount); in process()
233 mpHighShelf->process(pIn, pOut, frameCount); in process()
DAudioEqualizer.h185 void process(const audio_sample_t * pIn, audio_sample_t * pOut,
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp200 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { in etc1_decode_block() argument
201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block()
202 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc1_decode_block()
247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock() argument
263 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
280 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
299 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
303 int pixelR = pIn[0]; in chooseModifier()
304 int pixelG = pIn[1]; in chooseModifier()
305 int pixelB = pIn[2]; in chooseModifier()
[all …]
/frameworks/native/opengl/include/ETC1/
Detc1.h44 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 validPixelMask, etc1_byte* pOut);
54 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut);
67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
78 int etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DDecTestBench.c594 u8 *pOut, *pIn; in CropPicture() local
620 pIn = pInImage + pCropParams->cropTopOffset*picWidth + in CropPicture()
629 *pOut++ = *pIn++; in CropPicture()
631 pIn += picWidth - outWidth; in CropPicture()
638 pIn = pInImage + picWidth*picHeight + in CropPicture()
646 *pOut++ = *pIn++; in CropPicture()
648 pIn += picWidth/2 - outWidth; in CropPicture()
652 pIn = pInImage + 5*picWidth*picHeight/4 + in CropPicture()
660 *pOut++ = *pIn++; in CropPicture()
662 pIn += picWidth/2 - outWidth; in CropPicture()
DTestBenchMultipleInstance.c462 u8 *pOut, *pIn; in CropPicture() local
485 pIn = pInImage + pCropParams->cropTopOffset*picWidth + in CropPicture()
494 *pOut++ = *pIn++; in CropPicture()
496 pIn += picWidth - outWidth; in CropPicture()
502 pIn = pInImage + picWidth*picHeight + in CropPicture()
510 *pOut++ = *pIn++; in CropPicture()
512 pIn += picWidth/2 - outWidth; in CropPicture()
515 pIn = pInImage + 5*picWidth*picHeight/4 + in CropPicture()
523 *pOut++ = *pIn++; in CropPicture()
525 pIn += picWidth/2 - outWidth; in CropPicture()
/frameworks/av/libvideoeditor/vss/src/
DM4AIR_API.c434 M4OSA_ERR M4AIR_get(M4OSA_Context pContext, M4VIFI_ImagePlane* pIn, M4VIFI_ImagePlane* pOut) in M4AIR_get() argument
476 pu8_data_in = pIn[i].pac_data + pIn[i].u_topleft \ in M4AIR_get()
478 + (pC->m_params.m_inputCoord.m_y >> u32_shift) * pIn[i].u_stride; in M4AIR_get()
488 * pIn[i].u_stride; in M4AIR_get()
512 i32_tmp_offset = pIn[i].u_stride; in M4AIR_get()
516 i32_tmp_offset = -pIn[i].u_stride; in M4AIR_get()
540 pu8_data_in += pIn[i].u_stride; in M4AIR_get()
544 pu8_data_in -= pIn[i].u_stride; in M4AIR_get()
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c185 LVM_INT32 *pIn; in ReverbBlock() local
219 pIn = pInput; in ReverbBlock()
231 pIn = pTemp; in ReverbBlock()
234 Mult3s_32x16(pIn, in ReverbBlock()
/frameworks/av/libvideoeditor/vss/common/inc/
DM4AIR_API.h180 M4OSA_ERR M4AIR_get(M4OSA_Context pContext, M4VIFI_ImagePlane* pIn, M4VIFI_ImagePlane* pOut);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp411 int process( LVM_INT16 *pIn, in process() argument
438 fwrite(pIn, frameCount*sizeof(LVM_INT16)*samplesPerFrame, 1, pContext->PcmInPtr); in process()
451 pContext->InFrames32[i] = (LVM_INT32)pIn[i]<<8; in process()
456 pContext->InFrames32[2*i] = (pIn[2*i] * REVERB_SEND_LEVEL) >> 4; // <<8 + >>12 in process()
457 pContext->InFrames32[2*i+1] = (pIn[2*i+1] * REVERB_SEND_LEVEL) >> 4; // <<8 + >>12 in process()
486 OutFrames16[i] = clamp16((pContext->OutFrames32[i]>>8) + (LVM_INT32)pIn[i]); in process()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorTools.cpp2316 M4OSA_ERR M4AIR_get(M4OSA_Context pContext, M4VIFI_ImagePlane* pIn, M4VIFI_ImagePlane* pOut) in M4AIR_get() argument
2357 … pu8_data_in = pIn[i].pac_data + pIn[i].u_topleft + (pC->m_params.m_inputCoord.m_x>>u32_shift) in M4AIR_get()
2358 + (pC->m_params.m_inputCoord.m_y >> u32_shift) * pIn[i].u_stride; in M4AIR_get()
2367 … pu8_data_in += ((pC->m_params.m_inputSize.m_height>>u32_shift) -1) * pIn[i].u_stride; in M4AIR_get()
2390 i32_tmp_offset = pIn[i].u_stride; in M4AIR_get()
2394 i32_tmp_offset = -pIn[i].u_stride; in M4AIR_get()
2408 M4OSA_UInt32 loc_stride = pIn[i].u_stride; in M4AIR_get()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp708 int LvmBundle_process(LVM_INT16 *pIn, in LvmBundle_process() argument
735 fwrite(pIn, frameCount*sizeof(LVM_INT16)*2, 1, pContext->pBundledContext->PcmInPtr); in LvmBundle_process()
743 pIn, /* Input buffer */ in LvmBundle_process()