/hardware/qcom/media/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/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/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/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/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 | 262 struct vdec_bufferpayload *ptr_inputbuffer; member
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/ |
D | video_encoder_test.h | 54 struct venc_bufferpayload **ptr_inputbuffer; member
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_test.h | 53 struct venc_bufferpayload **ptr_inputbuffer; member
|
/hardware/qcom/media/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 | 4473 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/ |
D | omx_vdec_hevc.cpp | 4028 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 …]
|
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 | 4696 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 …]
|
D | omx_vdec_hevc_swvdec.cpp | 4852 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 …]
|