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

/external/chromium_org/content/common/gpu/media/
H A Dv4l2_video_device.cc82 gfx::Size coded_size; local
112 return coded_size;
120 coded_size.SetSize(bytesperline * 8 / horiz_bpp, sizeimage / bytesperline);
124 DCHECK(gfx::Rect(coded_size).Contains(gfx::Rect(visible_size)));
130 media::VideoFrame::PlaneAllocationSize(frame_format, i, coded_size));
132 base::checked_cast<__u32>(coded_size.width()));
136 return coded_size;
/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);
86 coded_size_ = coded_size;
105 (coded_size() == config.coded_size()) &&
119 << " coded size: [" << coded_size().width()
120 << "," << 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
144 gfx::Size VideoDecoderConfig::coded_size() const { function in class:media::VideoDecoderConfig
[all...]
H A Dvideo_frame_pool.cc24 const gfx::Size& coded_size,
60 const gfx::Size& coded_size,
74 pool_frame->coded_size() == coded_size &&
85 format, coded_size, visible_rect, natural_size, timestamp);
117 const gfx::Size& coded_size,
121 return pool_->CreateFrame(format, coded_size, visible_rect, natural_size,
58 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
115 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
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,
216 pickle.WriteInt(config.coded_size().width());
217 pickle.WriteInt(config.coded_size().height());
241 width == config.coded_size().width() &&
242 height == config.coded_size().height());
109 GetTestConfig(VideoCodec codec, gfx::Size coded_size, bool is_encrypted) argument
H A Dvideo_frame.h71 const gfx::Size& coded_size,
79 static bool IsValidConfig(Format format, const gfx::Size& coded_size,
100 const gfx::Size& coded_size,
113 // buffer of logical dimensions |coded_size| with the appropriate bit depth
119 const gfx::Size& coded_size,
141 const gfx::Size& coded_size,
156 const gfx::Size& coded_size,
199 static size_t AllocationSize(Format format, const gfx::Size& coded_size);
204 const gfx::Size& coded_size);
210 const gfx::Size& coded_size);
217 const gfx::Size& coded_size() const { return coded_size_; } function in class:media::VideoFrame
[all...]
H A Dvideo_frame.cc30 const gfx::Size& coded_size,
35 // ourselves), we can pad the requested |coded_size| if necessary if the
37 gfx::Size new_coded_size(coded_size);
104 const gfx::Size& coded_size,
108 if (coded_size.GetArea() > limits::kMaxCanvas ||
109 coded_size.width() > limits::kMaxDimension ||
110 coded_size.height() > limits::kMaxDimension ||
112 visible_rect.right() > coded_size.width() ||
113 visible_rect.bottom() > coded_size.height() ||
122 return (coded_size
28 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
103 IsValidConfig(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size) argument
156 WrapNativeTexture( scoped_ptr<gpu::MailboxHolder> mailbox_holder, const ReleaseMailboxCB& mailbox_holder_release_cb, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp, const ReadPixelsCB& read_pixels_cb) argument
184 WrapExternalPackedMemory( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, uint8* data, size_t data_size, base::SharedMemoryHandle handle, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument
227 WrapExternalDmabufs( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const std::vector<int> dmabuf_fds, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument
273 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
417 AllocationSize(Format format, const gfx::Size& coded_size) argument
425 PlaneSize(Format format, size_t plane, const gfx::Size& coded_size) argument
502 PlaneAllocationSize(Format format, size_t plane, const gfx::Size& coded_size) argument
630 VideoFrame(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, scoped_ptr<gpu::MailboxHolder> mailbox_holder, base::TimeDelta timestamp, bool end_of_stream) argument
[all...]
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc89 Initialize(video_frame->coded_size(), video_frame->visible_rect());
91 const int coded_width = video_frame->coded_size().width();
92 const int coded_height = video_frame->coded_size().height();
184 void X11VideoRenderer::Initialize(gfx::Size coded_size, argument
191 image_ = CreateImage(display_, coded_size.width(), coded_size.height());
H A Dgl_video_renderer.cc117 Initialize(video_frame->coded_size(), video_frame->visible_rect());
143 void GlVideoRenderer::Initialize(gfx::Size coded_size, gfx::Rect visible_rect) { argument
238 float x0 = static_cast<float>(visible_rect.x()) / coded_size.width();
239 float y0 = static_cast<float>(visible_rect.y()) / coded_size.height();
240 float x1 = static_cast<float>(visible_rect.right()) / coded_size.width();
241 float y1 = static_cast<float>(visible_rect.bottom()) / coded_size.height();
/external/chromium_org/cc/layers/
H A Dvideo_layer_impl.cc140 gfx::Size coded_size = frame_->coded_size(); local
149 static_cast<float>(visible_rect.width()) / coded_size.width();
151 static_cast<float>(visible_rect.height()) / coded_size.height();
153 static_cast<float>(visible_rect.x()) / coded_size.width();
155 static_cast<float>(visible_rect.y()) / coded_size.height();
/external/chromium_org/media/filters/
H A Dgpu_video_decoder.cc110 static bool IsCodedSizeSupported(const gfx::Size& coded_size) { argument
115 if (coded_size.width() < 48 || coded_size.height() < 48)
121 if (coded_size.width() <= 1920 && coded_size.height() <= 1088)
175 if (!IsCodedSizeSupported(config.coded_size())) {
/external/chromium_org/third_party/libwebp/webp/
H A Dencode.h189 int coded_size; // final size member in struct:WebPAuxStats
/external/webp/include/webp/
H A Dencode.h189 int coded_size; // final size member in struct:WebPAuxStats
/external/chromium_org/third_party/libwebp/enc/
H A Dvp8l.c815 size_t* const coded_size) {
838 *coded_size = CHUNK_HEADER_SIZE + riff_size;
1153 size_t coded_size; local
1217 err = WriteImage(picture, &bw, &coded_size);
1224 picture->stats->coded_size += (int)coded_size;
1225 picture->stats->lossless_size = (int)coded_size;
813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument
/external/webp/src/enc/
H A Dvp8l.c815 size_t* const coded_size) {
838 *coded_size = CHUNK_HEADER_SIZE + riff_size;
1153 size_t coded_size; local
1217 err = WriteImage(picture, &bw, &coded_size);
1224 picture->stats->coded_size += (int)coded_size;
1225 picture->stats->lossless_size = (int)coded_size;
813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument

Completed in 378 milliseconds