Home
last modified time | relevance | path

Searched refs:pbuffer (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp300 bool MP4_Utils::is_notcodec_vop(unsigned char *pbuffer, unsigned int len) in is_notcodec_vop() argument
306 if (!vop_time_found || !pbuffer || len < 5) { in is_notcodec_vop()
310 if ((pbuffer[0] == 0) && (pbuffer[1] == 0) && (pbuffer[2] == 1) && (pbuffer[3] == 0xB6)) { in is_notcodec_vop()
316 vop_type = (pbuffer[index] & 0xc0) >> 6; in is_notcodec_vop()
320 modulo_bit = pbuffer[index] & (1 << (7-bits_parsed)); in is_notcodec_vop()
339 not_coded = pbuffer[index] & (1 << (7 - bits_parsed)); in is_notcodec_vop()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Dmp4_utils.cpp265 bool MP4_Utils::is_notcodec_vop(unsigned char *pbuffer, unsigned int len) in is_notcodec_vop() argument
270 if (!vop_time_found || !pbuffer || len < 5) { in is_notcodec_vop()
273 if((pbuffer[0] == 0) && (pbuffer[1] == 0) && (pbuffer[2] == 1) && (pbuffer[3] == 0xB6)){ in is_notcodec_vop()
278 vop_type = (pbuffer[index] & 0xc0) >> 6; in is_notcodec_vop()
281 modulo_bit = pbuffer[index] & (1 << (7-bits_parsed)); in is_notcodec_vop()
296 not_coded = pbuffer[index] & (1 << (7 - bits_parsed)); in is_notcodec_vop()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
Dvideo_encoder_test.c423 munmap ( ptemp [i]->pbuffer,ptemp [i]->maped_size); in free_buffer()
424 ptemp [i]->pbuffer = NULL; in free_buffer()
443 munmap ( ptemp [i]->pbuffer,ptemp [i]->maped_size); in free_buffer()
444 ptemp [i]->pbuffer = NULL; in free_buffer()
541 ptemp [i]->pbuffer = mmap(NULL,clp2(buffersize),PROT_READ|PROT_WRITE, in allocate_buffer()
544 ptemp [i]->pbuffer); in allocate_buffer()
546 if (ptemp [i]->pbuffer == MAP_FAILED) { in allocate_buffer()
547 ptemp [i]->pbuffer = NULL; in allocate_buffer()
610 enc_buffer.ptrbuffer = encoder_context->ptr_outputbuffer [i]->pbuffer; in start_encoding()
638 enc_buffer.ptrbuffer = encoder_context->ptr_inputbuffer [i]->pbuffer; in start_encoding()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c445 munmap ( ptemp [i]->pbuffer,ptemp [i]->maped_size); in free_buffer()
446 ptemp [i]->pbuffer = NULL; in free_buffer()
469 munmap ( ptemp [i]->pbuffer,ptemp [i]->maped_size); in free_buffer()
470 ptemp [i]->pbuffer = NULL; in free_buffer()
580 ptemp [i]->pbuffer = mmap(NULL,clp2(buffersize),PROT_READ|PROT_WRITE, in allocate_buffer()
583 ptemp [i]->pbuffer); in allocate_buffer()
584 if (ptemp [i]->pbuffer == MAP_FAILED) in allocate_buffer()
586 ptemp [i]->pbuffer = NULL; in allocate_buffer()
654 enc_buffer.ptrbuffer = encoder_context->ptr_outputbuffer [i]->pbuffer; in start_encoding()
682 enc_buffer.ptrbuffer = encoder_context->ptr_inputbuffer [i]->pbuffer; in start_encoding()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h167 bool is_notcodec_vop(unsigned char *pbuffer, unsigned int len);
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Dmp4_utils.h170 bool is_notcodec_vop(unsigned char *pbuffer, unsigned int len);
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1344 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1346 recon_addr.pbuffer = (unsigned char *)(pmem_fd + 1); in pmem_allocate()
1376 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1484 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_use_buf()
1528 dev_buffer.pbuffer, \ in venc_use_buf()
1541 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_use_buf()
1550 dev_buffer.pbuffer, \ in venc_use_buf()
1582 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1591 dev_buffer.pbuffer, \ in venc_free_buf()
1604 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
[all …]
Dvideo_encoder_device_copper.cpp1307 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1334 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1521 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1527 dev_buffer.pbuffer, \ in venc_free_buf()
1540 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1547 dev_buffer.pbuffer, \ in venc_free_buf()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_vidc_enc.h282 unsigned char *pbuffer; member
417 unsigned char *pbuffer; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_vidc_enc.h486 unsigned char *pbuffer; member
614 unsigned char *pbuffer; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_vidc_enc.h305 unsigned char *pbuffer; member
444 unsigned char *pbuffer; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_vidc_enc.h534 unsigned char *pbuffer; member
667 unsigned char *pbuffer; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1446 recon_addr.pbuffer = (unsigned char *)buf_addr; in pmem_allocate()
1474 recon_addr.pbuffer = recon_buff[cnt].virtual_address; in pmem_free()
1583 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_use_buf()
1625 dev_buffer.pbuffer, \ in venc_use_buf()
1635 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_use_buf()
1644 dev_buffer.pbuffer, \ in venc_use_buf()
1672 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1681 dev_buffer.pbuffer, \ in venc_free_buf()
1691 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1700 dev_buffer.pbuffer, \ in venc_free_buf()
Dvideo_encoder_device_v4l2.cpp1760 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1766 dev_buffer.pbuffer, \ in venc_free_buf()
1772 dev_buffer.pbuffer = (OMX_U8 *)pmem_tmp->buffer; in venc_free_buf()
1779 dev_buffer.pbuffer, \ in venc_free_buf()