/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec.cpp | 6442 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 6443 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 6447 while (p_extra && in fill_buffer_done() 6448 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 6449 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 6450 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 6452 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 6456 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 7983 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL, *p_extn_user[32]; in handle_extradata_secure() local 7994 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata_secure() [all …]
|
D | omx_vdec_msm8974.cpp | 7279 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 7280 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 7283 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 7285 p_extra->nSize, p_extra->eType); in fill_buffer_done() 7286 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 7288 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 7291 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 9230 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 9255 p_extra = NULL; in handle_extradata() 9259 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc.cpp | 6003 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 6004 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 6007 while (p_extra && in fill_buffer_done() 6008 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 6009 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 6010 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 6011 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 6014 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 7592 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 7605 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 7106 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 7107 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 7110 while(p_extra && in fill_buffer_done() 7111 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done() 7113 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 7114 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 7115 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done() 7119 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 8634 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 8647 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 6230 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 6231 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 6234 while(p_extra && in fill_buffer_done() 6235 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done() 6237 DEBUG_PRINT_LOW("\nWRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 6238 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 6239 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done() 6243 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 7776 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 7780 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec.cpp | 6656 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 6657 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 6660 while(p_extra && in fill_buffer_done() 6661 (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) in fill_buffer_done() 6663 DEBUG_PRINT_LOW("\nWRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 6664 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 6665 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done() 6669 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 8297 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 8305 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 523 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_extradata() local 530 p_extra = (OMX_OTHER_EXTRADATATYPE *)ALIGN(p_bufhdr->pBuffer + in handle_extradata() 536 p_extra = NULL; in handle_extradata() 553 OMX_U32 payloadSize = append_mbi_extradata(&p_extra->data, p_extradata); in handle_extradata() 554 p_extra->nSize = ALIGN(sizeof(OMX_OTHER_EXTRADATATYPE) + payloadSize, 4); in handle_extradata() 555 p_extra->nVersion.nVersion = OMX_SPEC_VERSION; in handle_extradata() 556 p_extra->nPortIndex = OMX_DirOutput; in handle_extradata() 557 p_extra->eType = (OMX_EXTRADATATYPE)OMX_ExtraDataVideoEncoderMBInfo; in handle_extradata() 558 p_extra->nDataSize = payloadSize; in handle_extradata() 563 *p_extra->data = *p_extradata->data; in handle_extradata() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 647 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_input_extradata() local 678 p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + yuv_size + 3)&(~3)); in handle_input_extradata() 686 while (p_extra && (consumed_len + sizeof(OMX_OTHER_EXTRADATATYPE)) <= (size - yuv_size) in handle_input_extradata() 687 && (consumed_len + p_extra->nSize) <= (size - yuv_size) in handle_input_extradata() 689 && (filled_len + p_extra->nSize <= input_extradata_info.buffer_size) in handle_input_extradata() 690 && (p_extra->eType != (OMX_EXTRADATATYPE)MSM_VIDC_EXTRADATA_NONE)) { in handle_input_extradata() 692 DEBUG_PRINT_LOW("Extradata Type = 0x%x", (OMX_QCOM_EXTRADATATYPE)p_extra->eType); in handle_input_extradata() 693 switch ((OMX_QCOM_EXTRADATATYPE)p_extra->eType) { in handle_input_extradata() 703 framedimension_format = (OMX_QCOM_EXTRADATA_FRAMEDIMENSION *)p_extra->data; in handle_input_extradata() 726 qp_payload = (OMX_QCOM_EXTRADATA_QP *)p_extra->data; in handle_input_extradata() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 618 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in handle_input_extradata() local 661 …p_extra = (OMX_OTHER_EXTRADATATYPE *) ((unsigned long)(pVirt + ((width * height * 3) / 2) + 3)&(~3… in handle_input_extradata() 664 if (p_extra) { in handle_input_extradata() 666 && (p_extra->eType != (OMX_EXTRADATATYPE)MSM_VIDC_EXTRADATA_NONE)) { in handle_input_extradata() 667 DEBUG_PRINT_LOW("Extradata Type = 0x%x", (OMX_QCOM_EXTRADATATYPE)p_extra->eType); in handle_input_extradata() 668 switch ((OMX_QCOM_EXTRADATATYPE)p_extra->eType) { in handle_input_extradata() 678 framedimension_format = (OMX_QCOM_EXTRADATA_FRAMEDIMENSION *)p_extra->data; in handle_input_extradata() 700 qp_payload = (OMX_QCOM_EXTRADATA_QP *)p_extra->data; in handle_input_extradata() 714 consumed_len += p_extra->nSize; in handle_input_extradata() 715 p_extra = (OMX_OTHER_EXTRADATATYPE *)((char *)p_extra + p_extra->nSize); in handle_input_extradata() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 8118 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 8119 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 8122 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 8124 p_extra->nSize, p_extra->eType); in fill_buffer_done() 8125 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 8127 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 8130 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 10421 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 10452 p_extra = NULL; in handle_extradata() 10456 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc.cpp | 5967 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 5968 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 5971 while (p_extra && in fill_buffer_done() 5972 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 5973 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 5974 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 5975 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 5978 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 7556 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 7569 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 7316 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 7317 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 7320 while(p_extra && in fill_buffer_done() 7321 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done() 7323 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 7324 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 7325 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done() 7329 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 8849 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 8862 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 8571 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 8572 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 8575 while (p_extra && (OMX_U8*)p_extra < (pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 8577 p_extra->nSize, p_extra->eType); in fill_buffer_done() 8578 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 8580 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 8583 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 11184 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL, *p_client_extra = NULL; in handle_extradata() local 11219 p_extra = NULL; in handle_extradata() 11229 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc.cpp | 5967 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 5968 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 5971 while (p_extra && in fill_buffer_done() 5972 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) { in fill_buffer_done() 5973 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 5974 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 5975 if (p_extra->eType == OMX_ExtraDataNone) { in fill_buffer_done() 5978 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 7556 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 7569 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 7316 OMX_OTHER_EXTRADATATYPE *p_extra = NULL; in fill_buffer_done() local 7317 p_extra = (OMX_OTHER_EXTRADATATYPE *) in fill_buffer_done() 7320 while(p_extra && in fill_buffer_done() 7321 (OMX_U8*)p_extra < (buffer->pBuffer + buffer->nAllocLen) ) in fill_buffer_done() 7323 … DEBUG_PRINT_LOW("WRITING extradata, size=%d,type=%d",p_extra->nSize, p_extra->eType); in fill_buffer_done() 7324 fwrite (p_extra,1,p_extra->nSize,outputExtradataFile); in fill_buffer_done() 7325 if (p_extra->eType == OMX_ExtraDataNone) in fill_buffer_done() 7329 p_extra = (OMX_OTHER_EXTRADATATYPE *) (((OMX_U8 *) p_extra) + p_extra->nSize); in fill_buffer_done() 8849 OMX_OTHER_EXTRADATATYPE *p_extra = NULL, *p_sei = NULL, *p_vui = NULL; in handle_extradata() local 8862 p_extra = (OMX_OTHER_EXTRADATATYPE *) in handle_extradata() [all …]
|