Home | History | Annotate | Download | only in codec

Lines Matching defs:SkBmpCodec

8 #include "SkBmpCodec.h"
59 bool SkBmpCodec::IsBmp(const void* buffer, size_t bytesRead) {
70 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream) {
71 return SkBmpCodec::NewFromStream(stream, false);
78 SkCodec* SkBmpCodec::NewFromIco(SkStream* stream) {
79 return SkBmpCodec::NewFromStream(stream, true);
83 * Read enough of the stream to initialize the SkBmpCodec. Returns a bool
85 * not nullptr, it will be set to a new SkBmpCodec.
88 bool SkBmpCodec::ReadHeader(SkStream* stream, bool inIco, SkCodec** codecOut) {
537 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream, bool inIco) {
550 SkBmpCodec::SkBmpCodec(const SkImageInfo& info, SkStream* stream,
558 bool SkBmpCodec::onRewind() {
559 return SkBmpCodec::ReadHeader(this->stream(), this->inIco(), nullptr);
562 int32_t SkBmpCodec::getDstRow(int32_t y, int32_t height) const {
570 SkCodec::Result SkBmpCodec::onStartScanlineDecode(const SkImageInfo& dstInfo,
580 int SkBmpCodec::onGetScanlines(void* dst, int count, size_t rowBytes) {
588 bool SkBmpCodec::skipRows(int count) {
593 bool SkBmpCodec::onSkipScanlines(int count) {