/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/ |
H A D | VideoDecoderAVCSecure.cpp | 67 Decode_Status VideoDecoderAVCSecure::start(VideoConfigBuffer *buffer) { argument 70 Decode_Status status = VideoDecoderAVC::start(buffer); 104 Decode_Status VideoDecoderAVCSecure::processModularInputBuffer(VideoDecodeBuffer *buffer, vbp_data_h264 **data) argument 124 if (buffer->flag & IS_SECURE_DATA) { 126 pFrameInfo = (frame_info_t *) buffer->data; 154 // FIXME: this is a w/a to handle the case when two frame data was wrongly packed into one buffer 159 ETRACE("Invalid parameter: IDR slice + SLICE in one buffer"); 210 mFrameSize = buffer->size; 213 clear_data_size = buffer->size; 230 Decode_Status VideoDecoderAVCSecure::processClassicInputBuffer(VideoDecodeBuffer *buffer, vbp_data_h26 argument 308 decode(VideoDecodeBuffer *buffer) argument 353 decodeFrame(VideoDecodeBuffer *buffer, vbp_data_h264 *data) argument [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | IntelMetadataBuffer.cpp | 102 sp<GraphicBuffer> buffer = new GraphicBuffer(); local 103 if (buffer == NULL) 108 data.read(*buffer); 110 map->value = (intptr_t)buffer->handle; 111 map->gbuffer = buffer; 115 buffer->lock(GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_SW_READ_OFTEN, &usrptr[0]); 116 buffer->unlock(); 117 ALOGI("gfx handle:%p data:%x", (intptr_t)buffer->handle, *((intptr_t *)usrptr[0]));
|
H A D | bitstream.h | 24 unsigned int *buffer; member in struct:bitstream 44 bs->buffer = (unsigned int*)calloc(bs->max_size_in_dword * sizeof(int), 1); 55 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); 71 bs->buffer[pos] = (bs->buffer[pos] << size_in_bits | val); 74 bs->buffer[pos] = (bs->buffer[pos] << bit_left) | (val >> size_in_bits); 75 bs->buffer[pos] = va_swap32(bs->buffer[po [all...] |
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/ |
H A D | OMXVideoDecoderAVCSecure.cpp | 76 // Override default native buffer count defined in the base class 178 // Check that we are dealing with the right buffer 190 // Processing non-codec data, but this buffer is not in ProtectedDataBuffer format 191 ALOGE("%s: protected data buffer pointer %p doesn't have the right magic", __FUNCTION__, dataBuffer); 222 ALOGW("size of returned data buffer is 0, decryption fails."); 227 // reset Data buffer size 268 OMX_ERRORTYPE OMXVideoDecoderAVCSecure::PrepareWVCDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) argument 276 if (buffer->nOffset != 0) { 277 ALOGW("buffer offset %u is not zero!!!", buffer 338 PrepareCENCDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) argument 365 PreparePRASFDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) argument 442 PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) argument [all...] |
/hardware/intel/common/wrs_omxil_core/utils/src/ |
H A D | audio_parser.c | 334 int mp3_header_parse(const unsigned char *buffer, argument 339 const unsigned char *p = buffer; 561 int audio_specific_config_parse(const unsigned char *buffer, argument 564 const unsigned char *p = buffer; 591 int audio_specific_config_bitcoding(unsigned char *buffer, argument 594 unsigned char *p = buffer;
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
H A D | DisplayAnalyzer.cpp | 186 // exclude the frame buffer target layer 213 // exclude the frame buffer target layer 257 DataBuffer *buffer = bm->lockDataBuffer(layer.handle); local 258 if (!buffer) { 259 ETRACE("failed to get buffer"); 261 ret = DisplayQuery::isVideoFormat(buffer->getFormat()); 262 bm->unlockDataBuffer(buffer); 816 DataBuffer * buffer = NULL; local 850 DataBuffer *buffer = bm->lockDataBuffer(layer.handle); local 851 if (!buffer) { [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_drv_debug.c | 128 /* trace level include vabuf, cmdmsg buf, aux buffer, lldma */ 176 /* psb video va buffer verbose dump */ 424 int psb_cmdbuf_dump(unsigned int *buffer, int byte_size) argument 442 unsigned int cmd = buffer[idx++]; 452 buffer[idx] ); 465 buffer[idx] ); 482 buffer[idx] ); 500 buffer[idx++] ); 520 buffer[idx] ); 533 buffer[id [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
H A D | inv_self_test.c | 189 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable"); 264 unsigned char *buffer; local 310 buffer = (unsigned char *)malloc(packet_sz + 10); 311 if (buffer == NULL) { 312 printf("Self-Test:Can't allocate buffer\n"); 322 fread(buffer, 1, packet_sz, fptr); 325 result = inv_load_mpl_states(buffer, packet_sz); 330 free(buffer); 333 free(buffer); 595 buffer [all...] |
/hardware/libhardware/include/hardware/ |
H A D | tv_input.h | 171 * Hardware is done with capture request with the buffer. Client can assume 172 * ownership of the buffer again. 175 * it succeeded. The event shall have the buffer with the captured image. 180 * canceled the request. Client can assume ownership of the buffer again. 201 * The buffer passed to hardware in request_capture(). The content of 202 * buffer is undefined (although buffer itself is valid) for 205 buffer_handle_t buffer; member in struct:tv_input_capture_result 276 /* OUT: Client must set this usage when allocating buffer. */ 279 /* OUT: Client must allocate a buffer wit [all...] |
/hardware/libhardware/modules/input/evdev/ |
H A D | InputHub.cpp | 186 char buffer[80]; local 188 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGNAME(sizeof(buffer) - 1), buffer)) < 1) { 191 buffer[sizeof(buffer) - 1] = '\0'; 192 mName = buffer; 211 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGPHYS(sizeof(buffer) - 1), buffer)) < 1) { 214 buffer[sizeof(buffer) [all...] |
/hardware/libhardware/tests/keymaster/ |
H A D | keymaster_test.cpp | 127 uint8_t* buffer = (uint8_t*) mmap(NULL, mBufferSize, PROT_READ | PROT_WRITE, local 131 if (buffer == NULL) { 135 memcpy(buffer, data, dataSize); 136 if (mprotect(buffer, mBufferSize, PROT_READ) == -1) { 137 munmap(buffer, mBufferSize); 141 mBuffer = buffer;
|
/hardware/libhardware_legacy/audio/ |
H A D | A2dpAudioInterface.cpp | 276 ssize_t A2dpAudioInterface::A2dpAudioStreamOut::write(const void* buffer, size_t bytes) argument 303 status = a2dp_write(mData, buffer, remaining); 312 buffer = (char *)buffer + status;
|
H A D | AudioDumpInterface.cpp | 279 ssize_t AudioStreamOutDump::write(const void* buffer, size_t bytes) argument 284 ret = mFinalStream->write(buffer, bytes); 298 fwrite(buffer, bytes, 1, mFile); 439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) argument 444 ret = mFinalStream->read(buffer, bytes); 454 fwrite(buffer, bytes, 1, mFile); 489 ssize_t bytesRead = fread(buffer, bytes, 1, mFile); 492 fread((uint8_t *)buffer+bytesRead, bytes-bytesRead, 1, mFile);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioStreamInALSA.cpp | 126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) argument 130 ALOGV("read:: buffer %p, bytes %d", buffer, bytes); 333 void *buffer_start = buffer; 340 "to buffer, mSurroundOutputBufferIdx = %d", 342 // Copy processed output to buffer 347 memcpy(buffer, mSurroundOutputBuffer, processed_pending * sizeof(Word16)); 348 buffer += processed_pending * sizeof(Word16); 351 // Shift leftover samples to beginning of the buffer 360 ALOGV("AudioStreamInALSA::read() - done processing buffer, " [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
H A D | ssr.c | 227 /* Allocate memory for input buffer */ 392 /* use 4k hardcoded buffer size for ssr*/ 469 void *buffer, size_t bytes) 492 buffer, ssrmod.surround_raw_buffer); 498 fwrite(buffer, 1, bytes, ssrmod.fp_6ch); 468 audio_extn_ssr_read(struct audio_stream_in *stream, void *buffer, size_t bytes) argument
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
H A D | display_hdmi.cpp | 298 void DisplayHDMI::AppendDump(char *buffer, uint32_t length) { argument 300 DisplayBase::AppendDump(buffer, length);
|
H A D | display_primary.cpp | 326 void DisplayPrimary::AppendDump(char *buffer, uint32_t length) { argument 328 DisplayBase::AppendDump(buffer, length);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | blit_engine_c2d.cpp | 192 copybit_image_t buffer; local 193 buffer.w = ALIGN((hnd->width), 32); 194 buffer.h = hnd->height; 195 buffer.format = hnd->format; 196 buffer.base = reinterpret_cast<void *>(hnd->base); 197 buffer.handle = reinterpret_cast<native_handle_t *>(hnd); 204 status = blit_engine_c2d_->clear(blit_engine_c2d_, &buffer, &clear_rect); 304 // Set the buffer height and width 364 // Allocate a single buffer of RGBA8888 format 416 // Clear blit target buffer [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A D | omx_video_encoder.cpp | 1059 DEBUG_PRINT_HIGH("updated out_buf_req: buffer cnt=%d, " 1060 "count min=%d, buffer size=%d", 1545 bool omx_venc::dev_empty_buf(void *buffer, void *pmem_data_buf,unsigned index,unsigned fd) argument 1547 return handle->venc_empty_buf(buffer, pmem_data_buf,index,fd); 1550 bool omx_venc::dev_fill_buf(void *buffer, void *pmem_data_buf,unsigned index,unsigned fd) argument 1552 return handle->venc_fill_buf(buffer, pmem_data_buf,index,fd); 1555 bool omx_venc::dev_get_seq_hdr(void *buffer, unsigned size, unsigned *hdrlen) argument 1557 return handle->venc_get_seq_hdr(buffer, size, hdrlen); 1695 /*Use buffer case*/
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
H A D | msm_mdp_ext.h | 81 struct mdp_layer_buffer buffer; member in struct:mdp_input_layer 91 struct mdp_layer_buffer buffer; member in struct:mdp_output_layer
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
H A D | msm_mdp_ext.h | 49 * does not expect buffer when this flag is enabled. 99 /* DMA buffer file descriptor information. */ 102 /* Pixel offset in the dma buffer. */ 132 * SyncFence associated with this buffer. It is used in two ways. 134 * 1. Driver waits to consume the buffer till producer signals in case 137 * 2. Writeback device uses buffer structure for output buffer where 138 * driver is producer. However, client sends the fence with buffer to 139 * indicate that consumer is still using the buffer and it is not ready 223 * buffer i 249 struct mdp_layer_buffer buffer; member in struct:mdp_input_layer 283 struct mdp_layer_buffer buffer; member in struct:mdp_output_layer [all...] |
/hardware/ril/libril/ |
H A D | RilSapSocket.cpp | 209 RLOGE("Fetched null buffer from queue!"); 243 void log_hex(const char *who, const uint8_t *buffer, int length) { argument 254 out[dest++] = HEX_HIGH(buffer[source]); 255 out[dest++] = HEX_LOW(buffer[source]); 347 uint8_t buffer[buffer_size]; local 349 ostream = pb_ostream_from_buffer(buffer, buffer_size); 356 log_hex("onRequestComplete", &buffer[sizeof(written_size)], encoded_size); 360 if ( 0 != blockingWrite_helper(commandFd, buffer, buffer_size)) { 410 RLOGE("Error decoding protobuf buffer : %s", PB_GET_ERROR(&stream)); 440 uint8_t buffer[buffer_siz local [all...] |
/hardware/ti/omap4-aah/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 778 // if buffer index is out of bounds skip 784 // unlock buffer before giving it up 1002 android_native_buffer_t *buffer = NULL; local 1009 ///Queue the buffer to overlay 1073 // unlock buffer before sending to display 1084 // HWComposer has not minimum buffer requirement. We should be able to dequeue 1085 // the buffer immediately 1094 // unlock buffer before giving it up 1097 // cancel buffer and dequeue another one 1166 // lock buffer befor [all...] |
/hardware/ti/omap4xxx/camera/ |
H A D | ANativeWindowDisplayAdapter.cpp | 817 // unlock buffer before giving it up 1033 android_native_buffer_t *buffer = NULL; local 1040 ///Queue the buffer to overlay 1098 // unlock buffer before sending to display 1108 // HWComposer has not minimum buffer requirement. We should be able to dequeue 1109 // the buffer immediately 1138 // unlock buffer before giving it up 1141 // cancel buffer and dequeue another one 1204 // lock buffer before sending to FrameProvider for filling 1224 CAMHAL_LOGVB("handleFrameReturn: found graphic buffer [all...] |
/hardware/bsp/intel/peripheral/libmraa/src/ |
H A D | mraa.c | 677 char* buffer = NULL; local 679 buffer = (char*) realloc(buffer, size); 680 if (buffer == NULL) 682 nchars = readlink(filename, buffer, size); 684 free(buffer); 687 buffer[nchars] = '\0'; 694 if (strstr(buffer, targetname)) { 695 free(buffer); 698 free(buffer); [all...] |