/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 77 sptr<SurfaceBuffer> buffer; variable 79 cs->AcquireBuffer(buffer, flushFence, timestamp, damage); 80 cs->ReleaseBuffer(buffer, -1); 142 bool VDecNdkSample::MdCompare(unsigned char *buffer, int len, const char *source[]) in MdCompare() argument 394 void VDecNdkSample::WriteOutputFrame(uint32_t index, OH_AVMemory *buffer, OH_AVCodecBufferAttr attr, FILE *outFile) in WriteOutputFrame() argument 398 if (memcpy_s(tmpBuffer, attr.size, OH_AVMemory_GetAddr(buffer), attr.size) != EOK) { in WriteOutputFrame() 440 OH_AVMemory *buffer = signal_->outBufferQueue_.front(); in OutputFunc() local 458 WriteOutputFrame(index, buffer, attr, outFile); in OutputFunc() 507 int32_t VDecNdkSample::ReadData(uint32_t index, OH_AVMemory *buffer) in ReadData() argument 536 return SendData(bufferSize, index, buffer); in ReadData() 539 SendData(uint32_t bufferSize, uint32_t index, OH_AVMemory *buffer) SendData() argument 608 auto buffer = signal_->inBufferQueue_.front(); InputFunc_AVCC() local 638 auto buffer = signal_->inBufferQueue_.front(); InputFunc_FUZZ() local [all...] |
/foundation/multimedia/media_lite/services/player_lite/server/src/ |
H A D | player_server.cpp | 138 int GetAvailableBuffer(IdleBuffer* buffer);
190 IdleBuffer buffer;
in OnBufferAvailable() local 192 buffer.idx = index;
in OnBufferAvailable() 193 buffer.offset = offset;
in OnBufferAvailable() 194 buffer.size = size;
in OnBufferAvailable() 195 availableBuffer.push_back(buffer);
in OnBufferAvailable() 199 int ServerStreamSource::GetAvailableBuffer(IdleBuffer* buffer)
in GetAvailableBuffer() argument 206 *buffer = availableBuffer[0];
in GetAvailableBuffer() 214 IdleBuffer buffer;
in streamProcess() local 230 ret = stream->GetAvailableBuffer(&buffer);
in streamProcess() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | processor_throttling.c | 414 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_processor_get_throttling_control() local 419 status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer); in acpi_processor_get_throttling_control() 427 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control() 442 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control() 443 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control() 449 memcpy(&pr->throttling.control_register, obj.buffer.pointer, in acpi_processor_get_throttling_control() 459 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control() 460 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control() 466 memcpy(&pr->throttling.status_register, obj.buffer.pointer, in acpi_processor_get_throttling_control() 486 kfree(buffer in acpi_processor_get_throttling_control() 498 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_throttling_states() local 574 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_tsd() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
H A D | client.c | 438 * Get a free buffer from pool of free read buffers and add to read buffer 519 * @buf: message buffer 522 * If the client is correct state to send message, this function gets a buffer 833 unsigned char *buffer = NULL; in recv_ishtp_cl_msg() local 859 /* If no Rx buffer is allocated, disband the rb */ in recv_ishtp_cl_msg() 860 if (rb->buffer.size == 0 || rb->buffer.data == NULL) { in recv_ishtp_cl_msg() 863 "Rx buffer is not allocated.\n"); in recv_ishtp_cl_msg() 871 * If message buffer overflow in recv_ishtp_cl_msg() 966 unsigned char *buffer = NULL; recv_ishtp_cl_msg_dma() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 25 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp); 463 * enough buffer left a new page is allocated for the trailer. Reference to 597 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() argument 602 i = j = sprintf(buffer, "Attached FCoE transports:"); in fcoe_transport_show() 607 i += snprintf(&buffer[i], IFNAMSIZ, "%s ", ft->name); in fcoe_transport_show() 611 i += snprintf(&buffer[i], IFNAMSIZ, "none"); in fcoe_transport_show() 702 * fcoe_if_to_netdev() - Parse a name buffer to get a net device 703 * @buffer: The name of the net device 707 static struct net_device *fcoe_if_to_netdev(const char *buffer) in fcoe_if_to_netdev() argument 712 if (buffer) { in fcoe_if_to_netdev() 859 fcoe_transport_create(const char *buffer, const struct kernel_param *kp) fcoe_transport_create() argument 925 fcoe_transport_destroy(const char *buffer, const struct kernel_param *kp) fcoe_transport_destroy() argument 970 fcoe_transport_disable(const char *buffer, const struct kernel_param *kp) fcoe_transport_disable() argument 1005 fcoe_transport_enable(const char *buffer, const struct kernel_param *kp) fcoe_transport_enable() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | processor_throttling.c | 403 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_processor_get_throttling_control() local 408 status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer); in acpi_processor_get_throttling_control() 416 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control() 431 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control() 432 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control() 437 memcpy(&pr->throttling.control_register, obj.buffer.pointer, in acpi_processor_get_throttling_control() 447 || (obj.buffer.length < sizeof(struct acpi_ptc_register)) in acpi_processor_get_throttling_control() 448 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control() 454 memcpy(&pr->throttling.status_register, obj.buffer.pointer, in acpi_processor_get_throttling_control() 474 kfree(buffer in acpi_processor_get_throttling_control() 486 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_throttling_states() local 562 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; acpi_processor_get_tsd() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/ |
H A D | client.c | 438 * Get a free buffer from pool of free read buffers and add to read buffer 519 * @buf: message buffer 522 * If the client is correct state to send message, this function gets a buffer 841 unsigned char *buffer = NULL; in recv_ishtp_cl_msg() local 864 /* If no Rx buffer is allocated, disband the rb */ in recv_ishtp_cl_msg() 865 if (rb->buffer.size == 0 || rb->buffer.data == NULL) { in recv_ishtp_cl_msg() 868 "Rx buffer is not allocated.\n"); in recv_ishtp_cl_msg() 876 * If message buffer overflow in recv_ishtp_cl_msg() 971 unsigned char *buffer = NULL; recv_ishtp_cl_msg_dma() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_transport.c | 26 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp); 464 * enough buffer left a new page is allocated for the trailer. Reference to 598 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() argument 603 i = j = sprintf(buffer, "Attached FCoE transports:"); in fcoe_transport_show() 608 i += snprintf(&buffer[i], IFNAMSIZ, "%s ", ft->name); in fcoe_transport_show() 612 i += snprintf(&buffer[i], IFNAMSIZ, "none"); in fcoe_transport_show() 703 * fcoe_if_to_netdev() - Parse a name buffer to get a net device 704 * @buffer: The name of the net device 708 static struct net_device *fcoe_if_to_netdev(const char *buffer) in fcoe_if_to_netdev() argument 713 if (buffer) { in fcoe_if_to_netdev() 858 fcoe_transport_create(const char *buffer, const struct kernel_param *kp) fcoe_transport_create() argument 924 fcoe_transport_destroy(const char *buffer, const struct kernel_param *kp) fcoe_transport_destroy() argument 969 fcoe_transport_disable(const char *buffer, const struct kernel_param *kp) fcoe_transport_disable() argument 1004 fcoe_transport_enable(const char *buffer, const struct kernel_param *kp) fcoe_transport_enable() argument [all...] |
/kernel/linux/linux-6.6/sound/xen/ |
H A D | xen_snd_front_alsa.c | 29 /* This is the shared buffer with its backing storage. */ 31 u8 *buffer; member 225 stream->buffer = NULL; in stream_clear() 235 if (stream->buffer) in stream_free() 236 free_pages_exact(stream->buffer, stream->buffer_sz); in stream_free() 270 struct snd_interval *buffer = in alsa_hw_rule() local 291 req.buffer.min = buffer->min; in alsa_hw_rule() 292 req.buffer.max = buffer in alsa_hw_rule() [all...] |
/third_party/curl/lib/ |
H A D | mprintf.c | 73 #define BUFFSIZE 326 /* buffer for long-to-str and float-to-str calcs, should 171 char *buffer; member 679 /* 'workend' points to the final buffer byte position, but with an extra in formatf() 1051 *infop->buffer++ = outc; /* store */ in addbyter() 1058 int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, in curl_mvsnprintf() argument 1064 info.buffer = buffer; in curl_mvsnprintf() 1073 info.buffer[-1] = 0; in curl_mvsnprintf() 1078 info.buffer[0] = 0; in curl_mvsnprintf() 1083 int curl_msnprintf(char *buffer, size_ argument 1150 char **buffer = f; storebuffer() local 1156 curl_msprintf(char *buffer, const char *format, ...) curl_msprintf() argument 1198 curl_mvsprintf(char *buffer, const char *format, va_list ap_save) curl_mvsprintf() argument [all...] |
/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | dir.c | 210 static u_char *buffer = NULL; variable 232 if ((buffer = malloc(len = MAX(rootdir_size, cluster_size))) == NULL) { in resetDosDirSection() 233 perr("No space for directory buffer (%zu)", len); in resetDosDirSection() 238 free(buffer); in resetDosDirSection() 244 free(buffer); in resetDosDirSection() 286 free(buffer); in finishDosDirSection() 288 buffer = NULL; in finishDosDirSection() 367 startcl, start - buffer, in removede() 368 endcl, end - buffer, in removede() 371 start = buffer; in removede() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 303 StringBuilder buffer=new StringBuilder(); in Test41GetNextBytes() 304 int count=trie.getNextBytes(buffer); in Test41GetNextBytes() 305 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes() 312 buffer.setLength(0); in Test41GetNextBytes() 313 count=trie.getNextBytes(buffer); in Test41GetNextBytes() 314 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 319 buffer.setLength(0); in Test41GetNextBytes() 320 count=trie.getNextBytes(buffer); in Test41GetNextBytes() 321 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 326 buffer in Test41GetNextBytes() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 301 StringBuilder buffer=new StringBuilder(); in Test41GetNextBytes() 302 int count=trie.getNextBytes(buffer); in Test41GetNextBytes() 303 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes() 310 buffer.setLength(0); in Test41GetNextBytes() 311 count=trie.getNextBytes(buffer); in Test41GetNextBytes() 312 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 317 buffer.setLength(0); in Test41GetNextBytes() 318 count=trie.getNextBytes(buffer); in Test41GetNextBytes() 319 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 324 buffer in Test41GetNextBytes() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.c | 88 * ARB_map_buffer_alignment. I am not convinced it's needed for non-buffer in llvmpipe_texture_layout() 260 /* other data (vertex buffer, const buffer, etc) */ in llvmpipe_resource_create_all() 267 * Reserve some extra storage since if we'd render to a buffer we in llvmpipe_resource_create_all() 393 /* other data (vertex buffer, const buffer, etc) */ in llvmpipe_resource_from_memobj() 400 * Reserve some extra storage since if we'd render to a buffer we in llvmpipe_resource_from_memobj() 713 /* Check if we're mapping a current constant buffer */ in llvmpipe_transfer_map_ms() 718 if (resource == llvmpipe->constants[PIPE_SHADER_FRAGMENT][i].buffer) { in llvmpipe_transfer_map_ms() 863 * Create buffer whic 872 struct llvmpipe_resource *buffer; llvmpipe_user_buffer_create() local [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-atomics.cc | 11 #include "src/objects/js-array-buffer-inl.h" 285 static inline Object Do(Isolate* isolate, void* buffer, size_t index) { in Do() 286 T result = LoadSeqCst(static_cast<T*>(buffer) + index); in Do() 293 static inline void Do(Isolate* isolate, void* buffer, size_t index, in Do() 296 StoreSeqCst(static_cast<T*>(buffer) + index, value); in Do() 302 static inline Object Do(Isolate* isolate, void* buffer, size_t index, in Do() 305 T result = ExchangeSeqCst(static_cast<T*>(buffer) + index, value); in Do() 311 inline Object DoCompareExchange(Isolate* isolate, void* buffer, size_t index, in DoCompareExchange() argument 316 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval); in DoCompareExchange() 322 static inline Object Do(Isolate* isolate, void* buffer, size_ [all...] |
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | graphics_pipeline.cc | 427 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass() 433 static_cast<VkSampleCountFlagBits>(info->buffer->GetSamples()); in CreateRenderPass() 443 if (depth_stencil_buffer_.buffer && in CreateRenderPass() 444 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateRenderPass() 447 device_->GetVkFormat(*depth_stencil_buffer_.buffer->GetFormat()); in CreateRenderPass() 462 device_->GetVkFormat(*info->buffer->GetFormat()); in CreateRenderPass() 654 uint32_t samples = cb->buffer->GetSamples(); in CreateVkGraphicsPipeline() 699 if (depth_stencil_buffer_.buffer && in CreateVkGraphicsPipeline() 700 depth_stencil_buffer_.buffer->GetFormat()->IsFormatKnown()) { in CreateVkGraphicsPipeline() 764 Result GraphicsPipeline::SetIndexBuffer(Buffer* buffer) { in SetIndexBuffer() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fVertexAttributeBindingStateQueryTests.cpp | 345 glu::Buffer buffer (m_context.getRenderContext()); in test() 371 gl.glBindVertexBuffer(1, *buffer, 4, 32); in test() 378 gl.glBindVertexBuffer(1, *buffer, 13, 32); in test() 399 gl.glBindVertexBuffer(binding, *buffer, offset, 32); in test() 423 glu::Buffer buffer (m_context.getRenderContext()); in test() 449 gl.glBindVertexBuffer(1, *buffer, 0, 32); in test() 456 gl.glBindVertexBuffer(1, *buffer, 0, 64); in test() 477 gl.glBindVertexBuffer(binding, *buffer, 0, stride); in test() 501 glu::Buffer buffer (m_context.getRenderContext()); in test() 528 gl.glBindVertexBuffer(1, *buffer, in test() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessTests.hpp | 170 * Create two buffer objects using GenBuffers and BindBuffer functions. 173 * Bind the first buffer to transform feedback object indexed binding point 176 * Bind a first half of the second buffer to transform feedback object 179 * Bind a second half of the second buffer to transform feedback object 212 glw::GLuint buffer); 214 glw::GLuint buffer, glw::GLintptr offset, 317 * Create buffer object using GenBuffers and BindBuffer functions. 320 * Bind the buffer to transform feedback object indexed binding point 0 351 * Verify data in the buffer using MapBuffer function. 370 glw::GLuint buffer); [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/model/ |
H A D | model_test_ng.cpp | 140 std::shared_ptr<OHOS::Render3D::ShaderInputBuffer> buffer = nullptr; in HWTEST_F() local 141 buffer = std::make_shared<OHOS::Render3D::ShaderInputBuffer>(); in HWTEST_F() 142 int length = 3; // 3: buffer length in HWTEST_F() 144 ASSERT_TRUE(buffer->Alloc(length)); in HWTEST_F() 146 buffer->Update(1, i); in HWTEST_F() 148 modelViewNG.AddShaderInputBuffer(buffer); in HWTEST_F() 149 EXPECT_EQ(modelPaintProperty->GetModelShaderInputBufferValue(), buffer); in HWTEST_F() 199 std::shared_ptr<OHOS::Render3D::ShaderInputBuffer> buffer = nullptr; in HWTEST_F() local 200 buffer = std::make_shared<OHOS::Render3D::ShaderInputBuffer>(); in HWTEST_F() 201 int length = 3; // 3: buffer lengt in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | audio_capture_filter.cpp | 307 std::shared_ptr<AVBuffer> buffer; in SendEos() local 309 ret = outputBufferQueue_->RequestBuffer(buffer, avBufferConfig, TIME_OUT_MS); in SendEos() 314 buffer->flag_ |= BUFFER_FLAG_EOS; in SendEos() 315 outputBufferQueue_->PushBuffer(buffer, false); in SendEos() 331 MEDIA_LOG_E("Get audioCaptureModule buffer size fail"); in ReadLoop() 334 std::shared_ptr<AVBuffer> buffer; in ReadLoop() local 338 ret = outputBufferQueue_->RequestBuffer(buffer, avBufferConfig, TIME_OUT_MS); in ReadLoop() 343 ret = audioCaptureModule_->Read(buffer, bufferSize); in ReadLoop() 346 outputBufferQueue_->PushBuffer(buffer, false); in ReadLoop() 351 outputBufferQueue_->PushBuffer(buffer, fals in ReadLoop() [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | device_gles.h | 187 void BindBuffer(uint32_t target, uint32_t buffer); 188 void BindBufferRange(uint32_t target, uint32_t binding, uint32_t buffer, uint64_t offset, uint64_t size); 198 void BindVertexBuffer(uint32_t slot, uint32_t buffer, intptr_t offset, intptr_t stride); 200 void BindElementBuffer(uint32_t buffer); 216 void DeleteBuffer(uint32_t buffer); 297 void UnBindBuffer(uint32_t buffer); 298 void UnBindBufferFromVertexArray(uint32_t buffer); 372 uint32_t buffer { 0 }; 384 uint32_t buffer { 0 }; 394 uint32_t buffer { [all...] |
/foundation/multimedia/av_codec/test/unittest/decoder_filter_test/ |
H A D | video_decoder_adapter_unit_test.cpp | 27 #include "buffer/avbuffer_queue_consumer.h"
136 std::shared_ptr<AVBuffer> buffer;
in HWTEST_F() local 137 videoDecoder->OnInputBufferAvailable(100, buffer);
in HWTEST_F() 154 std::shared_ptr<AVBuffer> buffer;
in HWTEST_F() local 155 videoDecoderCallback->OnInputBufferAvailable(100, buffer);
in HWTEST_F() 164 std::shared_ptr<AVBuffer> buffer;
in HWTEST_F() local 165 videoDecoderCallback->OnInputBufferAvailable(100, buffer);
in HWTEST_F() 219 std::shared_ptr<AVBuffer> buffer = AVBuffer::CreateAVBuffer(data, sizeof(data), sizeof(data));
in HWTEST_F() local 220 buffer->meta_ = std::make_shared<Meta>();
in HWTEST_F() 222 videoDecoder->OnInputBufferAvailable(index, buffer);
in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/unittest/audio_vivid_test/ |
H A D | audio_decoder_avbuffer_vivid_unit_test.cpp | 214 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local 215 if (buffer == nullptr) { in InputFunc() 221 buffer->buffer_->memory_->SetSize(1); in InputFunc() 222 buffer->buffer_->flag_ = AVCODEC_BUFFER_FLAGS_EOS; in InputFunc() 224 cout << "end buffer\n"; in InputFunc() 231 inputFile_.read(reinterpret_cast<char *>(&buffer->buffer_->pts_), sizeof(buffer->buffer_->pts_)); in InputFunc() 232 if (inputFile_.gcount() != sizeof(buffer->buffer_->pts_)) { in InputFunc() 236 inputFile_.read((char *)OH_AVBuffer_GetAddr(buffer), size); in InputFunc() 238 cout << "Fatal: read buffer fai in InputFunc() [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/audio_sink/ |
H A D | audio_sink_filter.cpp | 200 ErrorCode AudioSinkFilter::PushData(const std::string& inPort, const AVBufferPtr& buffer, int64_t offset) in PushData() argument 204 MEDIA_LOG_DD("audio sink is flushing ignore this buffer"); in PushData() 221 DUMP_BUFFER2LOG("AudioSink Write", buffer, offset); in PushData() 222 FAIL_RETURN_MSG(WriteToPluginRefTimeSync(buffer), "audio sink write failed"); in PushData() 223 if ((buffer->flag & BUFFER_FLAG_EOS) != 0) { in PushData() 338 ErrorCode AudioSinkFilter::DoSyncWrite(const AVBufferPtr &buffer) in DoSyncWrite() argument 341 if ((buffer->flag & BUFFER_FLAG_EOS) == 0) { // only need to update when not eos in DoSyncWrite() 355 render = syncCenter->UpdateTimeAnchor(nowCt + latency, buffer->pts, this); in DoSyncWrite() 360 latestBufferPts_ = buffer->pts; in DoSyncWrite() 361 latestBufferDuration_ = buffer in DoSyncWrite() [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/hdrcodec/src/InnerAPI/ |
H A D | hdrcodec_inner_ndk_sample.cpp | 65 void HdrDecInnerCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable() argument 68 cout << "buffer is null 1" << endl; in OnInputBufferAvailable() 72 decInnersignal_->inBufferQueue_.push(buffer); in OnInputBufferAvailable() 77 std::shared_ptr<AVSharedMemory> buffer) in OnOutputBufferAvailable() 104 void HdrEncInnerCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable() argument 107 (void)buffer; in OnInputBufferAvailable() 111 AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) in OnOutputBufferAvailable() 199 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local 204 if (SendData(vdec_, index, buffer) == 1) in InputFunc() 370 uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in SendData() 76 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument 110 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument 369 SendData(std::shared_ptr<AVCodecVideoDecoder> codec, uint32_t index, std::shared_ptr<AVSharedMemory> buffer) SendData() argument [all...] |