Searched defs:coded_size (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/media/base/
H A Dvideo_decoder_config.cc22 const gfx::Size& coded_size,
28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size,
59 const gfx::Size& coded_size,
75 UMA_HISTOGRAM_COUNTS_10000("Media.VideoCodedWidth", coded_size.width());
76 UmaHistogramAspectRatio("Media.VideoCodedAspectRatio", coded_size);
84 coded_size_ = coded_size;
103 (coded_size() == config.coded_size()) &&
117 << " coded size: [" << coded_size().width()
118 << "," << coded_size()
19 VideoDecoderConfig(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted) argument
56 Initialize(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted, bool record_stats) argument
142 gfx::Size VideoDecoderConfig::coded_size() const { function in class:media::VideoDecoderConfig
[all...]
H A Dtest_helpers.cc110 gfx::Size coded_size,
112 gfx::Rect visible_rect(coded_size.width(), coded_size.height());
113 gfx::Size natural_size = coded_size;
116 VideoFrame::YV12, coded_size, visible_rect, natural_size,
254 pickle.WriteInt(config.coded_size().width());
255 pickle.WriteInt(config.coded_size().height());
279 width == config.coded_size().width() &&
280 height == config.coded_size().height());
109 GetTestConfig(VideoCodec codec, gfx::Size coded_size, bool is_encrypted) argument
H A Dvideo_frame.h92 // |coded_size| is the width and height of the frame data in pixels.
93 // |visible_rect| is the visible portion of |coded_size|, after cropping (if
99 const gfx::Size& coded_size,
107 static bool IsValidConfig(Format format, const gfx::Size& coded_size,
117 // |coded_size| is the width and height of the frame data in pixels.
118 // |visible_rect| is the visible portion of |coded_size|, after cropping (if
128 const gfx::Size& coded_size,
142 // tightly in a buffer of logical dimensions |coded_size| with the appropriate
147 const gfx::Size& coded_size,
162 const gfx::Size& coded_size,
197 const gfx::Size& coded_size() const { return coded_size_; } function in class:media::VideoFrame
[all...]
H A Dvideo_frame.cc23 const gfx::Size& coded_size,
27 DCHECK(IsValidConfig(format, coded_size, visible_rect, natural_size));
29 format, coded_size, visible_rect, natural_size, timestamp));
76 const gfx::Size& coded_size,
80 !coded_size.IsEmpty() &&
81 coded_size.GetArea() <= limits::kMaxCanvas &&
82 coded_size.width() <= limits::kMaxDimension &&
83 coded_size.height() <= limits::kMaxDimension &&
86 visible_rect.right() <= coded_size.width() &&
87 visible_rect.bottom() <= coded_size
21 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
75 IsValidConfig(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size) argument
95 WrapNativeTexture( const scoped_refptr<MailboxHolder>& mailbox_holder, uint32 texture_target, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp, const ReadPixelsCB& read_pixels_cb, const base::Closure& no_longer_needed_cb) argument
121 WrapExternalSharedMemory( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, uint8* data, base::SharedMemoryHandle handle, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument
151 WrapExternalYuvData( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, int32 y_stride, int32 u_stride, int32 v_stride, uint8* y_data, uint8* u_data, uint8* v_data, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument
326 VideoFrame(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
[all...]
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc88 Initialize(video_frame->coded_size(), video_frame->visible_rect());
90 const int coded_width = video_frame->coded_size().width();
91 const int coded_height = video_frame->coded_size().height();
181 void X11VideoRenderer::Initialize(gfx::Size coded_size, argument
188 image_ = CreateImage(display_, coded_size.width(), coded_size.height());
H A Dgl_video_renderer.cc124 Initialize(video_frame->coded_size(), video_frame->visible_rect());
149 void GlVideoRenderer::Initialize(gfx::Size coded_size, gfx::Rect visible_rect) { argument
244 float x0 = static_cast<float>(visible_rect.x()) / coded_size.width();
245 float y0 = static_cast<float>(visible_rect.y()) / coded_size.height();
246 float x1 = static_cast<float>(visible_rect.right()) / coded_size.width();
247 float y1 = static_cast<float>(visible_rect.bottom()) / coded_size.height();
/external/chromium_org/cc/layers/
H A Dvideo_layer_impl.cc131 gfx::Size coded_size = frame_->coded_size(); local
135 static_cast<float>(visible_rect.width()) / coded_size.width();
137 static_cast<float>(visible_rect.height()) / coded_size.height();
/external/chromium_org/cc/resources/
H A Dvideo_resource_updater.cc89 gfx::Size coded_size,
95 return coded_size;
100 return gfx::ToFlooredSize(gfx::ScaleSize(coded_size, 0.5f, 0.5f));
102 return gfx::ToFlooredSize(gfx::ScaleSize(coded_size, 0.5f, 1.f));
117 return coded_size;
157 gfx::Size coded_frame_size = video_frame->coded_size();
87 SoftwarePlaneDimension( media::VideoFrame::Format input_frame_format, gfx::Size coded_size, GLenum output_resource_format, int plane_index) argument
/external/chromium_org/media/filters/
H A Dgpu_video_decoder.cc110 static bool IsCodedSizeSupported(const gfx::Size& coded_size) { argument
113 if (coded_size.width() <= 1920 && coded_size.height() <= 1088)
160 if (!IsCodedSizeSupported(config.coded_size())) {
/external/chromium_org/third_party/libwebp/webp/
H A Dencode.h178 int coded_size; // final size member in struct:WebPAuxStats
/external/webp/include/webp/
H A Dencode.h178 int coded_size; // final size member in struct:WebPAuxStats
/external/chromium_org/third_party/libwebp/enc/
H A Dvp8l.c755 size_t* const coded_size) {
778 *coded_size = CHUNK_HEADER_SIZE + riff_size;
1085 size_t coded_size; local
1144 err = WriteImage(picture, &bw, &coded_size);
1151 picture->stats->coded_size += (int)coded_size;
1152 picture->stats->lossless_size = (int)coded_size;
753 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument
/external/webp/src/enc/
H A Dvp8l.c755 size_t* const coded_size) {
778 *coded_size = CHUNK_HEADER_SIZE + riff_size;
1085 size_t coded_size; local
1144 err = WriteImage(picture, &bw, &coded_size);
1151 picture->stats->coded_size += (int)coded_size;
1152 picture->stats->lossless_size = (int)coded_size;
753 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument

Completed in 306 milliseconds