CRI Sofdec2  Last Updated: 2022-11-21 16:25 p
CriManaFrameInfo Struct Reference

Video frame information. More...

#include <cri_mana.h>

Data Fields

CriSint32 frame_no
 
CriSint32 frame_no_per_file
 
CriUint32 width
 
CriUint32 height
 
CriUint32 disp_width
 
CriUint32 disp_height
 
CriUint32 framerate
 
CriUint32 framerate_n
 
CriUint32 framerate_d
 
CriUint32 total_frames_per_file
 
CriUint64 time
 
CriUint64 time_per_file
 
CriUint64 tunit
 
CriUint32 cnt_concatenated_movie
 
CriSint32 num_images
 
CriManaImageBufferInfo image_info [4]
 
CriBool csc_flag
 
CriManaAlphaType alpha_type
 
CriManaReferFrameResult ref_result
 
void * details_ptr [CRIMANA_FRAME_DETAILS_NUM]
 
CriManaColorSpaceConversionType color_conv
 
CriUint32 cnt_skipped_frames
 
CriUint32 reserved [1]
 

Detailed Description

Video frame information.

Description:
Video frame information referenced by API that get frames. -1 is entered in frame_no when it fails to get the frame information.
See also
criManaPlayer_IsFrameOnTime, criManaPlayer_ReferFrame, criManaPlayer_DiscardFrame, criManaPlayer_CopyFrameToBufferARGB32, criManaPlayer_CopyFrameToBuffersYUV

Field Documentation

◆ frame_no

CriSint32 frame_no

Frame identification number (serial number starting from 0)

◆ frame_no_per_file

CriSint32 frame_no_per_file

Frame identification number (specific identification number for the movie file)

◆ width

CriUint32 width

Movie width [pixel] (multiple of 8)

◆ height

CriUint32 height

Movie height [pixel] (multiple of 8)

◆ disp_width

CriUint32 disp_width

Number of horizontal pixels (from the left side) in the image that you want to display

◆ disp_height

CriUint32 disp_height

Number of vertical pixels (from the top) of the image that you want to display

◆ framerate

CriUint32 framerate

Value 1000 times the frame rate

◆ framerate_n

CriUint32 framerate_n

Frame rate (numerator) in a rational number format framerate [x1000] = framerate_n / framerate_d

◆ framerate_d

CriUint32 framerate_d

Frame rate (denominator) in a rational number format framerate [x1000] = framerate_n / framerate_d

◆ total_frames_per_file

CriUint32 total_frames_per_file

Total number of frames per file

◆ time

CriUint64 time

Time. Displays seconds in time / tunit. Continually adds during loop playback and concatenated playback.

◆ time_per_file

CriUint64 time_per_file

[Unsupported] Playback time in file

◆ tunit

CriUint64 tunit

Time unit

◆ cnt_concatenated_movie

CriUint32 cnt_concatenated_movie

Number of movie concatenations

◆ num_images

CriSint32 num_images

Number of decoded frame buffer images

◆ image_info

CriManaImageBufferInfo image_info[4]

Image information (plain information) for Y, U, V, and A are stored as arrays when the frame is grabbed.

◆ csc_flag

CriBool csc_flag

Variable during testing. Do not access.

◆ alpha_type

CriManaAlphaType alpha_type

Alpha composition mode

◆ ref_result

Frame reference results

◆ details_ptr

void* details_ptr[CRIMANA_FRAME_DETAILS_NUM]

Pointer to detailed information (for specific applications)

◆ color_conv

Color conversion type

◆ cnt_skipped_frames

CriUint32 cnt_skipped_frames

Number of frames whose decoding was skipped internally

◆ reserved

CriUint32 reserved[1]

Reserved region


The documentation for this struct was generated from the following file: