Lines Matching refs:frame

266 AVCodecDecoder::SeekedTo(int64 frame, bigtime_t time)
283 fFrame = frame;
398 TRACE("[a] decoding first audio frame chunk failed\n");
457 "output frame size: %d, count: %" B_PRId32 ", rate: %.2f\n",
515 TRACE("[v] decoding first video frame failed\n");
555 // first frame which we just decoded (that updates fCodecContext inside ffmpeg).
558 // presentation timestamps for each individual frame.
560 // TODO The field_rate is twice the frame rate for interlaced streams, so we need to determine
561 // if we are decoding an interlaced stream, and wether ffmpeg delivers every half-frame or not
602 properties of the decoded audio frame being the first in the outBuffer.
632 /*! \brief Fills the outBuffer with an already decoded video frame.
638 frame to.
640 copied video frames (usually one video frame).
642 decoded video frame properties.
645 \returns B_OK Decoding a video frame succeeded.
669 /*! \brief Decodes next audio frame.
671 We decode at least one audio frame into fDecodedData. To achieve this goal,
675 The length of the decoded audio frame(s) is stored in
699 3. fHeader is populated with the audio frame properties of the first
700 audio frame in fDecodedData. Especially the start_time field of
701 fHeader relates to that first audio frame. Start times of
703 manually (using the frame rate and the frame duration) if the
707 the audio frame size and thus has different buffer requirements.
756 TRACE_AUDIO(" frame count: %d current: %" B_PRId64 "\n",
900 - fRawDecodedAudio->format: Format of first audio frame
901 - fRawDecodedAudio->pkt_dts: Start time of first audio frame
904 audio frame:
905 - channels: Channel count of first audio frame
906 - sample_rate: Frame rate of first audio frame
915 3. The audio frame rate is known so that we can calculate the time
945 debugger("fDecodedDataBufferSize not multiple of frame size!");
1052 \returns B_OK on successfully decoding one audio frame chunk.
1053 \returns B_LAST_BUFFER_ERROR No more audio frame chunks available. From
1095 /*! \brief Tries to decode at least one audio frame and store it in the
1111 When this function failed to decode at least one audio frame due to a
1116 Note: It is possible that there wasn't any audio frame decoded into
1164 properties of the most recently decoded audio frame.
1177 1. We actually got a new audio frame decoded by the audio decoder.
1178 2. fHeader wasn't updated for the new audio frame yet. You MUST call
1179 this method only once per decoded audio frame.
1180 3. fRawDecodedAudio's fields relate to the first audio frame contained
1182 - fRawDecodedAudio->pkt_dts: Start time of first audio frame
1184 the first audio frame:
1185 - channels: Channel count of first audio frame
1186 - sample_rate: Frame rate of first audio frame
1204 /*! \brief Decodes next video frame.
1206 We decode exactly one video frame into fDecodedData. To achieve this goal,
1210 The length of the decoded video frame is stored in
1212 assert that there is a valid video frame available in fDecodedData.
1214 The decoded video frame in fDecodedData has color space conversion and
1217 To every decoded video frame there is a media_header populated in
1218 fHeader, containing the corresponding video frame properties.
1220 Normally every decoded video frame has a start_time field populated in the
1221 associated fHeader, that determines the presentation time of the frame.
1224 frame (one complete frame) - not more and not less.
1226 We can decode data chunks that contain partial video frame data, too. In
1229 between an incomplete frame and the start time it should be presented.
1232 We can decode data chunks that contain more than one video frame, too. In
1235 video frames. So a meaningful relationship between the 2nd, 3rd, ... frame
1242 \returns B_OK when we successfully decoded one video frame
1282 TRACE("[v] AVCodecDecoder: ignoring error in decoding frame %" B_PRId64 ": %d\n",
1292 TRACE("[v] frame %" B_PRId64 " decoding error: error code: %d, chunk size: %ld\n",
1409 // decoded a/v frame. By doing so we are simply copying the way how it
1488 /*! \brief Executes all steps needed for a freshly decoded video frame.
1494 \returns B_OK when video frame was handled successfully
1515 /*! \brief Flushes one video frame - if any - still buffered by the decoder.
1524 \returns B_OK Retrieved one video frame, handled it accordingly and updated
1529 \returns B_LAST_BUFFER_ERROR No video frame left.
1540 // Get any remaining frame
1554 properties of the most recently decoded video frame.
1560 method only once per decoded video frame.
1564 4. There will be at maximumn only one decoded video frame in our cache
1566 cached decoded video frame the properties in fHeader relate to.
1567 5. AVCodecContext is still valid for this video frame (This is the case
1607 conversion to the video frame in fRawDecodedPicture.
1619 When this function finishes the postprocessed video frame will be available
1623 \returns B_OK video frame successfully deinterlaced and color converted.
1656 // Some decoders do not set pix_fmt until they have decoded 1 frame
1790 We decode exactly one video frame into dst.
1793 \returns B_OK video frame successfully deinterlaced.
1794 \returns B_BAD_DATA No frame could be output.