/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | decoder_driver_test.c | 364 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/ |
D | decoder_driver_test.c | 380 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/ |
D | video_encoder_test.c | 434 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/ |
D | video_encoder_test.h | 54 struct venc_bufferpayload **ptr_inputbuffer; member
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_test.h | 53 struct venc_bufferpayload **ptr_inputbuffer; member
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | decoder_driver_test.h | 47 struct vdec_bufferpayload **ptr_inputbuffer; member
|
D | omx_vdec.h | 237 struct vdec_bufferpayload *ptr_inputbuffer; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_test.h | 53 struct venc_bufferpayload **ptr_inputbuffer; member
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | decoder_driver_test.h | 46 struct vdec_bufferpayload **ptr_inputbuffer; member
|
D | omx_vdec_hevc.h | 234 struct vdec_bufferpayload *ptr_inputbuffer; member
|
D | omx_vdec_hevc_swvdec.h | 258 struct vdec_bufferpayload *ptr_inputbuffer; member
|
D | omx_vdec.h | 264 struct vdec_bufferpayload *ptr_inputbuffer; member
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | decoder_driver_test.h | 46 struct vdec_bufferpayload **ptr_inputbuffer; member
|
D | omx_vdec_hevc.h | 233 struct vdec_bufferpayload *ptr_inputbuffer; member
|
D | omx_vdec.h | 269 struct vdec_bufferpayload *ptr_inputbuffer; member
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 4336 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/ |
D | omx_vdec_copper.cpp | 4124 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 …]
|
D | omx_vdec.cpp | 4479 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/ |
D | omx_vdec_hevc.cpp | 4026 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 …]
|
D | omx_vdec.cpp | 4274 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 …]
|
D | omx_vdec_msm8974.cpp | 5092 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/ |
D | omx_vdec_hevc.cpp | 4005 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 …]
|
D | omx_vdec_hevc_swvdec.cpp | 5049 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/ |
D | omx_vdpp.h | 362 struct vdpp_bufferpayload *ptr_inputbuffer; member
|