Lines Matching full:frame_buffer
3108 if (BUFFER_LOCKED == frame_buffer[bufferIndex].lockState) {
3110 (native_handle_t*)(*(frame_buffer[bufferIndex].buffer)))) {
3114 frame_buffer[bufferIndex].lockState = BUFFER_UNLOCKED;
3127 frame_buffer[bufferIndex].buffer);
3137 frame_buffer[bufferIndex].buffer);
3140 frame_buffer[bufferIndex].buffer);
3143 frame_buffer[bufferIndex].buffer);
3239 frame_buffer[bufferIndex].lockState = BUFFER_UNLOCKED;
3241 frame_buffer[bufferIndex].lockState = BUFFER_LOCKED;
3270 if (frame_buffer[cnt].frame->buffer == frame->buffer) {
3330 if (frame_buffer[cnt].buffer == buffer) {
4761 if (BUFFER_LOCKED == frame_buffer[cnt].lockState) {
4764 (*(frame_buffer[cnt].buffer)))) {
4767 frame_buffer[cnt].lockState = BUFFER_UNLOCKED;
4771 frame_buffer[cnt].buffer);
4965 frame_buffer[cnt].frame = &frames[cnt];
4966 frame_buffer[cnt].buffer = bhandle;
4967 frame_buffer[cnt].size = handle->size;
4968 frame_buffer[cnt].lockState = BUFFER_LOCKED;
5006 if (GENLOCK_FAILURE == genlock_unlock_buffer((native_handle_t*)(*(frame_buffer[cnt].buffer)))) {
5010 frame_buffer[cnt].lockState = BUFFER_UNLOCKED;
5012 frame_buffer[cnt].buffer);
5013 ALOGI(" Cancelling preview buffers %d ",frame_buffer[cnt].frame->fd);