Home
last modified time | relevance | path

Searched refs:ptr_inputbuffer (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Ddecoder_driver_test.c364 if (buffer_dir == VDEC_BUFFER_TYPE_INPUT && decode_context->ptr_inputbuffer) { in free_buffer()
366 ptemp = decode_context->ptr_inputbuffer; in free_buffer()
381 free (decode_context->ptr_inputbuffer); in free_buffer()
382 decode_context->ptr_inputbuffer = NULL; in free_buffer()
438 if (decode_context->ptr_inputbuffer != NULL) { in allocate_buffer()
495 decode_context->ptr_inputbuffer = ptemp; in allocate_buffer()
616 data_len = read_frame ( decode_context->ptr_inputbuffer [i]->bufferaddr, in start_decoding()
617 decode_context->ptr_inputbuffer [i]->buffer_len, in start_decoding()
627 decode_context->ptr_inputbuffer [i]->bufferaddr; in start_decoding()
629 frameinfo.pmem_fd = decode_context->ptr_inputbuffer [i]->pmem_fd; in start_decoding()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Ddecoder_driver_test.c380 if (buffer_dir == VDEC_BUFFER_TYPE_INPUT && decode_context->ptr_inputbuffer) in free_buffer()
383 ptemp = decode_context->ptr_inputbuffer; in free_buffer()
399 free (decode_context->ptr_inputbuffer); in free_buffer()
400 decode_context->ptr_inputbuffer = NULL; in free_buffer()
464 if (decode_context->ptr_inputbuffer != NULL) in allocate_buffer()
533 decode_context->ptr_inputbuffer = ptemp; in allocate_buffer()
659 data_len = read_frame ( decode_context->ptr_inputbuffer [i]->bufferaddr, in start_decoding()
660 decode_context->ptr_inputbuffer [i]->buffer_len, in start_decoding()
669 decode_context->ptr_inputbuffer [i]->bufferaddr; in start_decoding()
671 frameinfo.pmem_fd = decode_context->ptr_inputbuffer [i]->pmem_fd; in start_decoding()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c434 if (buffer_dir == INPUT_BUFFER && encoder_context->ptr_inputbuffer) in free_buffer()
437 ptemp = encoder_context->ptr_inputbuffer; in free_buffer()
453 free (encoder_context->ptr_inputbuffer); in free_buffer()
454 encoder_context->ptr_inputbuffer = NULL; in free_buffer()
503 if (encoder_context->ptr_inputbuffer != NULL) in allocate_buffer()
553 encoder_context->ptr_inputbuffer = ptemp; in allocate_buffer()
678 enc_buffer.clientdata = (void *)encoder_context->ptr_inputbuffer [i]; in start_encoding()
680 enc_buffer.sz = encoder_context->ptr_inputbuffer [i]->sz; in start_encoding()
682 enc_buffer.ptrbuffer = encoder_context->ptr_inputbuffer [i]->pbuffer; in start_encoding()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Ddecoder_driver_test.h47 struct vdec_bufferpayload **ptr_inputbuffer; member
Domx_vdec.h237 struct vdec_bufferpayload *ptr_inputbuffer; member
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
Domx_vdec_hevc.h233 struct vdec_bufferpayload *ptr_inputbuffer; member
Domx_vdec.h262 struct vdec_bufferpayload *ptr_inputbuffer; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_test.h54 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp4124 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4127 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4132 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4144 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4146 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4147 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4148 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4149 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4150 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4151 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec.cpp4473 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4476 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4481 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4493 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4495 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4496 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4497 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4498 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4500 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4501 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp4028 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4030 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4033 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4036 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4038 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4039 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4040 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4041 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4042 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4043 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec.cpp4274 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4277 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4281 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4294 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4296 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4297 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4298 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4299 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4302 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4303 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec_msm8974.cpp4696 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4698 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4701 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4705 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4707 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4708 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4709 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4710 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4712 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4713 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec_hevc_swvdec.cpp4852 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4855 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4859 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4862 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4864 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4865 (unsigned int)drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4866 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4867 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4868 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4869 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]