| /test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
| H A D | audioEncoderAvBuffer.cpp | 117 static void OnNeedInputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnNeedInputBuffer() argument 123 signal->inBufferQueue_.push(buffer); in OnNeedInputBuffer() 126 static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnNewOutputBuffer() argument 132 signal->outBufferQueue_.push(buffer); in OnNewOutputBuffer()
|
| /third_party/ffmpeg/libavcodec/ |
| H A D | dxva2_h264.c | 318 /* Create an annex B bitstream buffer with only slice NAL and finalize slice */ in commit_bitstream_and_slice_buffer() 444 av_unused const uint8_t *buffer, in dxva2_h264_start_frame() 468 const uint8_t *buffer, in dxva2_h264_decode_slice() 482 ctx_pic->bitstream = buffer; in dxva2_h264_decode_slice() 485 position = buffer - ctx_pic->bitstream; in dxva2_h264_decode_slice() 443 dxva2_h264_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) dxva2_h264_start_frame() argument 467 dxva2_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) dxva2_h264_decode_slice() argument
|
| H A D | vaapi_decode.c | 40 VABufferID buffer; in ff_vaapi_decode_make_param_buffer() local 45 type, size, 1, (void*)data, &buffer); in ff_vaapi_decode_make_param_buffer() 48 "buffer (type %d): %d (%s).\n", in ff_vaapi_decode_make_param_buffer() 53 pic->param_buffers[pic->nb_param_buffers++] = buffer; in ff_vaapi_decode_make_param_buffer() 55 av_log(avctx, AV_LOG_DEBUG, "Param buffer (type %d, %zu bytes) " in ff_vaapi_decode_make_param_buffer() 56 "is %#x.\n", type, size, buffer); in ff_vaapi_decode_make_param_buffer() 96 "parameter buffer: %d (%s).\n", vas, vaErrorStr(vas)); in ff_vaapi_decode_make_slice_buffer() 100 av_log(avctx, AV_LOG_DEBUG, "Slice %d param buffer (%zu bytes) " in ff_vaapi_decode_make_slice_buffer() 110 "data buffer (size %zu): %d (%s).\n", in ff_vaapi_decode_make_slice_buffer() 117 av_log(avctx, AV_LOG_DEBUG, "Slice %d data buffer ( in ff_vaapi_decode_make_slice_buffer() [all...] |
| H A D | vdpau_hevc.c | 35 const uint8_t *buffer, uint32_t size) in vdpau_hevc_start_frame() 397 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_hevc_start_frame() 403 const uint8_t *buffer, uint32_t size) in vdpau_hevc_decode_slice() 413 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_hevc_decode_slice() 34 vdpau_hevc_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_hevc_start_frame() argument 402 vdpau_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vdpau_hevc_decode_slice() argument
|
| /third_party/ffmpeg/libavdevice/ |
| H A D | decklink_enc.cpp | 80 virtual HRESULT STDMETHODCALLTYPE GetBytes (void **buffer) in GetBytes() argument 84 *buffer = (void *)(_avframe->data[0] + _avframe->linesize[0] * (_avframe->height - 1)); in GetBytes() 86 *buffer = (void *)(_avframe->data[0]); in GetBytes() 88 *buffer = (void *)(_avpacket->data); in GetBytes() 225 av_log(avctx, AV_LOG_DEBUG, "output: %s, preroll: %d, frames buffer size: %d\n", in decklink_setup_video()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | vaapi_vpp.c | 570 VABufferID buffer; in ff_vaapi_vpp_make_param_buffers() local 576 type, size, count, (void*)data, &buffer); in ff_vaapi_vpp_make_param_buffers() 579 "buffer (type %d): %d (%s).\n", in ff_vaapi_vpp_make_param_buffers() 584 ctx->filter_buffers[ctx->nb_filter_buffers++] = buffer; in ff_vaapi_vpp_make_param_buffers() 586 av_log(avctx, AV_LOG_DEBUG, "Param buffer (type %d, %zu bytes, count %d) " in ff_vaapi_vpp_make_param_buffers() 587 "is %#x.\n", type, size, count, buffer); in ff_vaapi_vpp_make_param_buffers() 617 av_log(avctx, AV_LOG_ERROR, "Failed to create parameter buffer: " in ff_vaapi_vpp_render_picture() 622 av_log(avctx, AV_LOG_DEBUG, "Pipeline parameter buffer is %#x.\n", in ff_vaapi_vpp_render_picture() 628 av_log(avctx, AV_LOG_ERROR, "Failed to render parameter buffer: " in ff_vaapi_vpp_render_picture() 646 av_log(avctx, AV_LOG_ERROR, "Failed to free parameter buffer in ff_vaapi_vpp_render_picture() [all...] |
| /third_party/ffmpeg/libavformat/ |
| H A D | tls_schannel.c | 71 static void init_sec_buffer(SecBuffer *buffer, unsigned long type, in init_sec_buffer() argument 74 buffer->cbBuffer = size; in init_sec_buffer() 75 buffer->BufferType = type; in init_sec_buffer() 76 buffer->pvBuffer = data; in init_sec_buffer() 198 av_log(h, AV_LOG_ERROR, "Failed to allocate input buffer\n"); in tls_client_handshake_loop() 432 /* input buffer */ in tls_read() 446 /* grow buffer if needed */ in tls_read() 460 /* copy decrypted data to buffer */ in tls_read() 478 av_log(h, AV_LOG_ERROR, "Cannot renegotiate, encrypted data buffer not empty\n"); in tls_read()
|
| /third_party/alsa-lib/src/pcm/ |
| H A D | pcm_plugin.c | 350 snd_pcm_plugin_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) in snd_pcm_plugin_writei() argument 353 snd_pcm_areas_from_buf(pcm, areas, (void*)buffer); in snd_pcm_plugin_writei() 368 snd_pcm_plugin_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size) in snd_pcm_plugin_readi() argument 371 snd_pcm_areas_from_buf(pcm, areas, buffer); in snd_pcm_plugin_readi() 484 * But this is needed, if the ring buffer wrap is reached and in snd_pcm_plugin_sync_hw_ptr_capture()
|
| H A D | pcm_mmap.c | 134 * \brief Write interleaved frames to a PCM using direct buffer (mmap) 136 * \param buffer frames containing buffer 145 * all requested bytes are played or put to the playback ring buffer. 150 snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size) in snd_pcm_mmap_writei() argument 153 snd_pcm_areas_from_buf(pcm, areas, (void*)buffer); in snd_pcm_mmap_writei() 159 * \brief Write non interleaved frames to a PCM using direct buffer (mmap) 170 * all requested bytes are played or put to the playback ring buffer. 184 * \brief Read interleaved frames from a PCM using direct buffer (mmap) 186 * \param buffer frame 200 snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size) snd_pcm_mmap_readi() argument [all...] |
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | usettest.c | 544 uint16_t buffer[1000]; in TestSerialized() local 562 length=uset_serialize(set, buffer, UPRV_LENGTHOF(buffer), &errorCode); in TestSerialized() 569 uset_getSerializedSet(&sset, buffer, length); in TestSerialized()
|
| /third_party/icu/icu4c/source/common/ |
| H A D | ucnvsel.cpp | 284 void* buffer, int32_t bufferCapacity, UErrorCode* status) { in ucnvsel_serialize() 290 uint8_t *p = (uint8_t *)buffer; in ucnvsel_serialize() 466 ucnvsel_openFromSerialized(const void* buffer, int32_t length, UErrorCode* status) { in ucnvsel_openFromSerialized() argument 472 const uint8_t *p = (const uint8_t *)buffer; in ucnvsel_openFromSerialized() 283 ucnvsel_serialize(const UConverterSelector* sel, void* buffer, int32_t bufferCapacity, UErrorCode* status) ucnvsel_serialize() argument
|
| /third_party/icu/icu4c/source/i18n/ |
| H A D | fmtable.cpp | 846 UnicodeString buffer; in streamOut() local 854 defDateFormat->format(obj.getDate(), buffer); in streamOut() 855 stream << buffer; in streamOut() local 868 stream << '"' << obj.getString(buffer) << '"'; in streamOut()
|
| /third_party/libsnd/src/ |
| H A D | mpeg_decode.c | 43 static ssize_t mpeg_dec_io_read (void *priv, void *buffer, size_t nbytes) ; 47 mpeg_dec_io_read (void *priv, void *buffer, size_t nbytes) in mpeg_dec_io_read() argument 54 psf_binheader_readf (psf, "b", buffer, nbytes) ; in mpeg_dec_io_read() 59 return psf_fread (buffer, 1, nbytes, psf) ; in mpeg_dec_io_read() 555 ** buffer first. in mpeg_decoder_init()
|
| /third_party/libuv/src/unix/ |
| H A D | sunos.c | 379 * We could use a static buffer for the path manipulations that we need outside 383 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 387 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 394 res = readlink(buf, buffer, res); in uv_exepath() 399 buffer[res] = '\0'; in uv_exepath()
|
| /third_party/libsnd/src/ALAC/ |
| H A D | alac_decoder.c | 54 static void Zero32 (int32_t * buffer, uint32_t numItems, uint32_t stride) ; 133 - the decoded samples are interleaved into the output buffer in the order they arrive in 179 // bail if we ran off the end of the buffer in alac_decode() 241 // if shift active, skip the shift buffer but remember where it starts in alac_decode() 268 // uncompressed frame, copy data into the mix buffer to use common output code in alac_decode() 296 // now read the shifted values into the shift buffer in alac_decode() 306 // convert 32-bit integers into output buffer in alac_decode() 483 // now read the shifted values into the shift buffer in alac_decode() 641 static void Zero32 (int32_t * buffer, uint32_t numItems, uint32_t stride) in Zero32() argument 645 memset (buffer, in Zero32() [all...] |
| /third_party/lzma/CPP/7zip/Archive/7z/ |
| H A D | 7zEncode.cpp | 229 CByteBuffer_Wipe buffer(sizeInBytes);
in CreateMixerCoder() 233 ((Byte *)buffer)[i * 2] = (Byte)c;
in CreateMixerCoder() 234 ((Byte *)buffer)[i * 2 + 1] = (Byte)(c >> 8);
in CreateMixerCoder() 236 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, (UInt32)sizeInBytes))
in CreateMixerCoder()
|
| /third_party/mesa3d/src/egl/main/ |
| H A D | eglsurface.c | 213 /* Unlike normal EGLSurfaces, one with a mutable render buffer in _eglParseSurfaceAttribList() 214 * uses the application-chosen render buffer. in _eglParseSurfaceAttribList() 497 * Querying EGL_RENDER_BUFFER returns the buffer which client API in _eglQuerySurface() 509 * buffer being rendered to by a context, call eglQueryContext. in _eglQuerySurface() 756 _eglBindTexImage(_EGLDisplay *disp, _EGLSurface *surface, EGLint buffer) in _eglBindTexImage() argument 776 if (buffer != EGL_BACK_BUFFER) in _eglBindTexImage() 785 _eglReleaseTexImage(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer) in _eglReleaseTexImage() argument 805 if (buffer != EGL_BACK_BUFFER) in _eglReleaseTexImage()
|
| /third_party/node/test/fixtures/wpt/html/webappapis/structured-clone/ |
| H A D | structured-clone-battery-of-tests.js | 315 const buffer = new ArrayBuffer(arr.length); 316 const view = new DataView(buffer); 389 assert_not_equals(actual.buffer, input.buffer, 'buffer');
|
| /third_party/node/deps/icu-small/source/common/ |
| H A D | ucnvsel.cpp | 284 void* buffer, int32_t bufferCapacity, UErrorCode* status) { in ucnvsel_serialize() 290 uint8_t *p = (uint8_t *)buffer; in ucnvsel_serialize() 466 ucnvsel_openFromSerialized(const void* buffer, int32_t length, UErrorCode* status) { in ucnvsel_openFromSerialized() argument 472 const uint8_t *p = (const uint8_t *)buffer; in ucnvsel_openFromSerialized() 283 ucnvsel_serialize(const UConverterSelector* sel, void* buffer, int32_t bufferCapacity, UErrorCode* status) ucnvsel_serialize() argument
|
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | fmtable.cpp | 846 UnicodeString buffer; in streamOut() local 854 defDateFormat->format(obj.getDate(), buffer); in streamOut() 855 stream << buffer; in streamOut() local 868 stream << '"' << obj.getString(buffer) << '"'; in streamOut()
|
| /third_party/node/deps/v8/src/objects/ |
| H A D | string-table.cc | 642 std::unique_ptr<Char[]> buffer; in TryStringToIndexOrLookupExisting() local 648 buffer.reset(new Char[length]); in TryStringToIndexOrLookupExisting() 649 String::WriteToFlat(source, buffer.get(), 0, length, isolate, access_guard); in TryStringToIndexOrLookupExisting() 650 chars = buffer.get(); in TryStringToIndexOrLookupExisting()
|
| /third_party/node/deps/v8/src/runtime/ |
| H A D | runtime-test-wasm.cc | 344 // Take an array buffer and attempt to reconstruct a compiled wasm module. 349 Handle<JSArrayBuffer> buffer = args.at<JSArrayBuffer>(0); in RUNTIME_FUNCTION() local 351 CHECK(!buffer->was_detached()); in RUNTIME_FUNCTION() 360 reinterpret_cast<uint8_t*>(buffer->backing_store()), in RUNTIME_FUNCTION() 361 buffer->byte_length()}; in RUNTIME_FUNCTION()
|
| /third_party/mesa3d/src/gallium/auxiliary/vl/ |
| H A D | vl_bicubic_filter.c | 301 if(!filter->quad.buffer.resource) in vl_bicubic_filter_init() 355 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_bicubic_filter_init() 379 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_bicubic_filter_cleanup() 434 &cb.buffer_offset, &cb.buffer, (void**)&ptr); in vl_bicubic_filter_render()
|
| /third_party/mesa3d/src/glx/ |
| H A D | single2.c | 333 ** Error occurred; don't modify user's buffer. in __indirect_glGetBooleanv() 384 ** Error occurred; don't modify user's buffer. in __indirect_glGetDoublev() 435 ** Error occurred; don't modify user's buffer. in __indirect_glGetFloatv() 486 ** Error occurred; don't modify user's buffer. in __indirect_glGetIntegerv() 540 __indirect_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) in __indirect_glFeedbackBuffer() argument 553 gc->feedbackBuf = buffer; in __indirect_glFeedbackBuffer() 557 __indirect_glSelectBuffer(GLsizei numnames, GLuint * buffer) in __indirect_glSelectBuffer() argument 569 gc->selectBuf = buffer; in __indirect_glSelectBuffer() 839 * how we handle writing into the 'residences' buffer when n%4!=0. 870 * how we handle writing into the 'residences' buffer whe [all...] |
| /third_party/node/deps/uv/src/unix/ |
| H A D | sunos.c | 377 * We could use a static buffer for the path manipulations that we need outside 381 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 385 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 392 res = readlink(buf, buffer, res); in uv_exepath() 397 buffer[res] = '\0'; in uv_exepath()
|