Home
last modified time | relevance | path

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

/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/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_test.h54 struct venc_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/vdec/inc/
Ddecoder_driver_test.h47 struct vdec_bufferpayload **ptr_inputbuffer; member
Domx_vdec.h237 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/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
Domx_vdec_hevc.h234 struct vdec_bufferpayload *ptr_inputbuffer; member
Domx_vdec_hevc_swvdec.h258 struct vdec_bufferpayload *ptr_inputbuffer; member
Domx_vdec.h264 struct vdec_bufferpayload *ptr_inputbuffer; member
/hardware/qcom/media/msm8974/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.h269 struct vdec_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/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.cpp5092 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) { in free_input_buffer()
5094 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
5097 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
5101 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5103 (unsigned int)drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
5104 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
5105 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
5106 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
5107 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
5113 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 …]
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h362 struct vdpp_bufferpayload *ptr_inputbuffer; member