Source Activity

Syndicate content
Updated: 20 min 7 sec ago

FFMPEG plugin: Refactor video decoding function.

Tue, 2014-07-15 13:49
FFMPEG plugin: Refactor video decoding function.

- We factor out the code that does the decoding, deinterlacing and color space
  converting into its own function. This prepares auto detection of video frame
  properties in a later commit. Auto detection means (for example), that you
  don't need to know the size of the decoded video frame -before- intitializing
  the video codec as it is the case with the current implementation.

- Use the already existent private member variable fHeader to fill out and
  return video frame properties.

- Rename some variables to be more self describing.

- No functional change intended.

Signed-off-by: Colin Günther 
(cherry picked from commit 6beab04f48e98022041895750f38c5a35a5f4f9e)
Categories: Development

FFMPEG plugin: Add links to useful FFMPEG-API documentation.

Tue, 2014-07-15 13:49
FFMPEG plugin: Add links to useful FFMPEG-API documentation.

- As it is rather hard to find useful documentation, on how to use FFMPEG's API
  we cut of some research time by just documenting it at the place where it is
  most visible to other FFMPEG plugin developers :)

Signed-off-by: Colin Günther 
(cherry picked from commit b0ed15d2196ca45de8ab2d5913d760602aacc5f3)
Categories: Development

FFMPEG plugin: Use member variables instead of local ones.

Tue, 2014-07-15 13:49
FFMPEG plugin: Use member variables instead of local ones.

- This small refactoring is in preparation for implementing decoding of partial
  video frame data, where one needs to preserve encoded data between multiple
  calls to  AVCodecDecoder::_DecodeVideo().

- Note: The names fChunkBuffer and fChunkBufferSize are open for discussion.
  I'd rather prefer fEncodedDataChunkBuffer and fEncodedDataChunkBufferSize.
  But I'd like to take small refactoring steps, and changing the naming would
  also touch the AVCodecDecoder::_DecodeAudio() function. I'd rather focus
  on improving the video part for now, leaving the audio part alone.

- No functional change intended.

Signed-off-by: Colin Günther 
(cherry picked from commit f2da1e752458b926aebe50642bf6af19e9903f17)
Categories: Development

Ticket #3385: inconsistencies when single window + disks icon

Tue, 2014-07-15 01:16
Ticket #3385: inconsistencies when single window + disks icon

When using the Show Disks icon option, single window navigaton mode,
and starting navigation by the Disks icon, these bugs would occurs
upon entering child poses :

*) The draggable icon at the top right wouldn't appear
*) The file menu wouldn't update properly (for example, the New folder
menu item won't show)

Based in part on dru_ed's patch.
Categories: Development

Add newline to end of BShape docs

Mon, 2014-07-14 23:16
Add newline to end of BShape docs
Categories: Development

BShape: Rename these params back in header.

Mon, 2014-07-14 23:15
BShape: Rename these params back in header.

Accidentally renamed these in the header, rename them back to
match the cpp file. These param names might not be very good but
they match the struct variable names. They are private methods
anyway. No functional change intended in either commit.
Categories: Development

Document BShape and BShapeIterator

Mon, 2014-07-14 23:03
Document BShape and BShapeIterator
Categories: Development

BShape: Style fixes for docs

Mon, 2014-07-14 23:02
BShape: Style fixes for docs
Categories: Development

Add a few missing \fn's to BFont docs

Mon, 2014-07-14 23:02
Add a few missing \fn's to BFont docs
Categories: Development

clean up files unrelated to the FreeBSD 9.3 driver update.

Mon, 2014-07-14 16:21
clean up files unrelated to the FreeBSD 9.3 driver update.
Categories: Development

package: Add checksum command

Sun, 2014-07-13 22:46
package: Add checksum command
Categories: Development

package recompress: Small cleanup

Sun, 2014-07-13 22:45
package recompress: Small cleanup
Categories: Development

BPackageWriter::Recompress(): Change param to BPositionIO*

Sun, 2014-07-13 15:57
BPackageWriter::Recompress(): Change param to BPositionIO*

Besides that this is a nicer interface, it allows us to get a the HPKG
header as a side effect of initializing the reader, thus preventing
seeking backward in the file. This makes "package recompress - "
work.
Categories: Development

PackageReaderImpl: Delay reading sections until ParseContent()

Sun, 2014-07-13 15:57
PackageReaderImpl: Delay reading sections until ParseContent()
Categories: Development

package recompress: Add stdin/stdout support

Sun, 2014-07-13 15:57
package recompress: Add stdin/stdout support

stdin doesn't work quite yet. We'll need to convince the BPackageReader
to skip parsing the TOC and package attributes sections.
Categories: Development

ReaderImplBase::Init(): Make file size check optional

Sun, 2014-07-13 15:57
ReaderImplBase::Init(): Make file size check optional

If the file doesn't support GetSize(), skip the header total size file
size check.
Categories: Development

Add private BDataPositionIOWrapper

Sun, 2014-07-13 15:57
Add private BDataPositionIOWrapper

Implements the BPositionIO interface on top of a BDataIO, requiring the
{Read,Write}At() accesses to be sequential.
Categories: Development

BPackageWriter: Add BPositionIO support

Sun, 2014-07-13 15:57
BPackageWriter: Add BPositionIO support
Categories: Development

Move libroot synchronization functions to private namespace

Sun, 2014-07-13 14:19
Move libroot synchronization functions to private namespace

* Prefix lock functions with __ to mark them as private. Add
  forwarding macros to keep existing code working.

* Avoids symbol name clashes with kernel lock APIs, occuring when
  using kernellandemu-lib in userlandfs. Thanks to Ingo for the
  suggestion.
Categories: Development

Fix building Haiku from Haiku

Sun, 2014-07-13 13:35
Fix building Haiku from Haiku

* Always include cdefs.h to have __[BEGIN|END]_DECLS defined.
  Somehow, this did