Lines Matching refs:buffer
65 Decode_Status VideoDecoderAVCSecure::start(VideoConfigBuffer *buffer) { in start() argument
68 Decode_Status status = VideoDecoderAVC::start(buffer); in start()
102 Decode_Status VideoDecoderAVCSecure::processModularInputBuffer(VideoDecodeBuffer *buffer, vbp_data_… in processModularInputBuffer() argument
122 if (buffer->flag & IS_SECURE_DATA) { in processModularInputBuffer()
124 pFrameInfo = (frame_info_t *) buffer->data; in processModularInputBuffer()
197 mFrameSize = buffer->size; in processModularInputBuffer()
198 mFrameData = buffer->data; in processModularInputBuffer()
199 clear_data = buffer->data; in processModularInputBuffer()
200 clear_data_size = buffer->size; in processModularInputBuffer()
217 Decode_Status VideoDecoderAVCSecure::processClassicInputBuffer(VideoDecodeBuffer *buffer, vbp_data_… in processClassicInputBuffer() argument
231 if (buffer->flag & IS_SECURE_DATA) { in processClassicInputBuffer()
235 mFrameData = buffer->data; in processClassicInputBuffer()
236 mFrameSize = buffer->size; in processClassicInputBuffer()
238 num_nalus = *(uint32_t *)(buffer->data + buffer->size + sizeof(uint32_t)); in processClassicInputBuffer()
243 data_src = buffer->data + buffer->size + sizeof(uint32_t) + offset; in processClassicInputBuffer()
276 mFrameSize = buffer->size; in processClassicInputBuffer()
277 mFrameData = buffer->data; in processClassicInputBuffer()
278 clear_data = buffer->data; in processClassicInputBuffer()
279 clear_data_size = buffer->size; in processClassicInputBuffer()
296 Decode_Status VideoDecoderAVCSecure::decode(VideoDecodeBuffer *buffer) { in decode() argument
300 if (buffer == NULL) { in decode()
307 testsize = buffer->size > 16 ? 16:buffer->size ; in decode()
308 testdata = (uint8_t *)(buffer->data); in decode()
313 if (buffer->flag & IS_SUBSAMPLE_ENCRYPTION) { in decode()
318 status = processModularInputBuffer(buffer,&data); in decode()
322 status = processClassicInputBuffer(buffer,&data); in decode()
336 status = decodeFrame(buffer, data); in decode()
341 Decode_Status VideoDecoderAVCSecure::decodeFrame(VideoDecodeBuffer *buffer, vbp_data_h264 *data) { in decodeFrame() argument
352 buffer->timeStamp/1E6, in decodeFrame()
376 mCurrentPTS = buffer->timeStamp; in decodeFrame()
383 parseModularSliceHeader(buffer,data); in decodeFrame()
386 parseClassicSliceHeader(buffer,data); in decodeFrame()
473 Decode_Status VideoDecoderAVCSecure::parseClassicSliceHeader(VideoDecodeBuffer *buffer, vbp_data_h2… in parseClassicSliceHeader() argument
582 Decode_Status VideoDecoderAVCSecure::parseModularSliceHeader(VideoDecodeBuffer *buffer, vbp_data_h2… in parseModularSliceHeader() argument