Home
last modified time | relevance | path

Searched refs:frameInfo (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/
Ddecoder-sbc.c86 context->common.frameInfo.enhanced = in FindSyncword()
104 context->common.frameInfo.enhanced = FALSE; in FindSyncword()
119 OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * in DecodeBody()
120 context->common.frameInfo.nrof_subbands; in DecodeBody()
135 context->common.frameInfo.nrof_subbands * in DecodeBody()
150 if (context->common.frameInfo.mode == SBC_JOINT_STEREO) { in DecodeBody()
156 context->bufferedBlocks = context->common.frameInfo.nrof_blocks; in DecodeBody()
162 context->common.frameInfo.nrof_subbands; in DecodeBody()
169 decode_block_count = context->common.frameInfo.nrof_blocks; in DecodeBody()
175 context->common.frameInfo.nrof_blocks - context->bufferedBlocks; in DecodeBody()
[all …]
Dframing-sbc.c45 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO* frameInfo) { in OI_CODEC_SBC_DumpConfig() argument
47 printf(" enhanced: %s\n", frameInfo->enhanced ? "true" : "false"); in OI_CODEC_SBC_DumpConfig()
48 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig()
49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
50 printf(" blocks: %d\n", frameInfo->nrof_blocks); in OI_CODEC_SBC_DumpConfig()
51 printf(" channels: %d\n", frameInfo->nrof_channels); in OI_CODEC_SBC_DumpConfig()
52 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); in OI_CODEC_SBC_DumpConfig()
53 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); in OI_CODEC_SBC_DumpConfig()
54 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
Ddecoder-private.c75 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in internal_DecoderReset()
89 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; in OI_SBC_ReadHeader()
132 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors()
136 if (common->frameInfo.nrof_subbands == 8 || in OI_SBC_ReadScalefactors()
137 common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors()
138 if (common->frameInfo.mode == SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors()
139 common->frameInfo.join = *b++; in OI_SBC_ReadScalefactors()
141 common->frameInfo.join = 0; in OI_SBC_ReadScalefactors()
155 OI_ASSERT(common->frameInfo.nrof_subbands == 4 && in OI_SBC_ReadScalefactors()
156 common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()
[all …]
Ddecoder-oina.c73 context->common.frameInfo.enhanced = enhanced; in OI_CODEC_SBC_DecoderConfigureRaw()
75 context->common.frameInfo.enhanced = FALSE; in OI_CODEC_SBC_DecoderConfigureRaw()
77 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw()
78 context->common.frameInfo.mode = mode; in OI_CODEC_SBC_DecoderConfigureRaw()
79 context->common.frameInfo.subbands = subbands; in OI_CODEC_SBC_DecoderConfigureRaw()
80 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw()
81 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw()
82 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw()
84 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in OI_CODEC_SBC_DecoderConfigureRaw()
86 if (context->common.frameInfo.nrof_channels >= context->common.pcmStride) { in OI_CODEC_SBC_DecoderConfigureRaw()
Dbitalloc-sbc.c50 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation()
65 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, in stereoBitAllocation()
101 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation()
102 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); in OI_SBC_ComputeBitAllocation()
109 balloc[common->frameInfo.mode](common); in OI_SBC_ComputeBitAllocation()
153 return sizeof(int16_t) * common->pcmStride * common->frameInfo.nrof_subbands * in OI_CODEC_SBC_CalculatePcmBytes()
154 common->frameInfo.nrof_blocks; in OI_CODEC_SBC_CalculatePcmBytes()
Dbitalloc.c134 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed()
141 if (common->frameInfo.alloc == SBC_SNR) { in computeBitneed()
156 offset = offset4[common->frameInfo.freqIndex]; in computeBitneed()
158 offset = offset8[common->frameInfo.freqIndex]; in computeBitneed()
335 const uint8_t nrof_subbands = common->frameInfo.nrof_subbands; in oneChannelBitAllocation()
343 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, in oneChannelBitAllocation()
Dsynthesis-sbc.c281 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_80()
320 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_4SB()
360 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_Enhanced()
416 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame()
417 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame()
423 } else if (context->common.frameInfo.enhanced) { in OI_SBC_SynthFrame()
Dreadsamplesjoint.inc45 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands;
61 OI_UINT bl = common->frameInfo.nrof_blocks;
66 uint8_t jmask = common->frameInfo.join << (8 - NROF_SUBBANDS);
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp70 FrameInfo frameInfo = inputFrame.getFrameInfo(); in setFrameData() local
72 mDesc.format = PixelFormatToHardwareBufferFormat(frameInfo.format); in setFrameData()
73 mDesc.height = frameInfo.height; in setFrameData()
74 mDesc.width = frameInfo.width; in setFrameData()
78 mDesc.stride = frameInfo.stride; in setFrameData()
93 if (frameInfo.width != mDesc.width || frameInfo.height != mDesc.height || in setFrameData()
94 PixelFormatToHardwareBufferFormat(frameInfo.format) != mDesc.format) { in setFrameData()
112 if (mDesc.stride * bytesPerPixel == frameInfo.stride) { in setFrameData()
115 for (int y = 0; y < frameInfo.height; y++) { in setFrameData()
117 inputFrame.getFramePtr() + y * frameInfo.stride, in setFrameData()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java187 fateReport.frameInfo = new WifiDebugPacketFateFrameInfo(); in testGetTxPktFates()
188 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFates()
189 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetTxPktFates()
190 fateReport.frameInfo.frameContent = frameContentBytes; in testGetTxPktFates()
200 assertEquals(fateReport.frameInfo.driverTimestampUsec, retrievedFate.mDriverTimestampUSec); in testGetTxPktFates()
215 fateReport.frameInfo = new WifiDebugPacketFateFrameInfo(); in testGetTxPktFatesExceedsInputArrayLength()
216 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFatesExceedsInputArrayLength()
217 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetTxPktFatesExceedsInputArrayLength()
218 fateReport.frameInfo.frameContent = frameContentBytes; in testGetTxPktFatesExceedsInputArrayLength()
234 assertEquals(fateReport.frameInfo.driverTimestampUsec, retrievedFate.mDriverTimestampUSec); in testGetTxPktFatesExceedsInputArrayLength()
[all …]
DWifiStaIfaceHidlImplTest.java714 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFates()
715 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetTxPktFates()
716 fateReport.frameInfo.frameContent.addAll( in testGetTxPktFates()
732 assertEquals(fateReport.frameInfo.driverTimestampUsec, retrievedFate.mDriverTimestampUSec); in testGetTxPktFates()
747 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFatesExceedsInputArrayLength()
748 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetTxPktFatesExceedsInputArrayLength()
749 fateReport.frameInfo.frameContent.addAll( in testGetTxPktFatesExceedsInputArrayLength()
768 assertEquals(fateReport.frameInfo.driverTimestampUsec, retrievedFate.mDriverTimestampUSec); in testGetTxPktFatesExceedsInputArrayLength()
782 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetRxPktFates()
783 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetRxPktFates()
[all …]
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/
Doi_codec_sbc.h198 OI_CODEC_SBC_FRAME_INFO frameInfo; member
510 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO* frameInfo);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLottieAnimationColorUtils.java53 frameInfo -> new PorterDuffColorFilter( in updateToArgbColors()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DLottieAnimationWrapper.java69 public ColorFilter getValue(LottieFrameInfo<ColorFilter> frameInfo) { in setLayerColor()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java314 long us = report.frameInfo.driverTimestampUsec; in getDebugRxPacketFates()
315 byte type = halToFrameworkPktFateFrameType(report.frameInfo.frameType); in getDebugRxPacketFates()
316 byte[] frame = report.frameInfo.frameContent; in getDebugRxPacketFates()
345 long us = report.frameInfo.driverTimestampUsec; in getDebugTxPacketFates()
346 byte type = halToFrameworkPktFateFrameType(report.frameInfo.frameType); in getDebugTxPacketFates()
347 byte[] frame = report.frameInfo.frameContent; in getDebugTxPacketFates()
DWifiStaIfaceHidlImpl.java492 long us = fate.frameInfo.driverTimestampUsec; in getDebugRxPacketFatesInternal()
493 byte type = halToFrameworkPktFateFrameType(fate.frameInfo.frameType); in getDebugRxPacketFatesInternal()
495 fate.frameInfo.frameContent); in getDebugRxPacketFatesInternal()
514 long us = fate.frameInfo.driverTimestampUsec; in getDebugTxPacketFatesInternal()
515 byte type = halToFrameworkPktFateFrameType(fate.frameInfo.frameType); in getDebugTxPacketFatesInternal()
517 fate.frameInfo.frameContent); in getDebugTxPacketFatesInternal()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java1012 frameInfo -> new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP) in applyLottieDynamicColor()