/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
H A D | mp4_utils.h | 100 #define SIMPLE_L1_MAX_VBVBUFFERSIZE 10 /* VBV Max Buffer size=10 (p. 498) */ 102 #define SIMPLE_L2_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */ 104 #define SIMPLE_L3_MAX_VBVBUFFERSIZE 40 /* VBV Max Buffer size = 40 */ 144 uint32 size; member in struct:__anon3001 166 static uint32 read_bit_field(posInfoType * posPtr, uint32 size);
|
H A D | omx_swvdec.h | 85 unsigned int size; ///< frame size member in struct:__anon3004 139 #define DEFAULT_ALIGNMENT_SIZE 4096 ///< default size alignment 353 OMX_U32 size); 356 OMX_U32 size); 361 OMX_U32 size, 382 OMX_U32 size,
|
H A D | omx_vdec.h | 126 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd); 137 VideoHeap(int fd, size_t size, void* base); 155 #define PrintFrameHdr(bufHdr) DEBUG_PRINT("bufHdr %x buf %x size %d TS %d\n",\ 260 int size; member in struct:extradata_buffer_info 849 // bitmask array size for output side 851 // bitmask array size for input side 941 int size; member in struct:omx_vdec::h264_mv_buffer 950 int size; member in struct:omx_vdec::meta_buffer
|
H A D | omx_vdec_hevc.h | 116 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd); 127 VideoHeap(int fd, size_t size, void* base); 141 #define PrintFrameHdr(bufHdr) DEBUG_PRINT("bufHdr %x buf %x size %d TS %d\n",\ 218 int size; member in struct:extradata_buffer_info 727 // bitmask array size for output side 729 // bitmask array size for input side 815 int size; member in struct:omx_vdec::h264_mv_buffer 824 int size; member in struct:omx_vdec::meta_buffer
|
H A D | omx_vdec_hevc_swvdec.h | 129 VideoHeap(int devicefd, size_t size, void* base,ion_user_handle_t handle,int mapfd); 140 VideoHeap(int fd, size_t size, void* base); 154 #define PrintFrameHdr(bufHdr) DEBUG_PRINT("bufHdr %x buf %x size %d TS %d\n",\ 241 int size; member in struct:extradata_buffer_info 862 // bitmask array size for output side 864 // bitmask array size for input side 971 int size; member in struct:omx_vdec::h264_mv_buffer 980 int size; member in struct:omx_vdec::meta_buffer
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | h264_utils.cpp | 223 otherwise size nal length is detected 224 size_of_nal_length_field: size of nal length field 343 otherwise size nal length is detected 344 size_of_nal_length_field: size of nal length field 523 void h264_stream_parser::init_bitstream(OMX_U8* data, OMX_U32 size) argument 526 bitstream_bytes = size; 759 ALOGV("-->SEI payload type [%u] not implemented! size[%u]", payload_type, payload_size);
|
H A D | mp4_utils.cpp | 50 uint32 MP4_Utils::read_bit_field(posInfoType * posPtr, uint32 size) argument 56 uint32 value = (bitBuf >> (32 - posPtr->bitPos - size)) & MASK(size); 59 posPtr->bitPos += size; 69 (uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) 73 for (uint32 i = 0; i < size; i++) { 68 find_code(uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) argument
|
H A D | omx_swvdec.cpp | 2045 "fd %d of size %d", 2059 p_buffer_swvdec->size = m_port_op.def.nBufferSize; 2380 * @param[in] alignment_size: Frame size alignment factor. 2408 m_frame_attributes.size = 2411 OMX_SWVDEC_LOG_HIGH("stride %d, scanlines %d, size %d", 2414 m_frame_attributes.size); 2539 4096); // size alignment 2594 "count actual %d, count min %d, size %d", 2678 "count actual %d, count min %d, size %d", 2710 "count actual %d, count min %d, size 3231 buffer_allocate_ip( OMX_BUFFERHEADERTYPE **pp_buffer_hdr, OMX_PTR p_app_data, OMX_U32 size) argument 3368 buffer_allocate_op( OMX_BUFFERHEADERTYPE **pp_buffer_hdr, OMX_PTR p_app_data, OMX_U32 size) argument 3633 buffer_use_op( OMX_BUFFERHEADERTYPE **pp_buffer_hdr, OMX_PTR p_app_data, OMX_U32 size, OMX_U8 *p_buffer) argument [all...] |
H A D | omx_vdec_hevc.cpp | 458 VideoHeap::VideoHeap(int devicefd, size_t size, void* base, argument 461 // ionInit(devicefd, base, size, 0 , MEM_DEVICE,handle,ionMapfd); 464 VideoHeap::VideoHeap(int fd, size_t size, void* base) argument 467 init(dup(fd), base, size, 0 , MEM_DEVICE); local 2175 DEBUG_PRINT_LOW("Buffer queue size %d pending buf cnt %d", 2666 buffer = (OMX_U8*)mmap(0, handle->size, 2669 DEBUG_PRINT_ERROR("Failed to mmap pmem with fd = %d, size = %d", handle->fd, handle->size); 2673 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffer); 3359 // Retrieve size o [all...] |
H A D | omx_vdec_hevc_swvdec.cpp | 497 VideoHeap::VideoHeap(int devicefd, size_t size, void* base, argument 501 (void) size; 505 // ionInit(devicefd, base, size, 0 , MEM_DEVICE,handle,ionMapfd); 508 VideoHeap::VideoHeap(int fd, size_t size, void* base) argument 511 init(dup(fd), base, size, 0 , MEM_DEVICE); local 2810 DEBUG_PRINT_LOW("Buffer queue size %d pending buf cnt %d", 3323 buffer = (OMX_U8*)mmap(0, handle->size, 3326 DEBUG_PRINT_ERROR("Failed to mmap pmem with fd = %d, size = %d", handle->fd, handle->size); 3330 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffe [all...] |
H A D | omx_vdec_v4l2.cpp | 546 VideoHeap::VideoHeap(int devicefd, size_t size, void* base, argument 550 (void) size; 554 // ionInit(devicefd, base, size, 0 , MEM_DEVICE,handle,ionMapfd); 557 VideoHeap::VideoHeap(int fd, size_t size, void* base) argument 560 init(dup(fd), base, size, 0 , MEM_DEVICE); local 3168 DEBUG_PRINT_LOW("Buffer queue size %lu pending buf cnt %d", 3829 buffer = (OMX_U8*)mmap(0, handle->size, 3832 DEBUG_PRINT_ERROR("Failed to mmap pmem with fd = %d, size = %d", handle->fd, handle->size); 3836 eRet = use_buffer(hComp,params->bufferHeader,params->nPortIndex,data,handle->size,buffe [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 83 unsigned size; member in struct:pmem
|
H A D | video_encoder_device.h | 96 int size; member in struct:venc_dev::recon_buffer 163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
H A D | video_encoder_device_v4l2.h | 285 int __get(char **userptr, int *fd, unsigned *offset, ssize_t *size, int type); 293 void update(unsigned int count, ssize_t size); 295 OMX_ERRORTYPE get(char **userptr, int *fd, unsigned *offset, ssize_t *size); 297 OMX_ERRORTYPE get(void *cookie, char **userptr, int *fd, unsigned *offset, ssize_t *size); 301 OMX_ERRORTYPE getForConfig(char **userptr, int *fd, unsigned *offset, ssize_t *size); 303 OMX_ERRORTYPE peek(unsigned index, char **userptr, int *fd, unsigned* offset, ssize_t *size); 371 bool venc_get_batch_size(OMX_U32 *size); 417 int size; member in struct:venc_dev::recon_buffer 526 bool venc_set_batch_size(OMX_U32 size); 545 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U3 [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 1107 // m_pSwVencIpBuffer[index].nSize = buf->size; 1116 m_pSwVencOpBuffer[index].nSize = buf->size; 1201 unsigned int size = 0, offset = 0; local 1209 size = meta_buf->meta_handle->data[2]; 1214 size = handle->size; 1218 ipbuffer.pBuffer = (unsigned char *)mmap(NULL, size, PROT_READ|PROT_WRITE,MAP_SHARED, fd, offset); 1219 ipbuffer.nFilledLen = size; 1220 DEBUG_PRINT_LOW("mapped meta buf fd %d size %d %p", fd, size, ipbuffe 1264 dev_get_seq_hdr(void *buffer, unsigned size, unsigned *hdrlen) argument [all...] |
H A D | omx_swvenc_mpeg4.cpp | 270 /* set the frame size */ 290 Prop.info.frame_attributes.size = (Prop.info.frame_attributes.offset_chroma * 3) >> 1; 532 /* set the frame size */ 565 Prop.info.frame_attributes.size = 1145 Prop.info.slice_config.size = pParam->nResynchMarkerSpacing; 1150 Prop.info.slice_config.size = 0; 1162 Prop.info.slice_config.size = 0; 1317 "count min=%u, buffer size=%u", 1801 unsigned int size = 0, filled_length, offset = 0; local 1815 size 1946 dev_get_seq_hdr( void *buffer, unsigned size, unsigned *hdrlen ) argument 2033 dev_get_batch_size(OMX_U32 *size) argument 2236 int size = 0; local 2286 int size = snprintf(m_debug.infile_name, PROPERTY_VALUE_MAX, local 2435 unsigned int size = 0; local [all...] |
H A D | omx_video_base.cpp | 248 VideoHeap::VideoHeap(int fd, size_t size, void* base) argument 251 init(dup(fd), base, size, 0 , MEM_DEVICE); local 1529 DEBUG_PRINT_LOW("m_sInPortDef: size = %u, min cnt = %u, actual cnt = %u", 1549 DEBUG_PRINT_LOW("m_sOutPortDef: size = %u, min cnt = %u, actual cnt = %u", 2575 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; 2581 NULL,m_pInput_pmem[i].size,PROT_READ|PROT_WRITE, 2602 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; 2768 m_pOutput_pmem[i].size = m_sOutPortDef.nBufferSize; 2779 m_pOutput_pmem[i].size,PROT_READ|PROT_WRITE, 2800 m_pOutput_pmem[i].size 4689 alloc_map_ion_memory(int size, struct ion_allocation_data *alloc_data, struct ion_fd_data *fd_data,int flag) argument [all...] |
H A D | omx_video_encoder.cpp | 692 DEBUG_PRINT_ERROR("ERROR: (In_PORT) buffer count/size can change only if port is unallocated !"); 752 DEBUG_PRINT_ERROR("ERROR: (Out_PORT) buffer count/size can change only if port is unallocated !"); 1379 "count min=%u, buffer size=%u", 1391 "count min=%u, buffer size=%u", 1605 DEBUG_PRINT_ERROR("Attempting to set batch size failed"); 2314 bool omx_venc::dev_get_seq_hdr(void *buffer, unsigned size, unsigned *hdrlen) argument 2316 return handle->venc_get_seq_hdr(buffer, size, hdrlen); 2367 bool omx_venc::dev_get_batch_size(OMX_U32 *size) argument 2370 return handle->venc_get_batch_size(size); 2372 DEBUG_PRINT_ERROR("Get batch size i [all...] |
H A D | video_encoder_device.cpp | 206 int size = 0; local 208 size = snprintf(m_debug.outfile_name, PROPERTY_VALUE_MAX, "%s/output_enc_%d_%d_%p.m4v", 211 size = snprintf(m_debug.outfile_name, PROPERTY_VALUE_MAX, "%s/output_enc_%d_%d_%p.264", 214 size = snprintf(m_debug.outfile_name, PROPERTY_VALUE_MAX, "%s/output_enc_%d_%d_%p.263", 217 size = snprintf(m_debug.outfile_name, PROPERTY_VALUE_MAX, "%s/output_enc_%d_%d_%p.ivf", 220 if ((size > PROPERTY_VALUE_MAX) || (size < 0)) { 221 DEBUG_PRINT_ERROR("Failed to open output file: %s for logging as size:%d", 222 m_debug.outfile_name, size); 247 int size local 1452 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count) argument [all...] |
H A D | video_encoder_device_v4l2.cpp | 658 int size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); local 659 pVirt= (unsigned char *)mmap(NULL, size, PROT_READ|PROT_WRITE,MAP_SHARED, fd, 0); 722 munmap(pVirt, size); 744 munmap(pVirt, size); 760 DEBUG_PRINT_ERROR("Insufficient buffer size for extradata"); 772 ((char *)p_extradata) + p_extradata->size : extradata_uaddr); 817 DEBUG_PRINT_LOW("[%p/%u] found extradata type %x of size %u (%u) at %p", 863 int size = 0; local 865 size = snprintf(m_debug.outfile_name, PROPERTY_VALUE_MAX, "%s/output_enc_%lu_%lu_%p.m4v", 868 size 902 int size = 0; local 945 int size = 0; local 996 int size = snprintf(m_debug.infile_name, PROPERTY_VALUE_MAX, "%s/input_enc_%lu_%lu_%p.yuv", local 3232 ssize_t size; local 3386 venc_get_batch_size(OMX_U32 *size) argument 3676 ssize_t size; local 3916 ssize_t size; local 6237 ssize_t size; local 7195 int size = hnd && (index + hnd->numFds) < hnd->numInts ? local 7207 int size = hnd && (index + 3*hnd->numFds) < hnd->numInts ? local 7261 unsigned long size; local 7352 __get(char **userptr, int *fd, unsigned *offset, ssize_t *size, int type) argument 7375 get(char **userptr, int *fd, unsigned *offset, ssize_t *size) argument 7388 get(void *cookie, char **userptr, int *fd, unsigned *offset, ssize_t *size) argument 7420 getForConfig(char **userptr, int *fd, unsigned *offset, ssize_t *size) argument 7464 peek(unsigned index, char **userptr, int *fd, unsigned* offset, ssize_t *size) argument 7491 ssize_t size; local 7524 update(unsigned int count, ssize_t size) argument [all...] |
/hardware/qcom/media/msm8996/videopp/inc/ |
H A D | omx_vdpp.h | 122 #define PrintFrameHdr(bufHdr) DEBUG_PRINT("bufHdr %x buf %x size %d TS %d\n",\ 257 int size; member in struct:extradata_buffer_info 883 // bitmask array size for output side 885 // bitmask array size for input side
|
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 491 int32_t size = 0; local 502 size = alignedw * alignedh * bpp; 503 size = ALIGN(size, ALIGN4K); 510 size = mSrcStride * alignedh * bpp; 512 size = alignedw * alignedh * bpp; 513 size = ALIGN(size, ALIGN4K); 517 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 521 size [all...] |
H A D | C2DColorConverter.h | 98 int32_t size; member in struct:android::__anon3021
|
/hardware/qcom/media/msm8998/libstagefrighthw/ |
H A D | QComOMXPlugin.cpp | 96 size_t size, 102 return (*mComponentNameEnum)(name, size, index); 94 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/hardware/qcom/media/msm8998/mm-core/inc/ |
H A D | OMX_QCOMExtns.h | 267 OMX_U32 size; member in struct:OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO 667 * nSARWidth : Horizontal aspect size 668 * nSARHeight : Vertical aspect size 786 * nSize : Size of Structure plus pData size 815 * nSteSize : Step size
|