Home
last modified time | relevance | path

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

/hardware/qcom/media/mm-video/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/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/vidc/venc/inc/
Dvideo_encoder_test.h54 struct venc_bufferpayload **ptr_inputbuffer; member
/hardware/qcom/media/mm-video/vidc/vdec/inc/
Ddecoder_driver_test.h47 struct vdec_bufferpayload **ptr_inputbuffer; member
Domx_vdec.h238 struct vdec_bufferpayload *ptr_inputbuffer; member
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec_copper.cpp4134 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4137 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4142 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4154 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4156 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4157 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4158 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4159 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4160 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4161 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]
Domx_vdec.cpp4377 if (index < drv_ctx.ip_buf.actualcount && drv_ctx.ptr_inputbuffer) in free_input_buffer()
4380 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4385 memcpy (&setbuffers.buffer,&drv_ctx.ptr_inputbuffer[index], in free_input_buffer()
4397 drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4399 drv_ctx.ptr_inputbuffer[index].mmaped_size, in free_input_buffer()
4400 drv_ctx.ptr_inputbuffer[index].bufferaddr); in free_input_buffer()
4401 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, in free_input_buffer()
4402 drv_ctx.ptr_inputbuffer[index].mmaped_size); in free_input_buffer()
4404 close (drv_ctx.ptr_inputbuffer[index].pmem_fd); in free_input_buffer()
4405 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
[all …]