Searched defs:frame (Results 1 - 25 of 52) sorted by path

123

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
H A Dh264.h334 // frame store
343 storable_picture frame; member in struct:_frame_store
353 uint8_t pic_type; //bit7 structure: 1 frame , 0 field;
354 //bit4,5,6 top field (frame) pic type, 00 IDR 01 I 10 P 11 B 100 INVALID
356 uint8_t long_term_frame_idx; // No two frame stores may have the same long-term frame index
443 //// frame list to release from dpb, need be displayed
447 //// frame list to removed from dpb but not display
451 //// frame list to display (in display order)
852 int32_t frame_num; // decoding num of current frame
[all...]
/hardware/intel/common/libmix/mix_video/src/
H A Dmixframemanager.c281 MixVideoFrame *frame = NULL; local
283 frame = (MixVideoFrame *) g_ptr_array_index(fm->frame_array,
285 if (frame) {
286 mix_videoframe_unref(frame);
297 MixVideoFrame *frame = NULL; local
298 while ((frame = (MixVideoFrame *) g_queue_pop_head(fm->frame_queue))) {
299 mix_videoframe_unref(frame);
328 MixVideoFrame *frame = NULL; local
349 * In case it heppens, release the frame!
374 /* check if this is the expected next frame */
401 gpointer frame = NULL; local
531 MixVideoFrame *frame = NULL; local
[all...]
H A Dmixsurfacepool.c221 * frame objects that represents a pool of surfaces.
264 // Initialize the free pool with frame objects
267 MixVideoFrame *frame = NULL; local
271 //Create a frame object for each surface ID
272 frame = mix_videoframe_new();
274 if (frame == NULL) {
282 // Set the frame ID to the surface ID
283 mix_videoframe_set_frame_id(frame, surfaces[i]);
284 // Set the ci frame index to the surface ID
285 mix_videoframe_set_ci_frame_idx (frame,
316 mix_surfacepool_put(MixSurfacePool * obj, MixVideoFrame * frame) argument
370 mix_surfacepool_get(MixSurfacePool * obj, MixVideoFrame ** frame) argument
460 mix_surfacepool_get_frame_with_ci_frameidx(MixSurfacePool * obj, MixVideoFrame ** frame, MixVideoFrame *in_frame) argument
588 MixVideoFrame *frame = NULL; local
625 mix_surfacepool_dumpframe(MixVideoFrame *frame) argument
[all...]
H A Dmixvideo.c94 MIX_RESULT mix_video_get_frame_default(MixVideo * mix, MixVideoFrame ** frame);
97 MixVideoFrame * frame);
100 MixVideoRenderParams * render_params, MixVideoFrame *frame);
493 /* Get fps, frame order mode and mime type from config_params */
517 LOG_E("Failed to frame order mode\n");
524 LOG_E("Failed to get frame rate\n");
541 /* create frame manager */
545 LOG_E("Failed to create frame manager\n");
549 /* initialize frame manager */
561 LOG_E("Failed to initialize frame manage
1021 mix_video_get_frame_default(MixVideo * mix, MixVideoFrame ** frame) argument
1050 mix_video_release_frame_default(MixVideo * mix, MixVideoFrame * frame) argument
1090 mix_video_render_default(MixVideo * mix, MixVideoRenderParams * render_params, MixVideoFrame *frame) argument
1524 mix_video_get_frame(MixVideo * mix, MixVideoFrame ** frame) argument
1536 mix_video_release_frame(MixVideo * mix, MixVideoFrame * frame) argument
1547 mix_video_render(MixVideo * mix, MixVideoRenderParams * render_params, MixVideoFrame *frame) argument
[all...]
H A Dmixvideoformat_h264.c441 // handle both frame and field coding for interlaced content
622 //If this is a new frame and we haven't retrieved parser
623 // workload data from previous frame yet, do so
639 LOG_V( "Queried for last frame data\n");
648 //We log this but need to process the new frame data, so do not return
652 LOG_V( "Called process and decode for last frame\n");
661 LOG_V( "Starting current frame %d, timestamp %"G_GINT64_FORMAT"\n", mix_video_h264_counter++, ts);
666 LOG_V( "Calling parse for current frame, parse handle %d, buf %x, size %d\n", (int)parent->parser_handle, (guint)bufin[i]->data, bufin[i]->size);
673 LOG_V( "Called parse for current frame\n");
688 LOG_V( "Called query for current frame\
1016 mix_videofmt_h264_process_decode_picture(MixVideoFormat *mix, vbp_data_h264 *data, guint64 timestamp, gboolean discontinuity, int pic_index, MixVideoFrame *frame) argument
1412 MixVideoFrame *frame = NULL; local
[all...]
H A Dmixvideoformat_mp42.c431 /* If this is a new frame and we haven't retrieved parser
432 * workload data from previous frame yet, do so
457 * the new frame data, so do not return
473 "Calling parse for current frame, parse handle %d, buf %x, size %d\n",
535 LOG_V("Called process and decode for current frame\n");
543 * For our situtation, this not the case. The start code is always begin with the gstbuffer. At the end of frame,
552 "Enqueuing buffer and going on to next (if any) for this frame\n");
605 MixVideoFrame *frame = NULL; local
642 1. In one packed frame, there's only one P or I frame an
[all...]
H A Dmixvideoformat_vc1.c677 //If this is a new frame and we haven't retrieved parser
678 // workload data from previous frame yet, do so
694 LOG_V( "Queried for last frame data\n");
703 //We log this but need to process the new frame data, so do not return
707 LOG_V( "Called process and decode for last frame\n");
716 LOG_V( "Starting current frame %d, timestamp %"G_GINT64_FORMAT"\n", mix_video_vc1_counter++, ts);
721 LOG_V( "Calling parse for current frame, parse handle %d, buf %x, size %d\n", (int)parent->parser_handle, (guint)bufin[i]->data, bufin[i]->size);
728 LOG_V( "Called parse for current frame\n");
743 LOG_V( "Called query for current frame\n");
763 LOG_V( "Enqueue this input buffer for current frame\
834 GetImageFromSurface(MixVideoFormat *mix, MixVideoFrame * frame) argument
917 mix_videofmt_vc1_decode_a_picture( MixVideoFormat* mix, vbp_data_vc1 *data, int pic_index, MixVideoFrame *frame) argument
1305 MixVideoFrame *frame = NULL; local
[all...]
H A Dmixvideoformatenc_h264.c1470 MixVideoFrame * frame = mix_videoframe_new(); local
1474 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 1);
1477 (parent->surfacepool, &mix->ref_fame, frame);
1488 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 2);
1491 (parent->surfacepool, &mix->rec_fame, frame);
1519 "the CI frame idx is too bigger than CI frame number\n");
1524 ret = mix_videoframe_set_ci_frame_idx (frame, ci_idx);
1527 (parent->surfacepool, &mix->cur_fame, frame);
1916 LOG_V ("Last NALU in this frame\
[all...]
H A Dmixvideoformatenc_mpeg4.c1406 MixVideoFrame * frame = mix_videoframe_new(); local
1410 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 1);
1413 (parent->surfacepool, &mix->ref_fame, frame);
1424 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 2);
1427 (parent->surfacepool, &mix->rec_fame, frame);
1453 "the CI frame idx is too bigger than CI frame number\n");
1458 ret = mix_videoframe_set_ci_frame_idx (frame, ci_idx);
1461 (parent->surfacepool, &mix->cur_fame, frame);
H A Dmixvideoformatenc_preview.c1071 MixVideoFrame * frame = mix_videoframe_new(); local
1075 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 1);
1078 (parent->surfacepool, &mix->ref_fame, frame);
1089 ret = mix_videoframe_set_ci_frame_idx (frame, mix->surface_num - 2);
1092 (parent->surfacepool, &mix->rec_fame, frame);
1120 "the CI frame idx is too bigger than CI frame number\n");
1125 ret = mix_videoframe_set_ci_frame_idx (frame, ci_idx);
1128 (parent->surfacepool, &mix->cur_fame, frame);
/hardware/intel/img/psb_video/src/
H A Dvsp_vp8.c79 /* force this frame to be a keyframe */
81 /* don't reference the last frame */
83 /* don't reference the golden frame */
85 /* don't reference the alternate reference frame */
581 drv_debug_msg(VIDEO_DEBUG_GENERAL, "frame rate changed from %d to %d\n",
590 drv_debug_msg(VIDEO_DEBUG_GENERAL, "frame rate of layer %d will be changed from %d to %d\n",
662 drv_debug_msg(VIDEO_DEBUG_ERROR, "max frame size changed from %d to %d\n",
779 static inline void dump_vssporcPicture(struct VssProcPictureVP8 * frame) argument
781 drv_debug_msg(VIDEO_ENCODE_DEBUG, "surface_id 0x%08x\n", frame->surface_id);
782 drv_debug_msg(VIDEO_ENCODE_DEBUG, "irq %d\n", frame
[all...]
/hardware/interfaces/camera/device/1.0/default/
H A DCameraDevice.cpp881 uint32_t memId, uint32_t bufferIndex, const hidl_handle& frame) {
885 memId, bufferIndex, frame.getNativeHandle());
880 releaseRecordingFrameHandle( uint32_t memId, uint32_t bufferIndex, const hidl_handle& frame) argument
/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDeviceSession.cpp48 // bad frames. TODO: develop a better bad frame detection
649 ALOGE("%s: V4L2 deque frame failed!", __FUNCTION__);
1052 /* This will crop-and-zoom the input YUV frame to the thumbnail size
1736 // Convert input V4L2 frame to YU12 of the same size
1757 ALOGE("%s: Convert V4L2 frame to YU12 failed! res %d", __FUNCTION__, res);
1866 // Allocating intermediate YU12 frame
1873 ALOGE("%s: allocating YU12 frame failed!", __FUNCTION__);
1878 // Allocating intermediate YU12 thumbnail frame
1886 ALOGE("%s: allocating YU12 thumb frame failed!", __FUNCTION__);
1902 ALOGE("%s: allocating intermediate YU12 frame
2400 enqueueV4l2Frame(const sp<V4L2Frame>& frame) argument
[all...]
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
H A DComposerCommandBuffer.h348 void setLayerDisplayFrame(const IComposerClient::Rect& frame) { argument
351 writeRect(frame);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1448 output << fill << "Display frame: " << rectString(hwcLayer.displayFrame) <<
1986 Error HWC2On1Adapter::Layer::setDisplayFrame(hwc_rect_t frame) { argument
1987 mDisplayFrame = frame;
2101 output << fill << " Display frame [LTRB]: " <<
/hardware/libhardware/modules/camera/3_4/arc/
H A Dcached_frame.cpp25 int CachedFrame::SetSource(const FrameBuffer* frame, int rotate_degree) { argument
26 source_frame_ = frame;
124 LOGF(ERROR) << "yu12_frame_ is tall frame already: "
131 // Original frame Cropped frame Rotated frame
177 // This libyuv method first crops the frame and then rotates it 90 degrees
193 // Final frame
194 // Rotated frame ---------------------
/hardware/libhardware/modules/camera/3_4/
H A Drequest_tracker_test.cpp43 uint32_t frame, std::vector<camera3_stream_t*> streams) {
47 // Set the frame number and buffers.
48 request->frame_number = frame;
58 void AddRequest(uint32_t frame, argument
62 GenerateCaptureRequest(frame, streams);
65 EXPECT_FALSE(dut_->InFlight(frame));
69 EXPECT_TRUE(dut_->InFlight(frame));
80 uint32_t frame = 34; local
81 EXPECT_FALSE(dut_->InFlight(frame));
82 AddRequest(frame, {
42 GenerateCaptureRequest( uint32_t frame, std::vector<camera3_stream_t*> streams) argument
89 uint32_t frame = 42; local
146 uint32_t frame = 42; local
156 uint32_t frame = 42; local
174 uint32_t frame = 42; local
191 uint32_t frame = 42; local
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp146 mm_camera_super_buf_t* frame = local
148 if (frame == NULL) {
153 *frame = *recvd_frame;
187 // whether need FD Metadata along with Snapshot frame in ZSL mode
192 for (uint32_t i = 0; i < frame->num_bufs; i++) {
193 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id);
196 pMetaFrame = frame->bufs[i]; //find the metadata
233 for (uint32_t i = 0; i < frame->num_bufs; i++) {
234 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id);
237 pMetaFrame = frame
293 selectScene(QCameraChannel *pChannel, mm_camera_super_buf_t *frame) argument
405 mm_camera_super_buf_t* frame = local
657 mm_camera_super_buf_t* frame = local
712 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
821 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1172 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1253 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1335 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1427 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1489 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
1719 mm_camera_super_buf_t* frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); local
1852 mm_camera_super_buf_t* frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t)); local
2130 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
2679 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
2783 dumpMetadataToFile(QCameraStream *stream, mm_camera_buf_def_t *frame,char *type) argument
2894 dumpFrameToFile(QCameraStream *stream, mm_camera_buf_def_t *frame, uint32_t dump_type, const char *misc) argument
[all...]
H A DQCameraChannel.cpp452 * @recvd_frame : stream buf frame to be returned
483 * @recvd_frame : stream buf frame to be returned
908 * @frame_idx : frame index of focused frame
1003 * DESCRIPTION: return video frame from app
1006 * @opaque : ptr to video frame to be returned
1007 * @isMetaData : if frame is a metadata or real frame
1338 //we only Scale Snapshot frame
1469 * DESCRIPTION: request to do offline reprocess on the frame
1480 doReprocessOffline(mm_camera_buf_def_t *frame, mm_camera_buf_def_t *meta_buf, QCameraStream *pStream) argument
1594 doReprocessOffline(mm_camera_super_buf_t *frame, mm_camera_buf_def_t *meta_buf, QCameraParametersIntf &mParameter) argument
1704 doReprocess(mm_camera_super_buf_t *frame, QCameraParametersIntf &mParameter, QCameraStream *pMetaStream, uint8_t meta_buf_index) argument
[all...]
H A DQCameraPostProc.cpp608 LOGD("frame offset info: len:%d, w:%d, h:%d, stride:%d, scanline:%d",
702 // crop is the same if frame is the same
738 // copy params from src main frame
878 * @super_buf_frame_idx : super buffer frame index
931 * @frame : process frame received from mm-camera-interface
937 bool QCameraPostProcessor::validatePostProcess(mm_camera_super_buf_t *frame) argument
943 if (frame == NULL) {
947 pChannel = m_parent->getChannelByHandle(frame->ch_id);
978 * @src_frame : process frame receive
1059 processData(mm_camera_super_buf_t *frame) argument
1208 processRawData(mm_camera_super_buf_t *frame) argument
1415 processPPData(mm_camera_super_buf_t *frame) argument
2139 queryStreams(QCameraStream **main, QCameraStream **thumb, QCameraStream **reproc, mm_camera_buf_def_t **main_image, mm_camera_buf_def_t **thumb_image, mm_camera_super_buf_t *frame, mm_camera_super_buf_t *reproc_frame) argument
2240 syncStreamParams(mm_camera_super_buf_t *frame, mm_camera_super_buf_t *reproc_frame) argument
2877 mm_camera_buf_def_t *frame = NULL; local
4053 mm_camera_super_buf_t *frame = pData->frame; local
[all...]
H A DQCameraPostProc.h54 mm_camera_super_buf_t *src_frame;// source frame (need to be returned back to kernel
57 //frame for reproc if not NULL
58 metadata_buffer_t *metadata; // source frame metadata
64 bool halPPAllocatedBuf; // true if src frame buffer is allocated by HAL PP block
73 mm_camera_super_buf_t *src_frame; // source frame that needs post process
74 mm_camera_super_buf_t *src_reproc_frame;// source frame (need to be
82 mm_camera_super_buf_t *src_frame;// source frame
86 mm_camera_super_buf_t *src_reproc_frame;// source frame (need to be
93 mm_camera_super_buf_t *frame; // source frame member in struct:qcamera::__anon1933
118 mm_camera_super_buf_t * frame; // ptr to frame member in struct:qcamera::__anon1935
[all...]
H A DQCameraStream.cpp840 * DESCRIPTION: calculate frame offset based on format and padding information
1059 * @frame : stream frame received
1065 int32_t QCameraStream::processDataNotify(mm_camera_super_buf_t *frame) argument
1069 if (mDataQ.enqueue((void *)frame)) {
1075 bufDone(frame);
1077 free(frame);
1089 * @recvd_frame : stream frame received
1119 * @recvd_frame : stream frame received
1138 mm_camera_super_buf_t *frame local
1185 mm_camera_super_buf_t *frame = local
2736 mm_camera_super_buf_t *frame = (mm_camera_super_buf_t *)data; local
[all...]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3Channel.cpp354 * @recvd_frame : stream buf frame to be returned
498 * @frame : frame to be dumped
505 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, argument
535 counter, frame->frame_idx, dim.width, dim.height);
539 counter, frame->frame_idx, dim.width, dim.height);
543 counter, frame->frame_idx, dim.width, dim.height);
547 counter, frame->frame_idx, dim.width, dim.height);
551 counter, frame->frame_idx, dim.width, dim.height);
555 counter, frame
1249 registerBufferAndGetBufDef(buffer_handle_t *buffer, mm_camera_buf_def_t *frame) argument
1291 unregisterBuffer(mm_camera_buf_def_t *frame) argument
2398 dumpRawSnapshot(mm_camera_buf_def_t *frame) argument
2429 convertLegacyToRaw16(mm_camera_buf_def_t *frame) argument
2473 convertMipiToRaw16(mm_camera_buf_def_t *frame) argument
2605 dumpRawSnapshot(mm_camera_buf_def_t *frame) argument
2820 sendRawToHdrPlusService(mm_camera_buf_def_t *frame) argument
3181 mm_camera_super_buf_t *frame = local
4012 mm_camera_super_buf_t* frame = NULL; local
4238 getYuvBufferForRequest(mm_camera_buf_def_t *frame, uint32_t frameNumber) argument
4279 returnYuvBuffer(mm_camera_buf_def_t *frame) argument
4286 returnYuvBufferAndEncode(mm_camera_buf_def_t *frame, buffer_handle_t *outBuffer, uint32_t frameNumber, std::shared_ptr<metadata_buffer_t> metadata) argument
4542 mm_camera_super_buf_t* frame = NULL; local
4955 mm_camera_super_buf_t *frame = pp_buffer->input; local
5068 overrideFwkMetadata( qcamera_fwk_input_pp_data_t *frame) argument
5154 doReprocessOffline( qcamera_fwk_input_pp_data_t *frame, bool isPriorityFrame) argument
[all...]
H A DQCamera3PostProc.cpp326 * @frame : framework input buffer
335 qcamera_fwk_input_pp_data_t *frame,
341 if ((NULL == frame) || (NULL == jpeg_settings)) {
363 cam_format_t img_fmt = frame->reproc_config.stream_format;
376 frame->reproc_config.input_stream_plane_info.plane_info;
380 encode_parm.src_main_buf[0].buf_size = frame->input_buffer.frame_len;
381 encode_parm.src_main_buf[0].buf_vaddr = (uint8_t *) frame->input_buffer.buffer;
382 encode_parm.src_main_buf[0].fd = frame->input_buffer.fd;
557 * @frame : process input frame
333 getFWKJpegEncodeConfig( mm_jpeg_encode_params_t& encode_parm, qcamera_fwk_input_pp_data_t *frame, jpeg_settings_t *jpeg_settings) argument
608 needsReprocess(qcamera_fwk_input_pp_data_t *frame) argument
654 processData(qcamera_fwk_input_pp_data_t *frame) argument
760 processPPData(mm_camera_super_buf_t *frame) argument
[all...]
H A DQCamera3Stream.cpp560 * DESCRIPTION: Function to issue timeout on frame
563 * @bufIdx : buffer index of the frame to be timed out
588 * @frame : stream frame received
594 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) argument
598 if (mDataQ.enqueue((void *)frame)) {
602 bufDone(frame->bufs[0]->buf_idx);
603 free(frame);
617 * @recvd_frame : stream frame received
635 mm_camera_super_buf_t *frame local
700 mm_camera_super_buf_t *frame = local
1324 mm_camera_super_buf_t *frame = (mm_camera_super_buf_t *)data; local
1692 mm_camera_super_buf_t *frame; local
[all...]

Completed in 457 milliseconds

123