Home
last modified time | relevance | path

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

12

/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Ddecoder_driver_test.c383 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()
672 frameinfo.pmem_offset = decode_context->ptr_inputbuffer [i]->offset; in start_decoding()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
H A Ddecoder_driver_test.c366 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()
630 frameinfo.pmem_offset = decode_context->ptr_inputbuffer [i]->offset; in start_decoding()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
H A 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()
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A Ddecoder_driver_test.h47 struct vdec_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
H A Dvideo_encoder_test.h54 struct venc_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
H A Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Ddecoder_driver_test.h46 struct vdec_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_test.h53 struct venc_bufferpayload **ptr_inputbuffer; member
/aosp12/hardware/qcom/media/msm8996/videopp/src/
H A Domx_vdpp.cpp4339 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()
4366 drv_ctx.ptr_inputbuffer [i].offset = 0; in use_input_buffers()
4733 if (drv_ctx.ptr_inputbuffer == NULL) in allocate_input_buffer()
4749 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4800 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4803 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
6701 if (drv_ctx.ptr_inputbuffer) in free_input_buffer_header()
6704 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec_copper.cpp4127 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) in free_input_buffer()
4148 munmap (drv_ctx.ptr_inputbuffer[index].bufferaddr, 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()
4366 if (drv_ctx.ptr_inputbuffer == NULL) in allocate_input_buffer()
4382 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4461 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4464 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
7226 if (drv_ctx.ptr_inputbuffer) in free_input_buffer_header()
7229 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec.cpp4482 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) 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()
4742 if (drv_ctx.ptr_inputbuffer == NULL) in allocate_input_buffer()
4758 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4834 drv_ctx.ptr_inputbuffer [i].bufferaddr = buf_addr; in allocate_input_buffer()
4835 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4838 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
7748 if (drv_ctx.ptr_inputbuffer) in free_input_buffer_header()
7751 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp4028 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4034 drv_ctx.ptr_inputbuffer[index].pmem_fd); 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()
4234 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
4247 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4319 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4322 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
7055 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
7057 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec.cpp4277 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { 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()
4538 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
4553 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4627 drv_ctx.ptr_inputbuffer [i].bufferaddr = buf_addr; in allocate_input_buffer()
4629 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4632 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
7465 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
7467 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec_msm8974.cpp5156 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
5175 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
5380 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
5393 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
5472 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
5475 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
5491 drv_ctx.ptr_inputbuffer[i].bufferaddr); in allocate_input_buffer()
5506 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
8644 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
8646 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec_hevc_swvdec.cpp4855 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) 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()
4869 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
5079 if (drv_ctx.ptr_inputbuffer == NULL) in allocate_input_buffer()
5095 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
5184 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
5187 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
8033 if (drv_ctx.ptr_inputbuffer) in free_input_buffer_header()
8036 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp4007 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) { in free_input_buffer()
4013 drv_ctx.ptr_inputbuffer[index].pmem_fd); 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()
4213 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
4226 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4298 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4301 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
7019 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
7021 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec_hevc_swvdec.cpp5052 if (drv_ctx.ptr_inputbuffer[index].pmem_fd > 0) 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()
5066 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
5277 if (drv_ctx.ptr_inputbuffer == NULL) in allocate_input_buffer()
5293 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
5384 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
5387 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
8248 if (drv_ctx.ptr_inputbuffer) in free_input_buffer_header()
8251 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
H A Domx_vdec_v4l2.cpp6002 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6021 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6248 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
6261 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
6335 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
6338 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
6354 drv_ctx.ptr_inputbuffer[i].bufferaddr); in allocate_input_buffer()
6369 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
9590 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
9592 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp4088 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
4105 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
4122 index, drv_ctx.ptr_inputbuffer); in free_input_buffer()
4285 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
4298 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
4343 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
4346 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
4356 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
6860 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
6862 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp6513 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6536 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6776 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
6789 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
6863 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
6866 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
6882 drv_ctx.ptr_inputbuffer[i].bufferaddr); in allocate_input_buffer()
6901 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
10337 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
10339 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp6038 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6052 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6068 index, drv_ctx.ptr_inputbuffer); in free_input_buffer()
6210 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
6223 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
6295 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
6298 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
6308 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
8757 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
8759 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp6415 if (drv_ctx.ptr_inputbuffer[index].pmem_fd >= 0) { in free_input_buffer()
6432 drv_ctx.ptr_inputbuffer[index].pmem_fd = -1; in free_input_buffer()
6448 index, drv_ctx.ptr_inputbuffer); in free_input_buffer()
6683 if (drv_ctx.ptr_inputbuffer == NULL) { in allocate_input_buffer()
6696 drv_ctx.ptr_inputbuffer [i].pmem_fd = -1; in allocate_input_buffer()
6741 drv_ctx.ptr_inputbuffer [i].pmem_fd = pmem_fd; in allocate_input_buffer()
6744 drv_ctx.ptr_inputbuffer [i].offset = 0; in allocate_input_buffer()
6754 nh->data[0] = drv_ctx.ptr_inputbuffer[i].pmem_fd; in allocate_input_buffer()
10124 if (drv_ctx.ptr_inputbuffer) { in free_input_buffer_header()
10126 free (drv_ctx.ptr_inputbuffer); in free_input_buffer_header()
[all …]

12