Home
last modified time | relevance | path

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

12

/hardware/qcom/media/msm8974/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/msm8974/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/msm8974/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/msm8996/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_test.h54 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Ddecoder_driver_test.h47 struct vdec_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp4336 drv_ctx.ptr_inputbuffer = (struct vdpp_bufferpayload *) \ in use_input_buffers()
4339 if (drv_ctx.ptr_inputbuffer == NULL) in use_input_buffers()
4362 drv_ctx.ptr_inputbuffer [i].bufferaddr = buff; in use_input_buffers()
4363 drv_ctx.ptr_inputbuffer [i].pmem_fd = handle->fd; in use_input_buffers()
4364 drv_ctx.ptr_inputbuffer [i].buffer_len = drv_ctx.ip_buf.buffer_size; in use_input_buffers()
4365 drv_ctx.ptr_inputbuffer [i].mmaped_size = handle->size - drv_ctx.ip_buf.frame_size; in use_input_buffers()
4366 drv_ctx.ptr_inputbuffer [i].offset = 0; in use_input_buffers()
4378 …input->pInputPortPrivate = (void *)&drv_ctx.ptr_inputbuffer [i]; // used in empty_this_buffer_proxy in use_input_buffers()
4498 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4500 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
[all …]
/hardware/qcom/media/msm8974/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.cpp4479 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4482 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4487 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4499 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4501 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4502 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4503 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4504 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4506 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4507 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp4005 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4007 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4010 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4013 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4015 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4016 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4017 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4018 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4019 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4020 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec_hevc_swvdec.cpp5049 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
5052 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
5056 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
5059 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5061 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
5062 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
5063 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
5064 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
5065 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5066 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec_v4l2.cpp6000 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
6002 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6005 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
6009 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6011 (unsigned int)drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
6012 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
6013 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
6014 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
6015 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6021 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp4026 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
4028 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4031 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4034 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4036 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4037 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4038 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4039 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4040 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4041 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.cpp5154 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
5156 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
5159 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
5163 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5165 (unsigned int)drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
5166 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
5167 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
5168 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
5169 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5175 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 …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6511 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
6513 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6516 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
6520 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6522 (unsigned int)drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
6523 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
6524 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
6525 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
6534 close(drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6536 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6314 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
6315 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6317 ion_unmap(drv_ctx.ptr_inputbuffer[index].pmem_fd, in free_input_buffer()
6318 drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
6319 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
6329 close(drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6332 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6344 DEBUG_PRINT_ERROR("Invalid input buffer fd %d", drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6348 index, drv_ctx.ptr_inputbuffer); in free_input_buffer()
6580 drv_ctx.ptr_inputbuffer = (struct vdec_bufferpayload *) \ in allocate_input_buffer()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp6037 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
6038 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6040 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
6041 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
6050 close(drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6052 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6064 DEBUG_PRINT_ERROR("Invalid input buffer fd %d", drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
6068 index, drv_ctx.ptr_inputbuffer); in free_input_buffer()
6207 drv_ctx.ptr_inputbuffer = (struct vdec_bufferpayload *) \ in allocate_input_buffer()
6210 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
[all …]
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h362 struct vdpp_bufferpayload *ptr_inputbuffer; member

12