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

/external/chromium_org/content/common/gpu/media/
H A Dv4l2_video_device.cc82 gfx::Size coded_size; local
117 return coded_size;
125 coded_size.SetSize(bytesperline * 8 / horiz_bpp, sizeimage / bytesperline);
126 DVLOG(3) << "coded_size=" << coded_size.ToString();
130 DCHECK(gfx::Rect(coded_size).Contains(gfx::Rect(visible_size)));
136 i, frame_format, coded_size.width())));
140 return coded_size;
H A Dvt_video_decode_accelerator.cc338 void VTVideoDecodeAccelerator::SizeChangedTask(gfx::Size coded_size) { argument
340 texture_size_ = coded_size;
H A Dvideo_encode_accelerator_unittest.cc110 gfx::Size coded_size; member in struct:content::__anon7620::TestStream
167 static void CreateAlignedInputStreamFile(const gfx::Size& coded_size, argument
170 if (test_stream->coded_size == coded_size &&
175 // sure they requested the same coded_size
177 coded_size == test_stream->coded_size);
178 test_stream->coded_size = coded_size;
189 // At the same time we also need to take into account coded_size requeste
[all...]
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dvideo_decoder_config_marshaller.cc62 SizeMarshaller::Write(config.coded_size(), msg);
77 gfx::Size coded_size; local
87 coded_size = SizeMarshaller::Read(msg);
107 coded_size, visible_rect, natural_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.h76 const gfx::Size& coded_size,
84 static bool IsValidConfig(Format format, const gfx::Size& coded_size,
105 const gfx::Size& coded_size,
120 // buffer of logical dimensions |coded_size| with the appropriate bit depth
127 const gfx::Size& coded_size,
150 const gfx::Size& coded_size,
179 const gfx::Size& coded_size,
227 static size_t AllocationSize(Format format, const gfx::Size& coded_size);
232 const gfx::Size& coded_size);
238 const gfx::Size& coded_size);
253 const gfx::Size& coded_size() const { return coded_size_; } function in class:media::VideoFrame
[all...]
H A Dvideo_frame.cc30 // Rounds up |coded_size| if necessary for |format|.
32 const gfx::Size& coded_size) {
33 gfx::Size new_coded_size(coded_size);
53 const gfx::Size& coded_size,
65 // ourselves), we can pad the requested |coded_size| if necessary if the
67 gfx::Size new_coded_size = AdjustCodedSize(format, coded_size);
114 const gfx::Size& coded_size,
118 if (coded_size.GetArea() > limits::kMaxCanvas ||
119 coded_size.width() > limits::kMaxDimension ||
120 coded_size
31 AdjustCodedSize(VideoFrame::Format format, const gfx::Size& coded_size) argument
51 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
113 IsValidConfig(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size) argument
166 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
196 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
241 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
332 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
489 AllocationSize(Format format, const gfx::Size& coded_size) argument
497 PlaneSize(Format format, size_t plane, const gfx::Size& coded_size) argument
574 PlaneAllocationSize(Format format, size_t plane, const gfx::Size& coded_size) argument
705 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.cc177 gfx::Size coded_size = frame_->coded_size(); local
187 static_cast<float>(visible_rect.width()) / coded_size.width();
189 static_cast<float>(visible_rect.height()) / coded_size.height();
191 static_cast<float>(visible_rect.x()) / coded_size.width();
193 static_cast<float>(visible_rect.y()) / coded_size.height();
/external/chromium_org/content/renderer/pepper/
H A Dvideo_decoder_shim.cc52 const gfx::Size& coded_size,
57 const gfx::Size coded_size; member in struct:content::VideoDecoderShim::PendingFrame
71 const gfx::Size& coded_size,
74 coded_size(coded_size),
76 argb_pixels(coded_size.width() * coded_size.height() * 4) {
268 decode_id_, frame->coded_size(), frame->visible_rect()));
277 frame->coded_size().width() * 4,
278 frame->coded_size()
70 PendingFrame(uint32_t decode_id, const gfx::Size& coded_size, const gfx::Rect& visible_rect) argument
[all...]
/external/chromium_org/media/filters/
H A Dgpu_video_decoder.cc98 static bool IsCodedSizeSupported(const gfx::Size& coded_size) { argument
103 if (coded_size.width() < 48 || coded_size.height() < 48)
109 if (coded_size.width() <= 1920 && coded_size.height() <= 1088)
167 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 277 milliseconds