/third_party/ffmpeg/libavcodec/ |
D | sbcenc.c | 196 SBCEncContext *sbc = avctx->priv_data; in sbc_encode_init() local 197 struct sbc_frame *frame = &sbc->frame; in sbc_encode_init() 200 sbc->msbc = 1; in sbc_encode_init() 202 if (sbc->msbc) { in sbc_encode_init() 230 if (sbc->max_delay <= 3000 || avctx->bit_rate > 270000) in sbc_encode_init() 239 if (sbc->max_delay <= 4000 || avctx->bit_rate > 420000) in sbc_encode_init() 245 frame->blocks = av_clip(((sbc->max_delay * avctx->sample_rate + 2) in sbc_encode_init() 268 memset(&sbc->dsp.X, 0, sizeof(sbc->dsp.X)); in sbc_encode_init() 269 sbc->dsp.position = (SBC_X_BUFFER_SIZE - frame->subbands * 9) & ~7; in sbc_encode_init() 270 sbc->dsp.increment = sbc->msbc ? 1 : 4; in sbc_encode_init() [all …]
|
D | sbcdec.c | 324 SBCDecContext *sbc = avctx->priv_data; in sbc_decode_init() local 329 sbc->frame.crc_ctx = av_crc_get_table(AV_CRC_8_EBU); in sbc_decode_init() 331 memset(sbc->dsp.V, 0, sizeof(sbc->dsp.V)); in sbc_decode_init() 333 for (i = 0; i < FF_ARRAY_ELEMS(sbc->dsp.offset[0]); i++) in sbc_decode_init() 334 sbc->dsp.offset[ch][i] = (10 * i + 10); in sbc_decode_init() 342 SBCDecContext *sbc = avctx->priv_data; in sbc_decode_frame() local 346 if (!sbc) in sbc_decode_frame() 349 frame_length = sbc_unpack_frame(avpkt->data, &sbc->frame, avpkt->size); in sbc_decode_frame() 353 avctx->channels = sbc->frame.channels; in sbc_decode_frame() 355 frame->nb_samples = sbc->frame.blocks * sbc->frame.subbands; in sbc_decode_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sbc/ |
D | gstsbcenc.c | 171 enc->sbc.frequency = SBC_FREQ_16000; in gst_sbc_enc_set_format() 173 enc->sbc.frequency = SBC_FREQ_32000; in gst_sbc_enc_set_format() 175 enc->sbc.frequency = SBC_FREQ_44100; in gst_sbc_enc_set_format() 177 enc->sbc.frequency = SBC_FREQ_48000; in gst_sbc_enc_set_format() 182 enc->sbc.blocks = SBC_BLK_4; in gst_sbc_enc_set_format() 184 enc->sbc.blocks = SBC_BLK_8; in gst_sbc_enc_set_format() 186 enc->sbc.blocks = SBC_BLK_12; in gst_sbc_enc_set_format() 188 enc->sbc.blocks = SBC_BLK_16; in gst_sbc_enc_set_format() 192 enc->sbc.subbands = (enc->subbands == 4) ? SBC_SB_4 : SBC_SB_8; in gst_sbc_enc_set_format() 193 enc->sbc.bitpool = enc->bitpool; in gst_sbc_enc_set_format() [all …]
|
D | meson.build | 2 'sbc-plugin.c', 7 sbc_dep = dependency('sbc', version : '>= 1.0', required : get_option('sbc'))
|
D | gstsbcdec.c | 105 ret = sbc_decode (&dec->sbc, in_map.data + (i * dec->frame_len), in gst_sbc_dec_handle_frame() 195 sbc_init (&sbcdec->sbc, 0); in gst_sbc_dec_start() 206 sbc_finish (&sbcdec->sbc); in gst_sbc_dec_stop()
|
D | sbc-plugin.c | 40 sbc,
|
D | gstsbcdec.h | 47 sbc_t sbc; member
|
D | gstsbcenc.h | 52 sbc_t sbc; member
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | a2dp-codec-sbc.c | 43 sbc_t sbc; /* Codec data */ member 314 sbc_info->sbc.frequency = sbc_info->frequency; in set_params() 315 sbc_info->sbc.blocks = sbc_info->blocks; in set_params() 316 sbc_info->sbc.subbands = sbc_info->subbands; in set_params() 317 sbc_info->sbc.mode = sbc_info->mode; in set_params() 318 sbc_info->sbc.allocation = sbc_info->allocation; in set_params() 319 sbc_info->sbc.bitpool = sbc_info->initial_bitpool; in set_params() 320 sbc_info->sbc.endian = SBC_LE; in set_params() 322 sbc_info->codesize = sbc_get_codesize(&sbc_info->sbc); in set_params() 323 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc); in set_params() [all …]
|
D | meson.build | 2 'a2dp-codec-sbc.c',
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSyncControlTest.cpp | 200 EGLuint64KHR ust = 0, msc = 0, sbc = 0; in TEST_F() local 204 eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc); in TEST_F() 206 ASSERT_EGL_TRUE(eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc)); in TEST_F() 209 ASSERT_EQ(0ull, sbc); in TEST_F() 222 ASSERT_EGL_TRUE(eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc)); in TEST_F() 223 if (sbc > 0) in TEST_F() 228 ASSERT_EQ(1ull, sbc); in TEST_F() 245 if (sbc2 > sbc) in TEST_F()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSyncControlTest.cpp | 200 EGLuint64KHR ust = 0, msc = 0, sbc = 0; in TEST_F() local 204 eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc); in TEST_F() 206 ASSERT_EGL_TRUE(eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc)); in TEST_F() 209 ASSERT_EQ(0ull, sbc); in TEST_F() 222 ASSERT_EGL_TRUE(eglGetSyncValuesCHROMIUM(mDisplay, mSurface, &ust, &msc, &sbc)); in TEST_F() 223 if (sbc > 0) in TEST_F() 228 ASSERT_EQ(1ull, sbc); in TEST_F() 245 if (sbc2 > sbc) in TEST_F()
|
/third_party/gstreamer/gstplugins_bad/sys/bluez/ |
D | gstavdtputil.c | 251 a2dp_sbc_t *sbc = (a2dp_sbc_t *) config; in gst_avdtp_util_parse_sbc_raw() local 262 if (sbc->channel_mode & SBC_CHANNEL_MODE_MONO) { in gst_avdtp_util_parse_sbc_raw() 266 if (sbc->channel_mode & SBC_CHANNEL_MODE_STEREO) { in gst_avdtp_util_parse_sbc_raw() 270 if (sbc->channel_mode & SBC_CHANNEL_MODE_DUAL_CHANNEL) { in gst_avdtp_util_parse_sbc_raw() 274 if (sbc->channel_mode & SBC_CHANNEL_MODE_JOINT_STEREO) { in gst_avdtp_util_parse_sbc_raw() 288 if (sbc->subbands & SBC_SUBBANDS_4) { in gst_avdtp_util_parse_sbc_raw() 292 if (sbc->subbands & SBC_SUBBANDS_8) { in gst_avdtp_util_parse_sbc_raw() 306 if (sbc->block_length & SBC_BLOCK_LENGTH_16) { in gst_avdtp_util_parse_sbc_raw() 310 if (sbc->block_length & SBC_BLOCK_LENGTH_12) { in gst_avdtp_util_parse_sbc_raw() 314 if (sbc->block_length & SBC_BLOCK_LENGTH_8) { in gst_avdtp_util_parse_sbc_raw() [all …]
|
/third_party/mesa3d/src/glx/apple/ |
D | glx_empty.c | 57 int64_t * ust, int64_t * msc, int64_t * sbc) in glXGetSyncValuesOML() argument 63 (void) sbc; in glXGetSyncValuesOML() 84 int64_t * msc, int64_t * sbc) in glXWaitForMscOML() argument 93 (void) sbc; in glXWaitForMscOML() 101 int64_t * msc, int64_t * sbc) in glXWaitForSbcOML() argument 108 (void) sbc; in glXWaitForSbcOML()
|
/third_party/mesa3d/include/EGL/ |
D | eglextchromium.h | 48 EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc); 52 EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc);
|
/third_party/mesa3d/src/glx/ |
D | dri2.c | 135 if (awire->sbc < glxDraw->lastEventSbc) in DRI2WireToEvent() 137 glxDraw->lastEventSbc = awire->sbc; in DRI2WireToEvent() 138 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in DRI2WireToEvent() 140 aevent->sbc = awire->sbc; in DRI2WireToEvent()
|
D | g_glxglvnddispatchfuncs.c | 712 int64_t *ust, int64_t *msc, int64_t *sbc) in dispatch_GetSyncValuesOML() argument 725 return pGetSyncValuesOML(dpy, drawable, ust, msc, sbc); in dispatch_GetSyncValuesOML() 930 int64_t *msc, int64_t *sbc) in dispatch_WaitForMscOML() argument 943 return pWaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, sbc); in dispatch_WaitForMscOML() 950 int64_t *msc, int64_t *sbc) in dispatch_WaitForSbcOML() argument 963 return pWaitForSbcOML(dpy, drawable, target_sbc, ust, msc, sbc); in dispatch_WaitForSbcOML()
|
/third_party/mesa3d/src/loader/ |
D | loader_dri3_helper.h | 217 int64_t *ust, int64_t *msc, int64_t *sbc); 229 int64_t *msc, int64_t *sbc);
|
/third_party/ffmpeg/libavformat/ |
D | sbcdec.c | 25 FF_RAW_DEMUXER_CLASS(sbc)
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | SurfaceGL.h | 25 egl::Error getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) override;
|
D | SurfaceGL.cpp | 31 egl::Error SurfaceGL::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) in getSyncValues() argument
|
/third_party/flutter/skia/third_party/externals/angle2/include/EGL/ |
D | eglext_angle.h | 195 EGLuint64KHR *sbc); 201 EGLuint64KHR *sbc);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | SurfaceGL.h | 25 egl::Error getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) override;
|
D | SurfaceGL.cpp | 31 egl::Error SurfaceGL::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) in getSyncValues() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | WindowSurfaceGLX.cpp | 294 egl::Error WindowSurfaceGLX::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) in getSyncValues() argument 297 reinterpret_cast<int64_t *>(msc), reinterpret_cast<int64_t *>(sbc))) in getSyncValues()
|